Skip to content

Kick clients that fail to catch up with server gamelogic

LJ Sonic requested to merge catchup-timeout into next

If a bugged or extremely laggy client fails to run the game logic fast enough to keep up with the rest of the server for an extended period of time (at least 30 seconds), they will eventually fill the input buffer, effectively forcing the entire server to pause until the client catches up, which is pretty unlikely if they failed to do so for so long.

This is technically not a bug, but can be pretty annoying for other players when it happens, so this merge request makes it so that such clients get kicked with "timeout" as the reason.

Spectrum has been hosting with this fix for one day and the issue hasn't occured at all, despite occuring pretty often before.

Edited by LJ Sonic

Merge request reports

Loading