Jump to content

World hopping not working


Recommended Posts

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:


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'.

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.

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...