DaRealFreak / teeworlds-stats

PHP project to track and display stats for the game teeworlds
MIT License
0 stars 0 forks source link

ddnet server with > 15 players only returns 15 players #9

Closed DaRealFreak closed 6 years ago

DaRealFreak commented 6 years ago

since the original server/client only allows up to 16 players some servers are only returning 15 players to not mark the server as full for the client. Check ddnet client code and port it to TwRequest to retrieve all players

DaRealFreak commented 6 years ago

ddnet sends a 2nd request to extract the player data, visible here: https://github.com/ddnet/ddnet/blob/0377c020f23f7a85d61c32c55a6811c5dfea73eb/src/mastersrv/mastersrv.h

SERVERBROWSE_GETINFO_64_LEGACY, SERVERBROWSE_INFO_64_LEGACY