Skip to content

Crash during gameplay #34

@flackr

Description

@flackr

The person who was tagged to go next died on their turn.

/home/rob/Documents/dungeon/server/client/js/dungeon-common.js:86
this.characterPlacement[eventData.index].x = eventData.x;
^
TypeError: Cannot set property 'x' of undefined
at Object.processEvent (/home/rob/Documents/dungeon/server/client/js/dungeon-common.js:86:50)
at Object.eventReceived (/home/rob/Documents/dungeon/server/server.js:102:14)
at Socket.$emit (events.js:70:17)
at SocketNamespace.handlePacket (/home/rob/node_modules/socket.io/lib/namespace.js:335:22)
at Manager.onClientMessage (/home/rob/node_modules/socket.io/lib/manager.js:468:38)
at WebSocket.onMessage (/home/rob/node_modules/socket.io/lib/transport.js:387:20)
at Parser. (/home/rob/node_modules/socket.io/lib/transports/websocket/hybi-16.js:40:10)
at Parser.emit (events.js:67:17)
at /home/rob/node_modules/socket.io/lib/transports/websocket/hybi-16.js:289:16
at Parser.expectHandler (/home/rob/node_modules/socket.io/lib/transports/websocket/hybi-16.js:300:15)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions