SRL Archive - Non-RuneScape Scripts

Help With First Script!


Noohy

2012-04-19 19:28:47

Hey! I was making a very simple stall theiver for RovaScape, it would click on the stall, and then drop the first item, and then keep going. It would go for a solid 20 minutes but after a while for some reason the coordinates shift, or something weird happens and it doesn't click in the same spot anymore. How would i go about fixing such a problem? :\

This is my main block of code:


MoveMouse(189, 193);
ClickMouse(189, 193, 0);
MoveMouse(189, 193);
ClickMouse(189, 193, 1);
Wait(1750);
MoveMouse(581, 227);
Wait(1500);
ClickMouse(581, 227, 0);
Wait(1250);
MoveMouse(574, 270);
ClickMouse(574, 270, 1);
MoveMouse(x, y);
Wait(1000);

Paradoxium

2012-04-19 19:43:45

ohh dont just use coor -_-, if you use coor, anything can happen…

try this- use ACA and find your stall color, use a check uptext so that it will only click on the stall, and then use a mousebox to right click and then chooseoption…(maybe chooseoption and check uptext will not work because you are using a private server but the rest should..i would give it a try anyways :D)

good luck!

Olly

2012-04-19 20:27:32

I use dtms for all my private server bots never fails if you create a good dtm.

Noohy

2012-04-19 21:45:45

ahh! it's all a foreign language to me right now hah, but thank you! i will try to look up ways to do those! Thank you!

NKN

2012-04-19 22:19:48

PM'd you.

Saltyspoons

2012-04-20 12:48:31

It is because the Runescape (Private servers too) screen shifts slightly every minute or so. After a while, those coordinates are going to be clicking slightly next to the stall, because it has shifted so much. That is why we have to use colors and texts to find objects, rather than just coordinates on the screen.

bas

2012-04-22 17:07:54

Use something to find the color and then click it

procedure Steal;
begin
If FindColor(x, y, 5984055, LEFT TO RIGHT screen) then
begin

MoveMouse(x,y+random(3));
wait(randomrange(150,200));
ClickMouse(x,y,mouse_Left);

Wait(5000);
end;
end;