Skip to content
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

Support for 1.20.2? #3226

Closed
ghost opened this issue Nov 5, 2023 · 2 comments
Closed

Support for 1.20.2? #3226

ghost opened this issue Nov 5, 2023 · 2 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@ghost
Copy link

ghost commented Nov 5, 2023

Versions

  • "mineflayer": "^4.14.0", (package.json)
  • server: paper and vanilla 1.20.2/1
  • node: v20.9.0

Detailed description of a problem

When running minecraft 1.20.2 and I open to LAN the bot is unable to connect to the LAN world. But when I change my MC version to 1.20.1 suddenly the same code works.
When I set up a paper server 1.20.2 and start the bot it shows this in the server:

[21:33:47 INFO]: UUID of player utbustan is 58b30fd1-0161-32f3-9ef4-ef22e4bac666
[21:34:17 INFO]: Disconnecting utbustan (/192.168.0.31:63936): Took too long to log in
[21:34:17 INFO]: utbustan (/192.168.0.31:63936) lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.io.IOException: Can't serialize unregistered packet

And this on the bot side:

Chunk size is 172 but only 54 was read ; partial packet : {"name":"spawn_entity","params":{"entityId":169,"objectUUID":"7b227472-616e-736c-6174-65223a226469","type":115,"x":9.489665354112813e+170,"y":1.1935881242136542e+190,"z":2.262901882749459e+180,"pitch":119,"yaw":105,"headPitch":116,"objectData":104,"velocityX":8762,"velocityY":23330,"velocityZ":18798}}; buffer :01a9017b227472616e736c617465223....

and the buffer is extremely long hex number (thus the dots at the end)

What did you try yet?

When running on vanilla 1.20.1 or paper 1.20.1 everything works fine but not on 1.20.2

@ghost ghost added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Nov 5, 2023
@rom1504
Copy link
Member

rom1504 commented Nov 5, 2023 via email

@SilianZ
Copy link
Contributor

SilianZ commented Nov 14, 2023

Check for this issue #3202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

3 participants