r/howdidtheycodeit • u/Gonzako • Mar 17 '21
How do server browsers work? Specially old ones where there no more running servers on
44
Upvotes
r/howdidtheycodeit • u/Gonzako • Mar 17 '21
54
u/[deleted] Mar 18 '21
There's a master server that all game servers periodically report to. It keeps a list of all servers that have made contact within a certain time period. A server browser is just asking the master server for a small slice of that list based on certain criteria, like most recently active, location or a minimum number of players.
If the game has reached end of life and all servers have been shutdown, you'll just get an error saying there are no servers. Not really any different than if you were to unplug your internet. Some might just patch out the functionality entirely.