Open nheir opened 5 years ago
DDNet solves this by sending multiple packets: https://github.com/ddnet/ddnet/pull/322, serverinfo_extended.md.
This is now excarbated by the implementation of #2741. Player/clan names can be as long as 64 bytes, so you can't even reliably fit 16 players into the server info packet.
The ServerInfo packet size can be greater than the the max allowed packet size. Basically, a ServerInfo packet is composed by :
Step to reproduce: Fill a 64 clients server with player names and clan names of max size.
[netserver]: packet payload too big. 2035. dropping packet
Edit: updated with respect to https://github.com/teeworlds/teeworlds/commit/5aebb3061f807c00d4051bc439e48029ed40e902