SRL Archive - FAQ

Scripts stop working after few minutes


Im New Sry

2013-03-15 08:16:51

Hello guys. So I told my friend how I am training with bots and he asked me if he could use it. I installed Simba on his computer, got everything to work, Smart v8.0, SRL/SPS/MSI updated, everything is good, script works… But after like 5 minutes it just randomly stops, and Simba says "successfully executed" as if I pressed the stop button. I tried reinstalling Simba, updating everything again and stuff, but it just doesn't work. We tried Flight's Trout/Salmon fisher and Ashaman's Bonfire script. Both gave same results. After few minutes "Successfully executed" with no errors. Wat do? :/

xtrapsp

2013-03-15 10:09:28

Would you mind sending us the main loop of each of the scripts you have used?

Thanks :D

Im New Sry

2013-03-15 13:37:04

AshamanBonfire

Procedure Mainloop;
Begin
FindNormalRandoms;
If CheckInventory Then
If Shantay Then
Begin
If WaitFunc(@BankShantay,100,20000) Then
If Not WaitInvCountInc(10000) Then
Exit Else
LogCount:=LogCount+(CountLogs);
End Else
If WaitFunc(@FindButler,1,10000) Then
If Not WaitInvCountInc(10000) Then
Exit Else
LogCount:=LogCount+(CountLogs);

If FindFire Then
Waiting;

FindNormalRandoms;

If CheckInventory Then
ProgressReport;

If TimeFromMark(TimeOut)>600000 Then
Begin
Writeln('Something went wrong, shutting down');
If Not TimeoutFS Then
Exit;
Logout;
TerminateScript;
End;

If TimeFromMark(TimeOut)>300000 Then
Begin
Writeln('Something went wrong, resetting stuff');
ClickNorth(SRL_ANGLE_HIGH);
BankShantay;
End;

If Shantay Then
Begin
If Not WaitLoggedIn(1000) Then
Begin
LoginPlayer;
Wait(RandomRange(4000,6000));
HumanMouseBox(71,533-50,100,547-50);
ClickMouse2(True);
ClickNorth(SRL_ANGLE_HIGH);
MarkTime(Timeout);
FindNormalRandoms;
End;
If TakeBreaks Then
BreakHandler(BreakIn,BreakFor,Bir,Bfr);
End;

Wait(Random(100));
End;

Flight's Barbarian Fly-Fisher

Procedure MasterLoop;
begin
if not LoggedIn_F then Exit;

GetStage;

if DoBanking then
begin
Case Stage of
0: StartFishing;

1:
if UseLodestone then
TeleEdgeville
else
WalkTo('Bank');

2:
begin
if not HandleBank then
begin
if UseLodestone then
TeleEdgeville
else
WalkTo('Bank');
HandleBank;
end;
end;


3:
WalkTo('Spot');

end;
end else
Case Stage of
0,1: StartFishing;
end;
end;

The thing is, I run Bonfire script without any errors for unlimited time (it never crashed yet, I run it for 5-10 hours and then stop to do farm runs), but for him it just executes without any error message or anything.

Kevin

2013-03-15 13:47:50

Is there any chance his display settings aren't currently set correctly? That could cause a lot of issues.

Im New Sry

2013-03-15 14:07:20

From: nivek1989
Is there any chance his display settings aren't currently set correctly? That could cause a lot of issues.


Yeah, I set the stuff for him myself, Safe Mode, Fixed, Brightness to max.

Kevin

2013-03-15 14:09:12

Do those specific scripts require xp bar turned on?

Im New Sry

2013-03-15 14:17:36

From: nivek1989
Do those specific scripts require xp bar turned on?


They turn on the XP bar themselves. :P (it's at 53m xp, doesn't say "Lots!")

Ashaman88

2013-03-15 14:35:54

Does he minimize them a lot? Does he have a solid internet connection?

Im New Sry

2013-03-15 14:38:00

From: Ashaman88
Does he minimize them a lot? Does he have a solid internet connection?


Solid internet connection - check. :D

Well he doesn't minimize them, he just clicks on his Chrome, which is behind Simba, in the background, and when he checks Simba, he finds the script stopped.

Although he said that the Fisher worked for 4 hours nonstop for him today, I told him to try not to minimize, will post results in some time (he's away now) thanks Asha!