m-byte918 / MultiOgarII

A continued version of the original MultiOgar, an open source Ogar server implementation written with Node.js.
Apache License 2.0
128 stars 131 forks source link

Out of range #1510

Closed vanquishes closed 5 years ago

vanquishes commented 5 years ago

So, I went to start my server and went to play, and when I connect I see this. | [WARN] User account "Local User" disabled | [INFO] 0 user records loaded. | [INFO] 0 IP ban records loaded. | [INFO] MultiOgar-Edited 1.6.0 - An open source multi-protocol ogar server | [INFO] WebSocket: ws (node:19360) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. | [INFO] Started stats server on port 88 | [INFO] Listening on port 4444 | [INFO] Current game mode is Free For All | [INFO] Added 30 player bots


| \/ | | | |()/ _ \ _ | __|| () | _ | | / | / / / \ | |\/| | | | | | | | | | |/ ` |/ | '__|____| _| / _ | | / \/ ` | | || ' | | | | | | | | || | | || | || | (| | (| | | |___| || (_| | | || / (| | | || () | || | || ||_,||_||_/ _, |_,|| |____,||__|_,| |()_()/ |_/ | [FATAL] RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= 0 and <= 4294967295. Received -3155 at checkInt (internal/buffer.js:58:11) at writeU_Int32LE (internal/buffer.js:678:3) at Buffer.writeUInt32LE (internal/buffer.js:691:10) at BinaryWriter.writeUInt32 (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\packet\BinaryWriter.js:32:18) at UpdateNodes.writeUpdateItems5 (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\packet\UpdateNodes.js:116:16) at UpdateNodes.build (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\packet\UpdateNodes.js:20:34) at PacketHandler.sendPacket (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\PacketHandler.js:314:29) at PlayerTracker.sendUpdate (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\PlayerTracker.js:300:19) at GameServer.updateClients (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\GameServer.js:435:39) at GameServer.mainLoop (C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\src\GameServer.js:602:10)

C:\Users\User1\Desktop\Games\MultiOgar-Edited-1.6.0\MultiOgar-Edited-1.6.0\run>pause Press any key to continue . . . Can someone help???

ghost commented 5 years ago

May i know what version of NodeJS you're using? Please provide the output of the following command:

node -v
ghost commented 5 years ago

Closing, inactive.