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

code: 'ERR_OUT_OF_RANGE', field: 'play.toClient' #421

Open
Jake36921 opened this issue Jan 26, 2025 · 0 comments
Open

code: 'ERR_OUT_OF_RANGE', field: 'play.toClient' #421

Jake36921 opened this issue Jan 26, 2025 · 0 comments

Comments

@Jake36921
Copy link

Error event! {}
Bot disconnected! Killing agent process. keepAliveError
Storing memories...
Saved memory to: ./bots/Ciel_Test/memory.json
Client disconnected
Agent process exited with code 1 and signal null
Restarting agent...
Starting agent with profile: ./andy.json
Starting agent initialization with profile: ./andy.json
Initializing action manager...
Initializing prompter...
Using chat settings: { model: 'gemini-1.5-flash', api: 'google' }
Using embedding settings: { api: 'google' }
Initializing history...
Initializing coder...
Initializing npc controller...
Initializing memory bank...
Initializing self prompter...
Initializing examples...
(node:28380) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Examples initialized.
Initializing task...
Ciel_Test logging into minecraft...
Loaded memory:
Client connected
Connected to MindServer
Ciel_Test logged in!
[RangeError [ERR_OUT_OF_RANGE]: Read error for undefined : The value of "offset" is out of range. It must be >= 0 and <= 51763. Received -1951569254
at boundsError (node:internal/buffer:88:9)
at Buffer.readUInt8 (node:internal/buffer:254:5)
at Object.readVarInt [as varint] (A:\etc\mindcraft\node_modules\protodef\src\datatypes\varint.js:20:25)
at Object.string (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :104:61)
at eval (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :638:75)
at eval (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :643:17)
at eval (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :648:15)
at eval (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :650:13)
at Object.SlotComponent (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :755:9)
at eval (eval at compile (A:\etc\mindcraft\node_modules\protodef\src\compiler.js:262:12), :774:49)] {
code: 'ERR_OUT_OF_RANGE',
field: 'play.toClient'
}
Client disconnected
Agent process exited with code 0 and signal null

It is something related to the playerdata or status of the player/bot in the world. Deleting it seems to fix it but it would comeback after a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant