
Originally Posted by
mormonman
Its not lag or anything. Usually when the character isnt doing anything scar will think im logged out. When the character is doing something, the script runs fine.
I did a bit of testing, SCAR needs to find a tree and im in the middle of the GE and this is what I was testing with:
SCAR Code:
procedure MainLoop;
begin
repeat
SetupPlayer;
Writeln('What The Hell');
repeat
HackTree;
until (not LoggedIn);
until(false);
end;
When is was able to find some trees, the script would run smoothly, when I moved to the middle of the GE, the script would setup player over and over again and write What The Hell.
I added my function OnLoginScreen and made the script check if not LoggedIn and OnLoginScreen and the script runs smoothly.