Package.decode

[2018-02-01 19:09:57.766] [INFO] console - offset = 1
[2018-02-01 19:09:57.766] [INFO] console - 0
[2018-02-01 19:09:57.766] [INFO] console - 0
[2018-02-01 19:09:57.766] [INFO] console - 64
[2018-02-01 19:09:57.766] [INFO] console - Package decode length = 64
[2018-02-01 19:09:57.767] [INFO] console - offset = 69
[2018-02-01 19:09:57.767] [INFO] console - 125
[2018-02-01 19:09:57.767] [INFO] console - undefined
[2018-02-01 19:09:57.767] [INFO] console - undefined
[2018-02-01 19:09:57.767] [INFO] console - Package decode length = 8192000
[2018-02-01 19:09:57.767] [ERROR] console - Caught exception: RangeError: out of range index
at Buffer.copy (buffer.js:602:18)
at copyArray (D:\workerspace\GameServerProject\game-server\node_modules\pomelo-protocol\lib\protocol.js:289:11)
at Object.Package.decode (D:\workerspace\GameServerProject\game-server\node_modules\pomelo-protocol\lib\protocol.js:158:9)
at WebSocket.<anonymous> (D:\workerspace\GameServerProject\game-server\node_modules\pomelo\lib\connectors\hybridsocket.js:40:21)
at emitTwo (events.js:126:13)
at WebSocket.emit (events.js:214:7)
at Receiver.ontext (D:\workerspace\GameServerProject\game-server\node_modules\ws\lib\WebSocket.js:841:10)
at D:\workerspace\GameServerProject\game-server\node_modules\ws\lib\Receiver.js:536:18
at Receiver.applyExtensions (D:\workerspace\GameServerProject\game-server\node_modules\ws\lib\Receiver.js:371:5)
at D:\workerspace\GameServerProject\game-server\node_modules\ws\lib\Receiver.js:508:14
[2018-02-01 19:09:57.806] [INFO] console - host = 192.168.199.224 port = 3010 token = 6ac05f3205254f7f6fde47f2f2edc100fd7bd8058e568141c89ecbd72ad3aa98c7f1e9f6d3eab11b696274c36b341b83698d6be38a5e616de1
7d9b89bef91f1f

标签: pomelo
freebag 在 2-1 19:15发布 分享到 weibo
回到顶部