SRL Archive - OSR Help

ChangeWorld function problems


Inadequacy

2013-06-08 10:29:43

Hello. I'm making a script and there's a part where I need to use ChangeWorld function. But when I use it, for example ChangeWorld(306), it sometimes doesn't click on the specified world, but misses it and clicks on the blank space between world 307 and 306. After that, it waits for about 5 seconds, clicks "cancel" and logs back to the current world. Sometimes it even changes to world 307 instead of 306. Same thing is happening with ChangeWorld(RandomWorld).

I don't really feel like making my own function for changing worlds, so any help on how to fix this problem would be appreciated. :)

Inadequacy

2013-06-08 19:00:02

Still looking

Solar

2013-06-09 02:31:20

I noticed when using Ashaman's gnome script that the Worldinfo command wasn't working correctly. At first I thought it might have been because some worlds are missing, like 307, but even accounting for this by decreasing the world number doesn't solve the problem.

Ashaman88

2013-06-09 12:37:25

http://villavu.com/forum/project.php?issueid=98


Needs to be implemented

Inadequacy

2013-06-09 16:27:15

Thanks!

Peanuts

2013-06-09 19:57:28

i use
procedure WorldHop;
begin
if ExitToLobby then
begin
repeat
wait(10);
until LobbyScreen;
if OpenWorldScreen then
ChangeWorld(RandomWorld(True,False));
repeat
wait(10);
until LoggedIn;
Wait(200);
MakeCompass('W');
end;
end;