Opened 6 years ago

Closed 6 years ago

#5193 closed defect (fixed)

Lag warnings not shown until all clients finished the join or dropped

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Alpha 23
Component: Network Keywords:
Cc: Patch:

Description

After the loading screen vanished, players see the "Waiting for other players to connect" screen.

If then a player loses the connection, this is not shown while during the game it is warned about.

enet can have a disconnect tolerance of 60s or more (which will be enforced by D1513 even).

So players may have to wait for one player for more than 60s and assume that he is in the loading screen stage when in fact he may be dropping and the server already detected that he drops, but didn't inform the clients.

So the server should inform the clients in this case too.

Change History (1)

comment:1 by elexis, 6 years ago

Milestone: BacklogAlpha 23
Resolution: fixed
Status: newclosed

In r21832:

Report network timeouts and lag warnings to clients that finished the loading screen but are waiting for other clients to finish it.

This allows the host to distinguish clients that are just slower than everyone else with the loading screen from clients who have most likely disconnected or crashed already and may be considered to be kicked.
This is especially important for Phab:D1513, because that increases the timeout tolerance to a minute or longer.

Fixes #5193
Differential Revision: ​https://code.wildfiregames.com/D1546
Reviewed By: causative

Note: See TracTickets for help on using tickets.