Log in

View Full Version : Hi, how do i use the rs_uptext?



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.

EtherFreak
06-10-2012, 06:57 PM
Might I ask that you look at some of the tutorials. They can be found here: http://villavu.com/forum/forumdisplay.php?f=191

Should you have further questions, I will be happy to help if I can

rj
06-10-2012, 08:40 PM
I have looked at them and they did not seem to work.

Rich
06-10-2012, 09:06 PM
I have looked at them and they did not seem to work.What do you mean? Not meaning to sound harsh, but if you'd read them a bit more carefully you'd have seen that MoveMove/ClickMouse are not to be used with RS. Perhaps start in the beginners section?

Noob King
06-11-2012, 03:22 PM
Start here. There are tons of tutorials that teach you what UpText is and how to use it.
http://villavu.com/forum/forumdisplay.php?f=95

I suggest actually taking time to read the tutorials and understand them, as UpText is one of the simpler things. Also for trading an npc, Finding the UpText "Trade" won't work, as UpText finds the first option that appears when you hover the mouse on an npc or object. WaitOption is what you would use for trading. Instead of telling you what you are asking for, I suggest you go read some tutorials and learn about it, not just be told it. One more thing, you don't want to use clickmouse for runescape.

I suggest you start here:
http://villavu.com/forum/showthread.php?t=44942

And then work your way through more of the tutorials in that section.

rj
06-11-2012, 09:59 PM
i cant use the smart.. because im doing this on a private server. therfor none of the tuts point me in the right direction.

and also *facepalm* how could not miss miss were i said "starting on a private server" obv im not going to use a bot that has a mouse that jumps around.

putonajonny
06-11-2012, 10:06 PM
movemouse(x, y+40);
wait(200);
ClickMouse(x, y, Mouse_left);should be: movemouse(x, y+40);
wait(200);
ClickMouse(x, y + 40, Mouse_left);
right?

rj
06-11-2012, 10:09 PM
nvm, why did you change?