SRL Archive - S.M.A.R.T.

World select


Adamcoled

2012-05-15 17:15:54

What smart server would I choose to use to get worlds 22-27? Only ones with good ping for me.

smurg

2012-05-17 05:50:47

None. In my experience, SMART_Server doesn't really work, so you'd need a custom login function (which isn't hard at all).

riwu

2012-05-17 06:14:06

From: smurg
None. In my experience, SMART_Server doesn't really work, so you'd need a custom login function (which isn't hard at all).

It used to work a long time ago when the "lobby" doesn't exist.
There are already functions for world selection/switching, eg. SelectWorld, ChangeWorld ;)

Adamcoled

2012-05-18 12:16:43

Alright, just wanted to know because I'm all for randomization and having a variety of worlds of my choosing sound like a good idea. Ah well.

Justin

2012-05-18 12:19:32


if not LoggedIn then
begin
repeat
LoginPlayerToLob;
until LobbyScreen;

OpenWorldScreen;
if not WorldScreen then
OpenWorldScreen;
if WorldScreen then
begin
SelectWorld(RandomRange(22,27));
LogInPlayer;
end;
end;

repeat
wait(500);
until LoggedIn;

^^ Not my code, Credits to CephaXz