SCAR Code:if not LoggedIn then
begin
if not RSReady then
while not RSReady do Wait(200+random(500));
end;
this is an infinite loop when I'm not logged in but RS is loaded. Why?
SCAR Code:if not LoggedIn then
begin
if not RSReady then
while not RSReady do Wait(200+random(500));
end;
this is an infinite loop when I'm not logged in but RS is loaded. Why?
I don't check this place often, sorry.
Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path
A time marker would be useless here because if RS isn't loaded, you don't want the script to do anything x]
I don't check this place often, sorry.
Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path
Sounds like RSReady isn't working properly for you. Lemme see if it works for me.
Edit: Yeah, it's not working properly. Try replacing it with this:
SCAR Code:function RSReady: Boolean;
begin
Result := (LoggedIn) or (GetColor(375, 626) = 8630512);
end;
Last edited by senrath; 02-13-2010 at 12:58 AM.
SCAR Code:{.Include SRL\SRL.SCAR}
begin
SetUpSRL;
ActivateClient;
Wait(1000);
WriteLn(BoolToStr(RSReady));
end.
Returns true for me.
Make sure you are on safe mode.
Last edited by Wanted; 02-13-2010 at 02:30 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)