Jump to content

hopToP2PWorld() question


mustang guy

Recommended Posts

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?
  • Like 1
Link to comment
Share on other sites

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 by mustang guy
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...