You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Uncaught TypeError: Cannot read properties of undefined (reading 'addPlayer')
games.get(sockets.get(uid).game).addPlayer(uid, sockets.get(uid).name);
^
at Object.joinGame [as method] (file:///home/simon/le10/state_machine.js:96:35)
at file:///home/simon/le10/server.js:100:13
at Array.forEach ()
at WebSocket.websocket.onmessage (file:///home/simon/le10/server.js:96:25)
at WebSocket.wrappedHandler (deno:ext/web/02_event.js:1362:14)
at innerInvokeEventListeners (deno:ext/web/02_event.js:755:9)
at invokeEventListeners (deno:ext/web/02_event.js:795:7)
at dispatch (deno:ext/web/02_event.js:664:11)
at WebSocket.dispatchEvent (deno:ext/web/02_event.js:1043:14)
at WebSocket.[[[eventLoop]]] (deno:ext/websocket/01_websocket.js:427:18)
error: Uncaught TypeError: Cannot read properties of undefined (reading 'state')
if (sockets.get(identifier).state === "InGame")
^
at WebSocket.websocket.onclose(file:///home/simon/le10/server.js:79:32)
at WebSocket.wrappedHandler(deno:ext/web/02_event.js:1302:14)
at innerInvokeEventListeners(deno:ext/web/02_event.js:754:9)
at invokeEventListeners(deno:ext/web/02_event.js:794:7)
at dispatch(deno:ext/web/02_event.js:663:11)
at WebSocket.dispatchEvent(deno:ext/web/02_event.js:1036:14)
at WebSocket.[[eventLoop]]
Game breaking errors that have surfaced. Need to be fixed.
The text was updated successfully, but these errors were encountered:
error: Uncaught TypeError: Cannot read properties of undefined (reading 'addPlayer')
games.get(sockets.get(uid).game).addPlayer(uid, sockets.get(uid).name);
^
at Object.joinGame [as method] (file:///home/simon/le10/state_machine.js:96:35)
at file:///home/simon/le10/server.js:100:13
at Array.forEach ()
at WebSocket.websocket.onmessage (file:///home/simon/le10/server.js:96:25)
at WebSocket.wrappedHandler (deno:ext/web/02_event.js:1362:14)
at innerInvokeEventListeners (deno:ext/web/02_event.js:755:9)
at invokeEventListeners (deno:ext/web/02_event.js:795:7)
at dispatch (deno:ext/web/02_event.js:664:11)
at WebSocket.dispatchEvent (deno:ext/web/02_event.js:1043:14)
at WebSocket.[[[eventLoop]]] (deno:ext/websocket/01_websocket.js:427:18)
TLS alert received: AlertMessagePayload {
level: Fatal,
description: CertificateUnknown,
}
error: Uncaught TypeError: Cannot read properties of undefined (reading 'state')
if (sockets.get(identifier).state === "InGame")
^
at WebSocket.websocket.onclose(file:///home/simon/le10/server.js:79:32)
at WebSocket.wrappedHandler(deno:ext/web/02_event.js:1302:14)
at innerInvokeEventListeners(deno:ext/web/02_event.js:754:9)
at invokeEventListeners(deno:ext/web/02_event.js:794:7)
at dispatch(deno:ext/web/02_event.js:663:11)
at WebSocket.dispatchEvent(deno:ext/web/02_event.js:1036:14)
at WebSocket.[[eventLoop]]
Game breaking errors that have surfaced. Need to be fixed.
The text was updated successfully, but these errors were encountered: