DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

Vessel lock not released when player crashes

JoshBlake opened this issue ยท 3 comments

commented

Player 1 was landed at KSC in vessel 1 outside of the safety bubble.
Player 2 was landed at KSC nearby in vessel 2 outside the safety bubble.

Player 2's DMP mod crashed with exception, disconnecting him.
Player 1 now sees the vessel locked by another player message anytime viewing vessel 2, even though that player left (and then returned.)

commented

That's slightly odd, A player disconnect event should release all the locks...

commented

@godarklight What if when a player crashes, it doesn't send the disconnect event properly? Could be the issue.

commented

This definitely should not happen. There's only one way a client can be disconnected and it has to release the locks: https://github.com/godarklight/DarkMultiPlayer/blob/master/Server/ClientHandler.cs#L860-L862 and