SRL Archive - RS3 Help

New to botting


dodo

2015-06-26 06:52:44

do other scripts work? scratch that it's an issue with the script.

jup

2015-06-26 06:54:48

If i just run my default script
program new;
{$DEFINE SMART}
{$i srl-6/srl.simba}

begin
clearDebug();
setupSRL();
end.

it runs fine

srlMW

2015-06-26 07:13:25

"Compiled successfully in 2219 ms." is awfully fast! It may have something to do with your player form maybe… Try // everything to do with it and see if that works.

jup

2015-06-26 07:17:24

Nothing happens at all.

E: I just tried to take out everything I've changed and put it back to what it used to be when it worked but only burned one log and still the same problem.

srlMW

2015-06-26 07:32:16

I moved the setupSRL(); to under clearDebug(); and it worked. Must be something below that that is causing it not to work. :)

PS. Would see what it is but I have to rush off for a bit, good luck!

begin
clearDebug();
setupSRL(); // <-- to here
initPlayerForm();
runPlayerForm();
if (not playerForm.isScriptReady) then
exit;
declarePlayers();
debugSPFSettings();
//setupSRL(); <-- moved from here
stats_Setup('36');
stats_commit();
changeAngleBoss();
myScriptTimer.start();
repeat
mainLoop();
until (myScripttimer.getTime() > players[currentplayer].integers[0]);
end.