mustang guy Posted August 24, 2015 Share Posted August 24, 2015 The following changes were made in a recent osrs update: World 53 - 1250+ total World 66 - 1500+ total World 73 - 1750+ total World 61 - 2000+ total The function hopToP2PWorld() is what I want to do, but I don't want the above worlds included in this random hop. Is there a tidy way to make this happen? 1 Quote Link to comment Share on other sites More sharing options...
mustang guy Posted August 25, 2015 Author Share Posted August 25, 2015 (edited) As near as I can tell, the only way to accomplish this is to make a table of all P2P worlds which does not include 53, 66, 73 and 61 and randomize the hop() function with bug-out tests like: !isMembers() getPopulation() < FULL_WORLD isPvpWorld() That is not what I would call tidy...but it would work IMO. Your thoughts? Edited August 25, 2015 by mustang guy Quote Link to comment Share on other sites More sharing options...
Joseph Posted August 25, 2015 Share Posted August 25, 2015 You guys don't read client uplates. Alek updated the world hip to avoid those skill world's http://osbot.org/forum/topic/80609-development-build-osbot-23103-patches-pending-stable/#entry895770 Quote Link to comment Share on other sites More sharing options...
mustang guy Posted August 25, 2015 Author Share Posted August 25, 2015 You are right, I didn't read the updates. However, Skiller world and Total level world mean different things to me. You just know how Alek thinks. By the way, be patient with me, this is the only script I have ever written in Java and I am trying to learn the ropes here. For one thing, I haven't even been using the developer build. It makes sense when I am trying something not in the stable, so your response got me thinking outside the box. Thanks for pointing my nose in the right direction. Quote Link to comment Share on other sites More sharing options...