2 Commits
Author SHA1 Message Date
Viktor Semenov 642a492c92 Kick players sending commands for out-of-range turns
A command for a huge turn made the server resize saved commands and
clients their command queues to that size, running out of memory.
Reject turns below 0 or beyond MAX_COMMAND_TURN_FACTOR * COMMAND_DELAY_MP
ahead of the ready turn, before relaying, and kick the sender.
2026-10-22 13:34:13 +02:00
Viktor Semenov 683a9cb06e Not send redundant argument to StartNetworkGame
Engine part does not expect third argument to StartNetworkGame function.
All network games save replays by default.
2025-04-09 16:11:11 +00:00