You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a pathfinding issue where the bot is getting stuck trying to follow a path out of a hole which requires walking forward and jumping once, then turning around and jumping again.
I've ensured I have anti-cheat turned off (this was previously causing other issues)
I've ensured it's actually possible to follow the path computed by pathfinder as a player character
From adding debug statements in pathfinder code, it looks like the pathfinding module is correctly setting the control states of the bot to jump: true, forward: true in the beginning. However, the bot is not actually moving. For this reason I've reposted this issue to the prismarine-physics repo (Bot fails to follow simple path requiring a forward walk + jump prismarine-physics#115).
Screenshot of the bad path (visualization on left, ingame on right):
I think this is an issue in prismarine-physics. I think in newer versions the player collision in prismarine-physics is to small. This causes the bot to phase into blocks from the view of the server. And if that happens the server resets the players position to prevent him from phasing into blocks. Some people had success by increasing the player hitbox in the X and Z direction.
Thanks, that's helpful. I have downgraded to 1.16 and it actually seems to work better (I was not able to test on the above case - seems I attached a corrupt world).
I'm running into a pathfinding issue where the bot is getting stuck trying to follow a path out of a hole which requires walking forward and jumping once, then turning around and jumping again.
jump: true, forward: true
in the beginning. However, the bot is not actually moving. For this reason I've reposted this issue to the prismarine-physics repo (Bot fails to follow simple path requiring a forward walk + jump prismarine-physics#115).Screenshot of the bad path (visualization on left, ingame on right):
Video of bot attempting to follow the path (it repeatedly resets path due to futility check. in the video it never gets unstuck, but occasionally i have seen it eventually get unstuck):
https://drive.google.com/file/d/11bZj7sXIyTU4t1emwfZBx7uexVw9wtcv/view?usp=sharing
Repro:
The text was updated successfully, but these errors were encountered: