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

Bungeecoord support #464

Open
tmfksoft opened this issue Jan 29, 2017 · 10 comments
Open

Bungeecoord support #464

tmfksoft opened this issue Jan 29, 2017 · 10 comments

Comments

@tmfksoft
Copy link

I've tried using your out of the box example in the readme to connect to my 1.11.2 server running BungeeCord and Paper.

However BungeeCord kicks the client for not being 1.11.2, Is there something I'm missing?

@tmfksoft
Copy link
Author

Edit to that, It appears specifying the client version in options works (I dug through the code to find that though)

However now I can't connect due to this:

/home/thomas/mc_bot/node_modules/minecraft-protocol/dist/transforms/framing.js:112
} else throw e;
^

Error: Deserialization error for play.toClient : Read error for name : 84 is not in the mappings value
at ProtoDef.readMapper (/home/thomas/mc_bot/node_modules/protodef/dist/datatypes/utils.js:43:34)
at ProtoDef.read (/home/thomas/mc_bot/node_modules/protodef/dist/protodef.js:102:31)
at /home/thomas/mc_bot/node_modules/protodef/dist/datatypes/structures.js:85:32
at tryCatch (/home/thomas/mc_bot/node_modules/protodef/dist/utils.js:83:12)
at tryDoc (/home/thomas/mc_bot/node_modules/protodef/dist/utils.js:90:10)
at /home/thomas/mc_bot/node_modules/protodef/dist/datatypes/structures.js:84:5
at Array.forEach (native)
at ProtoDef.readContainer (/home/thomas/mc_bot/node_modules/protodef/dist/datatypes/structures.js:79:12)
at ProtoDef.read (/home/thomas/mc_bot/node_modules/protodef/dist/protodef.js:46:25)
at ProtoDef.read (/home/thomas/mc_bot/node_modules/protodef/dist/protodef.js:102:31)

@rom1504
Copy link
Member

rom1504 commented Jan 30, 2017

Is 0x54 (==84) a custom packet of bungeecord/paper ?

@tmfksoft
Copy link
Author

Just asked the devs of both, they insist its nothing core to bungeecord or paper (Spigot fork).
Is there a way I can probe at it and figure out what it is?

@roblabla
Copy link
Member

@tmfksoft You can enable DEBUG. That will print the packets to the console. With this, we might be able to pinpoint where the problem is. To do this, when you start the client, put the DEBUG environment variable to minecraft-protocol.

@tmfksoft
Copy link
Author

tmfksoft commented Jan 30, 2017

Gets as far as here:

minecraft-protocol { effectId: 578635009,
minecraft-protocol location: { x: 6155401, y: -743, z: 24671266 },
minecraft-protocol data: 975356583,
minecraft-protocol global: true } +0ms
events.js:160
throw er; // Unhandled 'error' event
^

Nothing else past that packet, continues with the trace

@roblabla
Copy link
Member

roblabla commented Jan 30, 2017

@tmfksoft could you gist/pastebin the entire logs ?

@tmfksoft
Copy link
Author

Hope this helps :P
http://paste.ubuntu.com/23890877/

@rom1504 rom1504 changed the title 1.11.2 Support doesn't seem to work? [BungeeCord] 1.11.2 Support doesn't seem to work? Feb 26, 2017
@rom1504
Copy link
Member

rom1504 commented Jul 17, 2017

same 84 here PrismarineJS/mineflayer#526 (comment)

@ryoid
Copy link

ryoid commented Jul 20, 2017

Getting this error when connecting to cosmicpvp.com. Tried specifying the version to a lower number (1.9), but getting a unexpected end of file instead. Might be related to #462

@rom1504
Copy link
Member

rom1504 commented Jul 24, 2017

#336

@rom1504 rom1504 closed this as completed Oct 25, 2020
@rom1504 rom1504 reopened this Oct 25, 2020
@rom1504 rom1504 changed the title [BungeeCord] 1.11.2 Support doesn't seem to work? Bungeecoord support Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants