Jump to content

worlds.hopToP2PWorld()


k9thebeast

Recommended Posts

For some odd reason occasionally whne I use this method, it goes to the widget, hovers the world, and doesnt actually press. This may be because it tried to go to a world I am currently on? Not quite sure but there definetly looks like there could be some extention of verifying that the bot has switched worls within this method.

 

When this bug occurs the bot just stops aparently waiting for itself to switch worlds, which never happens.

Link to comment
Share on other sites

For some odd reason occasionally whne I use this method, it goes to the widget, hovers the world, and doesnt actually press. This may be because it tried to go to a world I am currently on? Not quite sure but there definetly looks like there could be some extention of verifying that the bot has switched worls within this method.

 

When this bug occurs the bot just stops aparently waiting for itself to switch worlds, which never happens.

  

Don't know the cause, as have never experienced it. However an easy fix would be

After your call to hopToP2PWorld, Start a conditional sleep for say 10 seconds, then have it call hoptop2pworld again if your still in the same world.

It's not ideal, but it should work.

This is what's I usually do and it works for me it's basically what venetox said

int currentWorld = getWorlds().getCurrentWorld();
if(getWorlds().hopToPTPWorkd()) {
Cond sleep and return this --> getWorlds().getCurrentWorld() != currentWorld;
}

Hope this works for you
Link to comment
Share on other sites

Haha thanks thats actually exactly what I was using and @Alek said that was shitty AF. Just wanted to post the bug here so that hopefully he can take a quick peek at it. 

Im not a dev so this won't really mean much to you but

1) Can you replicate this? or is it a one time rare thing

2) Adding on from above ^ has it happened again?

3) If it does happen have you got a gif/screenshot? Or have you already gotten one?

4) Is there a condition to toggle your world hopping?

 

This would help Alek or Zach understand why it happens.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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