You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disconnecting client because error TypeError [ERR_INVALID_ARG_TYPE]: Serialization error for play.toClient : SizeOf error for undefined : The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received undefined
at new NodeError (node:internal/errors:387:5)
at Function.byteLength (node:buffer:740:11)
at Object.string (eval at compile (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:259:12), <anonymous>:45:25)
at Object.packet_respawn (eval at compile (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:259:12), <anonymous>:2269:27)
at eval (eval at compile (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:259:12), <anonymous>:3083:54)
at packet (eval at compile (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:259:12), <anonymous>:3131:9)
at CompiledProtodef.sizeOf (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:89:14)
at e.message (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:96:40)
at tryCatch (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\utils.js:50:16)
at CompiledProtodef.createPacketBuffer (C:\Users\dihydromonoxide\Desktop\Node Projects\minecraft-bot\minecraft-bot\node_modules\protodef\src\compiler.js:96:20) {
code: 'ERR_INVALID_ARG_TYPE',
field: 'play.toClient'
}
I am using a lan world with the port 25565, this was also tested with a server
The text was updated successfully, but these errors were encountered:
It appears as though this has to do with the respawn packets and commenting out the following lines in instant_connection_proxy.js seems to have fixed it
When I attempt to use the following code
I fails with the error
I am using a lan world with the port 25565, this was also tested with a server
The text was updated successfully, but these errors were encountered: