Jump to content

World hopping not working


Recommended Posts

Posted

Hey guys,

I'm writing a bot that buys out a shop and banks the inventory when full. When the inventory is not full and the shop is empty I want the bot to hop worlds, however it's not working as it should (I think).

I've tried the following options:

getWorlds().hopToP2PWorld();
getWorlds().hopToF2PWorld();
getWorlds().hop(example);

However whenever it's supposed to execute this code, all three just open the worlds interface and stops there.
I'm using OSBot stealth mode, tried adding a conditional sleep, tried singling out this code to see if it was because other code was interfering but none of these worked.

It's the exact same issue as this guy had, but his solution doesn't work for me:

Worth noting maybe is that I have a GUI that starts at the beginning of the script (and I didn't comment this code out for a test) to ask which item I would like to buy, but it doesn't repeat in the onLoop() so once you chose an item, it could not possibly interfere with other code.

 

Thanks for your input!

SORRY, this is the wrong thread to post this in, I don't know how to remove this. I also posted this in 'Scripting Help'.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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