xna-cncnet-client
xna-cncnet-client copied to clipboard
Game rooms loading slow upon joining lobby
Game rooms load up incredible slow when you joined main lobby. Its like 1 room each 1 second. https://forums.cncnet.org/index.php?topic=6884.msg49933#msg49933
-- There's a good chance this could be enhanced. The old client could pretty much list game listings instantly.
The game broadcast interval is 30 seconds on the new client unless the host changes the map or game mode, in which case it's set to max 10 seconds from the time the map was changed. So the game list takes up to 30 seconds to populate. This is to avoid GameSurge kicking players for excess flood.
But it might be possible to lower the interval without causing issues.
A solution to this would be implement a starting game list using polling to fetch the room list based on prefix and fetch their descriptions from the list which would contain the info that is usually broadcasted.