SRL Archive - SRL Bugs

LoggedIn doesn't work for SMART?


itSchRis917

2010-04-20 17:36:15

It's the strangest thing, it worked fine for me no less than two days ago and last night i'm testing my script and it's just hanging there waiting for the login check.. I have both SIMBA and SCAR latest revisions, as well as the dev revision of SRL. It doesn't work in both SIMBA and SCAR when using SMART, but when i use the windowed Runescape client in my browser it works fine. Not a clue why, but it just doesn't pick up that simple white color when i use smart. I have a temporary fix in my SRL now, but i'm wondering if anyone else is getting this type of error?

Frement

2010-04-20 17:37:55

From: itSchRis917
It's the strangest thing, it worked fine for me no less than two days ago and last night i'm testing my script and it's just hanging there waiting for the login check.. I have both SIMBA and SCAR latest revisions, as well as the dev revision of SRL. It doesn't work in both SIMBA and SCAR when using SMART, but when i use the windowed Runescape client in my browser it works fine. Not a clue why, but it just doesn't pick up that simple white color when i use smart. I have a temporary fix in my SRL now, but i'm wondering if anyone else is getting this type of error?


Worked fine for me just 30 minutes ago.

itSchRis917

2010-04-20 17:43:05

Weird.. Thanks. Mind posting what your LoggedIn function looks like from Players.scar? I modified mine to just a GetColor check.

Wizzup?

2010-04-20 17:43:11

Do you have the animated background turned off?

itSchRis917

2010-04-20 17:48:06

Yep. Safe mode, lowest detail settings, all that good stuff.

i luffs yeww

2010-04-20 18:12:49


{*******************************************************************************
function LoggedIn: Boolean;
By: WT-Fakawi
Description: Returns True if Logged In.
*******************************************************************************}
function LoggedIn: Boolean;
var
cx, cy: Integer;
begin
Result := FindColor(cx, cy, 16777215, 439, 491, 440, 492);
end;

itSchRis917

2010-04-20 18:14:59

Thanks i luffs yeww. That's what mine was before too. Max brightness on my laptop and on runescape.. I wonder what it could be. Mine now:

function LoggedIn: Boolean;
begin
Result := GetColor(439, 491) = 16777215;
end;

i luffs yeww

2010-04-20 22:36:17

That works for me, so.. problem = solved? :)

itSchRis917

2010-04-20 22:48:17

Yeah, just mine i guess.. Still very strange. Probably user error. :redface: I'll keep mine though since it works for me =)

i luffs yeww

2010-04-20 22:53:51

Your GetColor works fine for me, as well.

itSchRis917

2010-04-20 23:22:38

Cool, thanks for the help!