Stinji Posted February 1, 2019 Share Posted February 1, 2019 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! Link to comment Share on other sites More sharing options...
Charlotte Posted February 1, 2019 Share Posted February 1, 2019 20 minutes ago, Stinji said: 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). Link to comment Share on other sites More sharing options...
defil3d Posted February 1, 2019 Share Posted February 1, 2019 1 topic is enough i think. Link to comment Share on other sites More sharing options...
LeBron Posted February 1, 2019 Share Posted February 1, 2019 Just now, defil3d said: 1 topic is enough i think. He accidentally posted in the wrong section Link to comment Share on other sites More sharing options...
defil3d Posted February 1, 2019 Share Posted February 1, 2019 Just now, LeBron said: He accidentally posted in the wrong section he could hide the other tho Link to comment Share on other sites More sharing options...
Juggles Posted February 1, 2019 Share Posted February 1, 2019 Use .37+ for the fixed version. Link to comment Share on other sites More sharing options...