SRL Archive - General Botting Help

Questions about SPS and loops


cosmasjdz

2014-11-22 09:01:34

I need to know if there is any way to do something else while running sps.walkpath, i mean antiban or other stuff like looking for colors so you seem more human?

Another guestion is is there any way in lape to teel your script to jump to the certain line of the code? I mean for example i am in the 7th inner loop of the script and i need to jump to 2nd?

riwu

2014-11-22 09:09:30

Yeah u can do SRL_Events[EVENT_ANTIBAN]:=@YourOwnAntiBanProcedure;
then it will be called in TRSMinimap.waitPlayerMoving()

idk what u mean by 7th inner loop but u can either jump using label (goto keyword), which some consider a bad practice, or structure ur loops properly and use break(), continue() etc.

cosmasjdz

2014-11-22 10:43:56

SRL_Events[EVENT_ANTIBAN]:=@Antiban();
sps.setup('edge',runescape_other);
sps.walkpath([x,x,x,x,x,x,]);
minimap.waitplayermoving();

script doesnt start :(

riwu

2014-11-22 10:58:12

From: cosmasjdz
SRL_Events[EVENT_ANTIBAN]:=@Antiban();
sps.setup('edge',runescape_other);
sps.walkpath([x,x,x,x,x,x,]);
minimap.waitplayermoving();

script doesnt start :(

Remove the parenthesis.
SRL_Events[EVENT_ANTIBAN]:=@Antiban;
u dont have to call minimap.waitplayermoving(), it's called in walkPath().

cosmasjdz

2014-11-22 11:45:24

thanks now its working :)