PrismarineJS / node-minecraft-protocol

Parse and serialize minecraft packets, plus authentication and encryption.
https://prismarinejs.github.io/node-minecraft-protocol/
BSD 3-Clause "New" or "Revised" License
1.24k stars 239 forks source link

Client not able to join server #596

Closed The-Box1 closed 6 years ago

The-Box1 commented 6 years ago

As title says. It is warning this: Chunk size is 51 but only 3 was read ; partial packet : {"name":"legacy_server_list_ping","params":{"payload":1}}; buffer :fe0101fa000b004d0043007c00500069006e00670048006f0073007400157f00070030002e0030002e0030002e0030000063dd

rom1504 commented 6 years ago

What do you observe besides that warning ?

On Mon, Oct 8, 2018, 20:59 nagoL2015 notifications@github.com wrote:

As title says. It is warning this: Chunk size is 51 but only 3 was read ; partial packet : {"name":"legacy_server_list_ping","params":{"payload":1}}; buffer :fe0101fa000b004d0043007c00500069006e00670048006f0073007400157f00070030002e0030002e0030002e0030000063dd

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/node-minecraft-protocol/issues/596, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPN_qnDSY3Us0VmoT_fPqKqa2mu7E59ks5ui6CtgaJpZM4XNfxI .

The-Box1 commented 6 years ago

Nothing. https://i.imgur.com/l9T0WHc.png. All it shows is that and my client eventually times out. I'm just trying to make a proxy. Here is the server start code.

const proxyServer = createServer({ 'online-mode': false, 'max-players': 1, host: '0.0.0.0', port: '25565', motd: '2B2T Queue', keepAlive: false, version: '1.12.2', });

The-Box1 commented 6 years ago

Wait sorry. I was using a modified client and that gave me that warning. Then I switched to vanilla and I don't have the warning but the server is still stuck on logging in.

rom1504 commented 6 years ago

What is your whole code ?

The-Box1 commented 6 years ago

Sorry for late reply: https://hastebin.com/idijavoxeq.coffeescript

plexigras commented 6 years ago

i recommending you use use the raw data and writeRaw to reduce lag whenever you can.

and regarding your issue you should try and see if you can get it to work on a vanilla server.

rom1504 commented 6 years ago

the zlib error is now fixed.