PrismarineJS / PrismarineJS/node-minecraft-protocol
Error after trying to switch server with command (bungeecord)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 290
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 7
Description
Info: the script is the client_chat.js from examples folder
.
.
.
.
.
pi@raspberrypi:~/test $ node client_chat.js mcs.gg 25565 USERNAME PASSWORD
connecting to mcs.gg:25565
user: USERNAME
Successfully connected to mcs.gg:25565
-----------------------------------------
▪ Welcome to MineSuperior ▪
Website link: www.minesuperior.com
Store link: store.minesuperior.com
Discord link: discord.gg/minesuperior
Type /server to join a server
-----------------------------------------
/gserver ms-survival-1
Error occured
{ PartialReadError: Deserialization error for play.toClient : Read error for undefined : Missing characters in string, found size is 40799 expected size was 420740033
at new ExtendableError (/home/pi/test/node_modules/protodef/src/utils.js:63:13)
at new PartialReadError (/home/pi/test/node_modules/protodef/src/utils.js:70:5)
at Object.string (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :47:15)
at elem (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :1733:71)
at eval (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :1816:11)
at Object.packet_declare_recipes (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :1821:9)
at eval (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :1967:70)
at packet (eval at compile (/home/pi/test/node_modules/protodef/src/compiler.js:245:12), :1972:9)
at CompiledProtodef.read (/home/pi/test/node_modules/protodef/src/compiler.js:64:12)
at tryCatch (/home/pi/test/node_modules/protodef/src/compiler.js:99:49)
name: 'PartialReadError',
partialReadError: true,
field: 'play.toClient' }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report points to examples/client_chat.js and the /gserver ms-survival-1 command; first reproduce the switch against the reported BungeeCord server and inspect the play.toClient packet parsing path shown in the stack trace. Done means the server switch no longer produces the protodef PartialReadError and the client continues handling packets.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100