Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug World hopping

Joined
Jan 31, 2017
Messages
121
Code:
Worlds.newQuery().results();
returns 0 results. Might be connected to the issue jagex had with the world hopping themselfes?
 
Go check out new bots and give helpful feedback.
Joined
Jan 31, 2016
Messages
5,413
Code:
Worlds.newQuery().results();
returns 0 results. Might be connected to the issue jagex had with the world hopping themselfes?
Can you show the actual output that you did? Did you do System.out.println(Worlds.newQuery().results().size()); ?
 
Joined
Jan 31, 2017
Messages
121
Can you show the actual output that you did? Did you do System.out.println(Worlds.newQuery().results().size()); ?
Played around with it a little bit after it stoped working with runescape's latest update so it wasn't only that, but yes, I also did a size checked.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
That'll happen on OSRS if neither the world selector nor quick hopping interfaces have been loaded.

Edit: I could implement parsing the world data from the file that the game downloads and parsing to get the world data as a failsafe for if the data hasn't been loaded by the game yet...
 
Last edited:
Joined
Jan 31, 2017
Messages
121
That'll happen on OSRS if neither the world selector nor quick hopping interfaces have been loaded.

Edit: I could implement parsing the world data from the file that the game downloads and parsing to get the world data as a failsafe for if the data hasn't been loaded by the game yet...
Just noticed your edit. I can't reproduce the problem so I can't test what u've said, but if the world selector interfaces load when the world selector is opened, then as long as one makes sure to open the interface first, one won't encounter the problem, right?
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Just noticed your edit. I can't reproduce the problem so I can't test what u've said, but if the world selector interfaces load when the world selector is opened, then as long as one makes sure to open the interface first, one won't encounter the problem, right?
I ended up adding in the failsafe so the issue should never occur for anyone else again since the world data is now always available from one source or another.
 
Top