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

Chunk size is 23 but only 15 was read ; partial packet : {"name":"entity_sound_effect","params":{"soundId":526,"soundCategory":2,"entityId":52724,"volume":16,"pitch":1}}; buffer :5c8e0402f49b03418000003f800000fb8f631a089c6c66 #1255

Closed
officialdakari opened this issue Aug 25, 2023 · 8 comments

Comments

@officialdakari
Copy link

[v] The FAQ doesn't contain a resolution to my issue

Versions

  • minecraft-protocol: ^1.44.0
  • server: vanilla/spigot/paper Paper 1.19
  • node: 20.5.0

Detailed description of a problem

Some packets cause crash, like this one:

Chunk size is 23 but only 15 was read ; partial packet : {"name":"entity_sound_effect","params":{"soundId":526,"soundCategory":2,"entityId":52724,"volume":16,"pitch":1}}; buffer :5c8e0402f49b03418000003f800000fb8f631a089c6c66

Expected behavior

Packet should go through proxy

@vincss
Copy link

vincss commented Nov 24, 2023

Hi,
I encountered the same error, when someone is trying to connect, it returns an error to the client even if the setting "hideErrors: true" .
It would be nice if it returns a proper message to the client.
image

@rom1504

@extremeheat
Copy link
Member

Looks like caused by incorrect change in PrismarineJS/minecraft-data#731.

Sound Packet and Entity Sound Packet don't have any switch statement, it's id (varint), enum (varint) and other float and integer fields. Not sure where that data is coming from

@rom1504
Copy link
Member

rom1504 commented Dec 27, 2023

fixed

@rom1504 rom1504 closed this as completed Dec 27, 2023
@vincss
Copy link

vincss commented Dec 28, 2023

Hi ,
Thanks for the update.
There seems to be an issue with some characters since the latest update :
image

The issue is the same if I change the text to something without "," .
image

@rom1504
Copy link
Member

rom1504 commented Dec 28, 2023

@vincss what are you running? Mineflayer is not supported yet

@vincss
Copy link

vincss commented Dec 28, 2023

Hi,
On the server side it is
https://github.com/vincss/mcsleepingserverstarter/
And the client is the regular one.

@rom1504
Copy link
Member

rom1504 commented Dec 28, 2023

What packets are you using? Multiple packets changed in 1.20.2

@vincss
Copy link

vincss commented Dec 28, 2023

I updated : "minecraft-protocol": "^1.45.0"
which updated the others packages in package-lock.json
vincss/mcsleepingserverstarter@06be9ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants