Open laifrank2002 opened 5 years ago
Happens multiple times for some reason... Yet still can move around and shoot, yet bullets do nothing.
Hmmm...
Websockets disconnect randomly with network issues. We remember this from colour_chat
.
The way the server is set up is that when the player disconnects, the event listeners on the server (for kills, etc) are removed. But nothing happens when the player reconnects.
You know what: I see if I can fix this.
The problem happens when the player disconnects n times, for some reason can still move, can shoot, but projectiles not hitting. That... shouldn't be happening. It's really weird. The disconnect message will refires like 10 times...
I have no idea what this can be, if I'm honest.
I'll see if I can add a reconnect
event handler.
Sometimes the player disappears and randomly disconnects from server even when tab is open.