SRL Archive - Test corner

LoggedIN issues


Mr. Freeweed

2006-09-30 16:50:45

I may be the only one with logged in issues this is how I fixed it

{*******************************************************************************
function LoggedIn: Boolean;
By: Stupid3ooo
Description: Returns True if Logged In.
*******************************************************************************}

function LoggedIn: Boolean;
begin
if (GetColor(717, 211) = 3094847) then
begin
Result := True;
end else
writeln('Could not find the logged in color Must be logged out');
end;

Cheesehunk

2006-10-01 00:55:32

LoggedIn returns a pixel in the Report Abuse button, so it should always be there.. Do you have the latest version of SRL?

WhiteShadow

2006-10-01 02:44:41

I use to have LoggedIn issues also. So I always use :

until(not(LoggedIn)) and (FindLoginScreen) 

I don't know I think it was that it thinks it's Logged in when it's Logged Out. I forgot if it was vice versa or not, sorry. It's been awhile since I got that bug.

Mr. Freeweed

2006-10-02 17:05:36

From: Cheesehunk
LoggedIn returns a pixel in the Report Abuse button, so it should always be there.. Do you have the latest version of SRL?


Thats good to know I should have looked first which pixel it was looking at thx

bullzeye95

2006-10-02 19:43:40

Or we could change the function so it would have alittle tolerance in the color.

Mr. Freeweed

2006-10-03 01:42:10

No its fine I just mod my srl so it works better sometimes when I run through the code I get mixed up. :duh:

m0u53m4t

2006-10-08 18:15:36

Meh. I avoid the command. 't never works for me :(