SRL Archive - SRL Bugs

L_WorldSelect not working properly


J J

2012-11-18 09:22:42

L_WorldSelect is not working properly.
Used in
function WorldScreen: Boolean;
begin
Result := (GetLobbyTab = L_WorldSelect);
end;

Returns false all the times.

This is used multiple times in the world switcher and results in exiting all the world selecting. SelectWorld(53) for example does not work:

function SelectWorld(W: integer): boolean;
var
x, y, xx, yy, T, CurW: integer;
WRec: TWorld;
begin
if not InRange(W, 1, 200) then
begin
srl_Warn('SelectWorld', 'Invalid World', warn_AllVersions);
Exit;
end;

if OpenWorldScreen then
begin
T := GetSystemTime + 60000;
Repeat

if OpenWorldScreen ->

function OpenWorldScreen: Boolean;
begin
Result := LobbyTab(2);
end;

Everything caused by L_WorldSelect. Anyone knows where I can edit it, I couldn't find it myself.

riwu

2012-11-18 09:26:05

Uhm…L_WorldSelect = 2 is a constant.
If it doesn't work it means GetLobbyTab doesn't work, which means LoginPlayer won't work.
Did you call SRL_ResetNavBar before calling this? Browser with safe mode?

J J

2012-11-18 09:26:50

From: riwu
Uhm…L_WorldSelect = 2 is a constant.
If it doesn't work it means GetLobbyTab doesn't work, which means LoginPlayer won't work.
Are you testing this in Smart or browser with safe mode?

Using SMART. GetLobbyTab doesn't seem to work properly I guess. It doesn't recognize the world screen tab.

riwu

2012-11-18 09:30:19

From: J J
Using SMART. GetLobbyTab doesn't seem to work properly I guess. It doesn't recognize the world screen tab.

It recognize everything but second tab? What did GetLobbyTab return?