Skip to content

If the IP address is too short, an error message is displayed! #283

@Mc-andan

Description

@Mc-andan
E:\MineTrack\node_modules\bytebuffer\dist\ByteBufferNB.js:633
                throw RangeError("Illegal offset: 0 <= "+offset+" (+"+2+") <= "+this.buffer.length);
                ^

RangeError: Illegal offset: 0 <= 33 (+2) <= 33
    at ByteBuffer.module.exports.ByteBufferPrototype.readInt16 (E:\MineTrack\node_modules\bytebuffer\dist\ByteBufferNB.js:633:23)
    at UNCONNECTED_PONG.decode (E:\MineTrack\node_modules\mcpe-ping-fixed\index.js:68:29)
    at E:\MineTrack\node_modules\mcpe-ping-fixed\index.js:140:14
    at Socket.emit (node:events:390:28)
    at UDP.onMessage [as onmessage] (node:dgram:939:8)

Node.js v17.2.0
{
	"name": "test",
	"ip": "106.2.xx.xx",
	"type": "PE"
}


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions