-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
first, start server.
$ node ./bin/slither
second, access slither.io on chrome and execute.
forceServer("localhost", 8080)
finally, start game. but, server is down :(
console log display following (ver 0.0.12-dev)
/Users/yuko/sandbox/slither/src/server.coffee:114
if (value === conn.snake.direction.angle) {
^
TypeError: Cannot read property 'direction' of undefined
at Server.module.exports.Server.handleMessage (/Users/yuko/sandbox/slither/src/server.coffee:101:38)
at WebSocket.emit (events.js:110:17)
at Receiver.onbinary (/Users/yuko/sandbox/slither/node_modules/ws/lib/WebSocket.js:823:10)
at /Users/yuko/sandbox/slither/node_modules/ws/lib/Receiver.js:537:18
at /Users/yuko/sandbox/slither/node_modules/ws/lib/Receiver.js:361:7
at /Users/yuko/sandbox/slither/node_modules/ws/lib/PerMessageDeflate.js:238:5
at afterWrite (_stream_writable.js:361:3)
at onwrite (_stream_writable.js:352:7)
at WritableState.onwrite (_stream_writable.js:105:5)
at afterTransform (_stream_transform.js:99:5)
at TransformState.afterTransform (_stream_transform.js:74:12)
at Zlib.callback (zlib.js:611:5)
I tried 0.0.11... but, I have like that result.
is there any solution ?
thanks :)
Metadata
Metadata
Assignees
Labels
No labels