OctaForge/OF-Engine

Networking timeout

Closed this issue · 1 comments

It's likely during a multiplayer session someone will crash, whether its related to a glitch or the computer itself, this will leave an instance of the other character there until server restart. Having a timeout would be good for preventing this.
One possible way to go about it is sending a packet to the client every minute or so, and if nothing is received back, remove that instance of a player.

q66 commented

not relevant for now as only 1 player per server is supported, and server will automatically timeout