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
[ ] The FAQ doesn't contain a resolution to my issue
Versions
minecraft-protocol: 1.25.0
server: vanilla/spigot/paper 1.17.1
node: 14.16.1
Detailed description of a problem
I am not able to move my bot within the world. The bot is connecting to the server, and I was able to send and receive chat messages. When I try to move, however, it doesn't work.
The bot should visibly move and the logging of the current position (see line 67 or 4 when counting backwards) should update to a newer position.
Additional context
I have tried many different syntaxes including relative position, position along with yaw and pitch, and positioning with only a decimal of difference from current position. None of them seem to work. The only code that ever worked was the following:
This one, however, produced the following message in the server console:
AFK_Bot1 Joined the Server
AFK_Bot1 Left the Server
The weirdest part was that the NodeJS program didn't quit! And when it logged the next time, it showed the update position. The server showed only 1 player as connected though (my PC). Hope you can solve my issue!
PS: I have also posted a variation of this on StackOverFlow
The text was updated successfully, but these errors were encountered:
I fixed it, for anyone who's looking for an answer! The problem was with the 1.17.1 update in the Minecraft protocol. You need to send 'teleport_confirm' with the 'teleportId' sent with the position update in order to actually move the bot.
[ ] The FAQ doesn't contain a resolution to my issue
Versions
Detailed description of a problem
I am not able to move my bot within the world. The bot is connecting to the server, and I was able to send and receive chat messages. When I try to move, however, it doesn't work.
Current code
Expected behavior
The bot should visibly move and the logging of the current position (see line 67 or 4 when counting backwards) should update to a newer position.
Additional context
I have tried many different syntaxes including relative position, position along with yaw and pitch, and positioning with only a decimal of difference from current position. None of them seem to work. The only code that ever worked was the following:
This one, however, produced the following message in the server console:
The weirdest part was that the NodeJS program didn't quit! And when it logged the next time, it showed the update position. The server showed only 1 player as connected though (my PC). Hope you can solve my issue!
PS: I have also posted a variation of this on StackOverFlow
The text was updated successfully, but these errors were encountered: