rj
06-10-2012, 06:23 PM
Hi, I plan on making a mining bot on rs using simba but I am starting a bot on a private server first so i can get a feel for it.
I have a few queston that should be simple:
1) how do i create a hotkey to stop the script? the one built into the program doesent seem to work.
2) how do i make the mouse move normal instead of jumping around?
3) I am trying to use the "rs_getuptext" so i can get the bot to right click an npc then hit trade instead of doing mouse y-40 becuase that will mess up easy (someone might be standing on the npc)
here the script if you can help me out thanks.
var
X,Y: Integer;
procedure craft;
begin
//trade bob
FindColoredAreaTolerance(X,Y,2898528,770,151,830,2 12,12,15)
Wait(50 + Random(90));
rs_GetUpText('trade');
movemouse(x, y);
Wait(20 + Random(50));
Wait(90 + Random(80));
ClickMouse(x, y, Mouse_right);
wait(600)
movemouse(x, y+40);
wait(200);
ClickMouse(x, y, Mouse_left);
wait(200)
end;
begin
repeat
craft;
until False;
end.
I have a few queston that should be simple:
1) how do i create a hotkey to stop the script? the one built into the program doesent seem to work.
2) how do i make the mouse move normal instead of jumping around?
3) I am trying to use the "rs_getuptext" so i can get the bot to right click an npc then hit trade instead of doing mouse y-40 becuase that will mess up easy (someone might be standing on the npc)
here the script if you can help me out thanks.
var
X,Y: Integer;
procedure craft;
begin
//trade bob
FindColoredAreaTolerance(X,Y,2898528,770,151,830,2 12,12,15)
Wait(50 + Random(90));
rs_GetUpText('trade');
movemouse(x, y);
Wait(20 + Random(50));
Wait(90 + Random(80));
ClickMouse(x, y, Mouse_right);
wait(600)
movemouse(x, y+40);
wait(200);
ClickMouse(x, y, Mouse_left);
wait(200)
end;
begin
repeat
craft;
until False;
end.