Theres this one error that randomly thinks the character is logged out.
Can a failsafe be added into the loggedin function?
Maybe look for something on the welcome screen and look if something in game isnt there.
Theres this one error that randomly thinks the character is logged out.
Can a failsafe be added into the loggedin function?
Maybe look for something on the welcome screen and look if something in game isnt there.
Well, all I can think of is to add a LoggedOut function, like this:
SCAR Code:function LoggedOut: Boolean;
begin
Result := GetColor(378, 244) = 13158;
end;
Then edit the LoggedIn function to take that into account:
SCAR Code:function LoggedIn: Boolean;
var
cx, cy: Integer;
begin
Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492) and not(LoggedOut);
end;
There are currently 1 users browsing this thread. (0 members and 1 guests)