SRL Archive - RS3 Help

I need help making a fail safe for this


Googlez

2015-03-21 04:44:55

I need help making a fail safe for this.

[ATTACH=CONFIG]25374[/ATTACH]

cosmasjdz

2015-03-21 05:13:35

From: Googlez
I need help making a fail safe for this.

[ATTACH=CONFIG]25374[/ATTACH]



If the action is in a loop then:


for i:=15 to 28 do // your loop, as i quess from index i you use in tpa
begin
if length(atpa)<(i-1) then exit;//failsafe if your tpa doesnt exist doesnt try to acces it
mouse(middletpa)
end;

Your script crashes because atpa does not exist at some point of your script and cant access it