YoHoJo
2011-12-01 21:34:22
About Mousekeys:
http://runescape.wikia.com/wiki/Mouse_keys
TL;DR
Script that simulates what mousekys does.
Super fast dropping, so much better xp/hr.
Yes it's allowed and legit.
Video:
http://www.youtube.com/watch?v=i1PQlmBYOQo
Basically all OS's have a built in or downloadable function to make certain keyboard keys control the mouse. In windows it's called mousekeys. Basically you set it up and pressing 2 moves the mouse down a few pixels, and you pres 5 and it right clicks. Many legit players use this to drop entire inventories of items in a few seconds making drop time very fast so you get better xp/hr when powering a skill.
Before you ask if it's okay to use etc etc read this part of the link:
http://runescape.wikia.com/wiki/Mouse_keys#Legality
YES, it is 100% okay and acceptable and used by many players!
Back when reflections bots were around I noticed that certain scripts had the option to use mousekey drop (except they didn't ACTUALLY use mousekeys, they just used their own mouse/click procedures to look like/simulate/be as fast as actual mousekeys) which greatly helped with speed and xp/hr.
So I made my own ghetto version of this. I'm sure many of you more pro coders and 'optimize' my code better and things like that, but basically it works and gets the job done. The below code basically does exactly what mouse-keys does and is just ghetto quickly sample code. It works for dropping ores only right now, but you can replace the DTM with whatever you want.
Here is a video of the script in action:
http://www.youtube.com/watch?v=i1PQlmBYOQo
So enjoy, feel free to use and tweak the code to work in your scripts and enjoy you better xp rates! Pretty sure I've done a good job making it function just like mousekeys (I mouselogged myself to see exactly what mousekeys did and just turned that into pascal code to do the same thing) so it shouldn't get you banned or anything.
Note: Mousekeys nor the script can handle the bottom 4 slots because the chooseoption menu pops up in a different spot because the bottom boundary of the client. Those four slots can be dropped with whatever method you choose.
Ummm… Yeah!
http://runescape.wikia.com/wiki/Mouse_keys
TL;DR
Script that simulates what mousekys does.
Super fast dropping, so much better xp/hr.
Yes it's allowed and legit.
Video:
http://www.youtube.com/watch?v=i1PQlmBYOQo
Basically all OS's have a built in or downloadable function to make certain keyboard keys control the mouse. In windows it's called mousekeys. Basically you set it up and pressing 2 moves the mouse down a few pixels, and you pres 5 and it right clicks. Many legit players use this to drop entire inventories of items in a few seconds making drop time very fast so you get better xp/hr when powering a skill.
Before you ask if it's okay to use etc etc read this part of the link:
http://runescape.wikia.com/wiki/Mouse_keys#Legality
YES, it is 100% okay and acceptable and used by many players!
Back when reflections bots were around I noticed that certain scripts had the option to use mousekey drop (except they didn't ACTUALLY use mousekeys, they just used their own mouse/click procedures to look like/simulate/be as fast as actual mousekeys) which greatly helped with speed and xp/hr.
So I made my own ghetto version of this. I'm sure many of you more pro coders and 'optimize' my code better and things like that, but basically it works and gets the job done. The below code basically does exactly what mouse-keys does and is just ghetto quickly sample code. It works for dropping ores only right now, but you can replace the DTM with whatever you want.
Program MouseKeySimulator;
//{$DEFINE SMART}
{$i SRL\SRL.scar}
var
RockPattern: TIntegerArray;
Procedure StatsGuise(wat:String);
Begin
Status(wat);
Disguise(wat);
End;
Function InvMMouse(InvSlot:Integer) : boolean;
Var
TB: TBox;
CurrPT : TPoint;
Begin
result := false;
GameTab(tab_inv);
Result := true;
Writeln('InvMousing:' + IntToStr(InvSlot));
TB := InvBox(InvSlot);
GetMousePos(CurrPT.x,CurrPT.y);
If PointInBox(CurrPT,TB) Then
MouseBox(Max(CurrPT.x-random(2),TB.x1),Max(CurrPT.y-random(2),TB.y1),
Min(CurrPT.x+random(2),TB.x2),Min(CurrPT.y+random(2),TB.y2),3) //LOL Pro-human much!
Else
MouseBoxEx(TB.X1, TB.Y1, TB.X2, TB.Y2,14, 3);
End;
Procedure MouseKeyDrop;
var
I, X, Y, OreMid: Integer;
SlotBox:TBox;
Begin
RockPattern:=[1,5,9,13,17,21,2,6,10,14,18,22,3,7,11,15,19,23,4,8,12,16,20,24];
OreMid := DTMFromString('78DA63CC626260E0606440054C601226CA584' +
'C849A3C209F8F809A6C209F19BF1A00AD2101F4');
For I:=0 to 23 Do
Begin
StatsGuise('Dropping Ores: ' + IntToStr(I));
SlotBox:=InvBox(RockPattern[I]);
If FindDTm(OreMid, X, Y, SlotBox.X1, SlotBox.Y1, SlotBox.X2, SlotBox.Y2) Then
Begin
Writeln('dtm found');
Writeln('I is:' + IntToStr(I));
If InIntArray([0,6,12,18], I) Then
Begin
Writeln('TopBox');
//InvMMouse(RockPattern[I]);
MMouse(X, Y, 5, 3);
End;
GetMousePos(X, Y);
Mouse(X, Y, 0, 0, False);
WaitOptionMultiEx(['Us'], 'item', Nothing, 5000);
MoveMouse(X, Y+40);
GetMousePos(X, Y);
ClickMouse(X, Y, mouse_Left);
Wait(50+Random(20));
End;
End;
End;
Begin
SetUpSRL;
MouseKeyDrop;
end. Here is a video of the script in action:
http://www.youtube.com/watch?v=i1PQlmBYOQo
So enjoy, feel free to use and tweak the code to work in your scripts and enjoy you better xp rates! Pretty sure I've done a good job making it function just like mousekeys (I mouselogged myself to see exactly what mousekeys did and just turned that into pascal code to do the same thing) so it shouldn't get you banned or anything.
Note: Mousekeys nor the script can handle the bottom 4 slots because the chooseoption menu pops up in a different spot because the bottom boundary of the client. Those four slots can be dropped with whatever method you choose.
Ummm… Yeah!