-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot gets stuck on blocks #223
Comments
You have to give more info on this. If there is an issue with hit boxes you should make an issue in prismarine-physics. If there is an issue with invalid moves that is a different thing. In that case you should give an example with a specific move that does not work. Pathfinder is usually tested on vanilla servers. Is the server you are using a different brand off server compared to vanilla? Does it have any movement related plugins like anti cheat? What version where you using when the issue occurred? |
Ok so I think I fixed it, if you add 0.05 to the bot's width and height, it fixes this issue. So it seems like this is a physics issue. Thank you for the help! |
I think hitboxes changed in 1.8 1.9 somewhere. prismarine-physics might not handle that case correctly if the hitbox is wrong. |
Hey, I'm starting to make my own bots and I have the same problem. |
Sometimes the bot will try to move in a way the server doesn't like. This will cause the server to tell the bot to move back to a valid spot. The issue is that the bot will continue to try and make that move even though it may not be valid.
Steps to reproduce:
Sometimes the bot will clip a block and get stuck. Looking through the prismarine viewer you can see it is be sent back by the server.
The text was updated successfully, but these errors were encountered: