-
-
Notifications
You must be signed in to change notification settings - Fork 240
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
bad 1.20.5 slot types: The value of "offset" is out of range. #1348
Labels
Comments
"vanilla/spigot/paper" which one?
…On Mon, Nov 4, 2024, 13:20 Vok1no ***@***.***> wrote:
[ ] The FAQ
<https://github.com/PrismarineJS/node-minecraft-protocol/blob/master/docs/FAQ.md>
doesn't contain a resolution to my issue
Versions
- minecraft-protocol: 1.50.0
- server: vanilla/spigot/paper 1.21.1
- node: 22.9.0
Detailed description of a problem
A clear and concise description of what the problem is.
When the inventory is opened, this error pops up
RangeError [ERR_OUT_OF_RANGE]: Read error for undefined : The value of
"offset" is out of range. It must be >= 0 and <= 37167. Received -1146269363
0|0 | at boundsError (node:internal/buffer:88:9)
0|0 | at Buffer.readUInt8 (node:internal/buffer:254:5)
0|0 | at Object.readVarInt [as varint]
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/datatypes/utils.js:68:22)
0|0 | at Object.string (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:97:61)
0|0 | at Object.BookPage (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:810:63)
0|0 | at eval (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:439:44)
0|0 | at eval (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:444:15)
0|0 | at eval (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:447:13)
0|0 | at Object.SlotComponent (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:729:9)
0|0 | at eval (eval at compile
(/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12),
:748:49) {
0|0 | code: 'ERR_OUT_OF_RANGE',
0|0 | field: 'play.toClient'
0|0 | }
Current code
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
—
Reply to this email directly, view it on GitHub
<#1348>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437XCSARGBKT66YNUF3DZ65RAXAVCNFSM6AAAAABREEFSJWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTENRXGEYTMOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
2 tasks
extremeheat
changed the title
The value of "offset" is out of range.
bad 1.20.5 slot types: The value of "offset" is out of range.
Dec 14, 2024
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[ ] The FAQ doesn't contain a resolution to my issue
Versions
Detailed description of a problem
A clear and concise description of what the problem is.
When the inventory is opened, this error pops up
RangeError [ERR_OUT_OF_RANGE]: Read error for undefined : The value of "offset" is out of range. It must be >= 0 and <= 37167. Received -1146269363
0|0 | at boundsError (node:internal/buffer:88:9)
0|0 | at Buffer.readUInt8 (node:internal/buffer:254:5)
0|0 | at Object.readVarInt [as varint] (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/datatypes/utils.js:68:22)
0|0 | at Object.string (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :97:61)
0|0 | at Object.BookPage (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :810:63)
0|0 | at eval (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :439:44)
0|0 | at eval (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :444:15)
0|0 | at eval (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :447:13)
0|0 | at Object.SlotComponent (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :729:9)
0|0 | at eval (eval at compile (/home/botsServer/node_modules/minecraft-protocol/node_modules/protodef/src/compiler.js:262:12), :748:49) {
0|0 | code: 'ERR_OUT_OF_RANGE',
0|0 | field: 'play.toClient'
0|0 | }
Current code
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: