SRL Archive - SRL Bugs

Im logged in and SCAR thinks im logged out


TRiLeZ

2009-07-12 09:41:05

Since SRL Rev 35 came out, the LoggedIn function has not been working too well. Randomly SCAR will think im not LoggedIn and the script will terminate/ go to the next player.
I think this function should get fixed and a function should be added to find if your on the login screen for more accuracy.
Ive created a function to find if your on the login screen here: http://www.villavu.com/forum/showthread.php?p=598106
I'd be more than happy if you would consider using my function :D
If you dont decide to use it, its fine.

mormonman

2009-07-12 09:57:02

http://www.villavu.com/forum/showthread.php?t=44209…

TRiLeZ

2009-07-12 10:11:53

From: mormonman
http://www.villavu.com/forum/showthread.php?t=44209…


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:


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.

mormonman

2009-07-12 10:14:52

I just wanted that thread bumped/read again.