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 Decompression error on 1.8 client (MacOS) #885

Closed
nealol opened this issue Aug 6, 2021 · 3 comments
Closed

Chunk Decompression error on 1.8 client (MacOS) #885

nealol opened this issue Aug 6, 2021 · 3 comments

Comments

@nealol
Copy link
Contributor

nealol commented Aug 6, 2021

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

Versions

  • minecraft-protocol: 1.25.0
  • server: Hypixel spigot 1.8.9 (protocol 47)
  • node: 16.5.0/14.17.4

Detailed description of a problem

Multiple chunk decompression errors occur randomly causing chunks to be missing. Example error is viewable here: https://hastebin.com/raw/oruyucociw

Current code

mc.createClient({
  host: "mc.hypixel.net",
  port: 25565,
  version: '1.8',
  hideErrors: false,
  username: "email@example.com", // set to example credentials
  password: "12345678", // set to example credentials
  auth: 'mojang' // set to example credentials
});

Expected behavior

No chunk decompression errors

Additional context

This only seems to happen on Mac OS and not Windows or Linux. Using vercel/pkg at the moment but will test without it soon

@rom1504
Copy link
Member

rom1504 commented Aug 7, 2021

try to change your zlib version

@rom1504
Copy link
Member

rom1504 commented Aug 7, 2021

try to not use vercel/pkg

@nealol
Copy link
Contributor Author

nealol commented Aug 21, 2021

The issue appears to be with vercel/pkg 5.3.0+ breaking zlib on OS X. Reverting to 5.2.1 fixed this issue.

@nealol nealol closed this as completed Aug 21, 2021
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

2 participants