cokolele / terraria-player-parser

🧙 Terraria player file parser written in javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.4.2.3 Not working :(

summerlightningman opened this issue · comments

const plrr = plr3.parse()
Uncaught:
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 2620. Received 2779
    at new NodeError (internal/errors.js:322:7)
    at boundsError (internal/buffer.js:85:9)
    at Uint8Array.readInt32LE (internal/buffer.js:389:5)
    at terrariaPlayerParser.readInt32 (C:\Users\formy\Desktop\njkm\src\node\utils\terraria-file-parser.js:20:28)
    at terrariaPlayerParser.parsePlayer (C:\Users\formy\Desktop\njkm\src\node\terraria-player-parser.js:157:29)
    at terrariaPlayerParser.parse (C:\Users\formy\Desktop\njkm\src\node\terraria-player-parser.js:25:25)
    at REPL42:1:19
    at Script.runInThisContext (vm.js:134:12)
    at REPLServer.defaultEval (repl.js:566:29)
    at bound (domain.js:421:15) {
  name: 'TerrariaPlayerParserError',
  userMessage: 'Problem with parsing the file'