Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem happend when I connect the server. #28

Open
a632283395 opened this issue Oct 7, 2016 · 3 comments
Open

The problem happend when I connect the server. #28

a632283395 opened this issue Oct 7, 2016 · 3 comments

Comments

@a632283395
Copy link

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 !

@carcabot
Copy link

Try this client

game.txt

@julcioo
Copy link

julcioo commented May 31, 2019

how i run this client???

@CryptoDude3
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants