SRL Archive - OSR Help

Logout Help


Tim0suprem0

2010-05-31 12:03:32

Hi, I'm probably being retarded, but am I supposed to Mouse the 'X' in the corner of the screen before calling logout?

Because Logout does not log me out of the game unless the logout tab is selected.

Gu3st...

2010-05-31 12:06:18

There is a GameTab(tab_Logout) in Logout; so the only reason why it doesn't click it must be because GameTab is failing (just writing what I'm thinking here)

Tim0suprem0

2010-05-31 12:07:57

From: Zyt3x
There is a GameTab(tab_Logout) in Logout; so the only reason why it doesn't click it must be because GameTab is failing (just writing what I'm thinking here)


Good call, I'll take a look :)

aran armath

2010-05-31 12:08:11

From: Tim0suprem0
Hi, I'm probably being retarded, but am I supposed to Mouse the 'X' in the corner of the screen before calling logout?

Because Logout does not log me out of the game unless the logout tab is selected.


It should click the "x" for you, just looked at the Login.scar include.

Tim0suprem0

2010-05-31 12:12:50

The problem is TabExists (thanks Zyt3x!), the color, at least for me, is now 0 instead of 65536.

  if (Tab = tab_LogOut) then
begin
Result := (GetColor(746, 0) = 0); // instead of 65536
Exit;
end;

Gu3st...

2010-05-31 12:40:03

From: Tim0suprem0
The problem is TabExists (thanks Zyt3x!), the color, at least for me, is now 0 instead of 65536.

  if (Tab = tab_LogOut) then
begin
Result := (GetColor(746, 0) = 0); // instead of 65536
Exit;
end;
Good catch :)
Now let's get the devs to commit it! :p

Tim0suprem0

2010-06-03 04:46:00

From: Tim0suprem0
The problem is TabExists (thanks Zyt3x!), the color, at least for me, is now 0 instead of 65536.

  if (Tab = tab_LogOut) then
begin
Result := (GetColor(746, 0) = 0); // instead of 65536
Exit;
end;


No this is horribly, horribly wrong. I couldn't understand why SMART wasn't working at all with the script I'm making and it's because I was on the "Software" graphics setting, NOT Safe Mode. This meant black for me was 0 and not 65536 like it should have been :( I'm sure Logout works just fine.

Now I have to fix my SRL and my script since I've been tweaking both to the wrong colors… :duh: :duh:

Gu3st...

2010-06-03 04:51:09

Yeah, I tested mine version just after I posted my last post, and then I was like "Oh, Tim0 was wrong!" but then I forgot to post here.. <_<