-
-
Notifications
You must be signed in to change notification settings - Fork 223
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
PartialReadError: Read error for undefined : undefined Mineflayer Bot 1.21,1 #934
Comments
"Type: Bukkit or Paper" which one ?
…On Sun, Oct 27, 2024, 13:38 Nickkory ***@***.***> wrote:
Hi,
I'm trying to run a bot on a 1.21.1 server, but I'm getting an error code.
`PartialReadError: Read error for undefined : undefined
at new ExtendableError
(/home/nickkory/mc_bot/node_modules/protodef/src/utils.js:63:13)
at new PartialReadError
(/home/nickkory/mc_bot/node_modules/protodef/src/utils.js:70:5)
at Object.readVarInt [as varint]
(/home/nickkory/mc_bot/node_modules/protodef/src/datatypes/utils.js:67:45)
at eval (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:1175:67)
at eval (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:1178:13)
at Object.entityMetadataEntry (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:1185:9)
at Object.entityMetadata (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:1193:47)
at Object.packet_entity_metadata (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:3388:73)
at eval (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:4194:70)
at packet (eval at compile
(/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
:4229:9)
Chunk size is 95 but only 18 was read ; partial packet :
{"name":"entity_equipment","params":{"entityId":1032,"equipments":[{"slot":5,"item":{"itemCount":1,"itemId":1127,"addedComponentCount":3,"removedComponentCount":0,"components":[{"type":"dyed_color","data":{"color":0,"showTooltip":true}},{"type":32767},{"type":"custom_model_data","data":165}],"removeComponents":[]}}]}};
buffer
:5b88080501e70803001800ffffff010da501000a03000f437573746f6d4d6f64656c44617461000000a50a0007646973706c6179030005636f6c6f7200ffffff0001001956567c50726f746f636f6c315f32305f33546f315f32305f350100`
Server Version: 1,21,1
Type: Bukkit or Paper
—
Reply to this email directly, view it on GitHub
<#934>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437SDKARX6RNCY6WF7VDZ5TGCTAVCNFSM6AAAAABQVZBTAGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMNJWGYYTGMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
entityMetadataEntry is the important part
…On Sun, Oct 27, 2024, 13:51 Romain Beaumont ***@***.***> wrote:
"Type: Bukkit or Paper" which one ?
On Sun, Oct 27, 2024, 13:38 Nickkory ***@***.***> wrote:
> Hi,
>
> I'm trying to run a bot on a 1.21.1 server, but I'm getting an error code.
>
> `PartialReadError: Read error for undefined : undefined
> at new ExtendableError
> (/home/nickkory/mc_bot/node_modules/protodef/src/utils.js:63:13)
> at new PartialReadError
> (/home/nickkory/mc_bot/node_modules/protodef/src/utils.js:70:5)
> at Object.readVarInt [as varint]
> (/home/nickkory/mc_bot/node_modules/protodef/src/datatypes/utils.js:67:45)
> at eval (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :1175:67)
> at eval (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :1178:13)
> at Object.entityMetadataEntry (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :1185:9)
> at Object.entityMetadata (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :1193:47)
> at Object.packet_entity_metadata (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :3388:73)
> at eval (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :4194:70)
> at packet (eval at compile
> (/home/nickkory/mc_bot/node_modules/protodef/src/compiler.js:262:12),
> :4229:9)
>
> Chunk size is 95 but only 18 was read ; partial packet :
> {"name":"entity_equipment","params":{"entityId":1032,"equipments":[{"slot":5,"item":{"itemCount":1,"itemId":1127,"addedComponentCount":3,"removedComponentCount":0,"components":[{"type":"dyed_color","data":{"color":0,"showTooltip":true}},{"type":32767},{"type":"custom_model_data","data":165}],"removeComponents":[]}}]}};
> buffer
> :5b88080501e70803001800ffffff010da501000a03000f437573746f6d4d6f64656c44617461000000a50a0007646973706c6179030005636f6c6f7200ffffff0001001956567c50726f746f636f6c315f32305f33546f315f32305f350100`
>
> Server Version: 1,21,1
> Type: Bukkit or Paper
>
> —
> Reply to this email directly, view it on GitHub
> <#934>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAR437SDKARX6RNCY6WF7VDZ5TGCTAVCNFSM6AAAAABQVZBTAGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTMNJWGYYTGMA>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Paper Waterfall |
Any updates? Or maybe hints how i could fix it myself? |
Hi,
I'm trying to run a bot on a 1.21.1 server, but I'm getting an error code.
The text was updated successfully, but these errors were encountered: