Slither-Server icon indicating copy to clipboard operation
Slither-Server copied to clipboard

The problem happend when I connect the server.

Open a632283395 opened this issue 9 years ago • 2 comments

D:\Plither-master\src\server\index.js:81 if (value === conn.snake.direction.angle) { ^

TypeError: Cannot read property 'direction' of undefined at WebSocketServer.handleMessage (D:\Plither-master\src\server
index.js:81:37) at emitTwo (events.js:87:13) at WebSocket.emit (events.js:172:7) at Receiver.onbinary (D:\Plither-master\node_modules\ws\lib\Web Socket.js:848:10) at D:\Plither-master\node_modules\ws\lib\Receiver.js:628:18 at D:\Plither-master\node_modules\ws\lib\Receiver.js:368:7 at D:\Plither-master\node_modules\ws\lib\PerMessageDeflate.js:2 49:5 at afterWrite (_stream_writable.js:354:3) at onwrite (_stream_writable.js:345:7) at WritableState.onwrite (_stream_writable.js:89:5)

here is the crash log. seems like a issue with code? please help !

a632283395 avatar Oct 07 '16 10:10 a632283395

Try this client

game.txt

carcabot avatar Nov 29 '16 09:11 carcabot

how i run this client???

netceil avatar May 31 '19 17:05 netceil

block the game script and paste it into the console I found out it doesn't work though

CryptoDude3 avatar Jun 13 '20 15:06 CryptoDude3