Swag - IPs

General Stuff about Armagetron, That doesn't belong anywhere else...
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: Swag - IPs

Post by Phytotron »

Z-Man wrote:Certainly, I did not remember them from the top of my head just then and didn't have time to look it up. The setting is
BROWSER_QUERY_FILTER
Its values:
0: The default, all servers are pinged by your client
1: Opt out: Servers you have given a negative score bias (with the - key) are not pinged directly
2: Opt in: Only servers with positive score bias (+) are pinged
3. Manual: No servers are pinged, you need to do it yourself with 'p'
Servers that are not automatically pinged will be shown with outdated information.
Thank you, sir.

So, then, is the only way for a server to show up on the list in the first place, is by your client pinging it? I would have previously thought that was the purpose of the master servers, to gather what all servers are out there and display that to clients. Or is it something in between?
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Swag - IPs

Post by Z-Man »

Phytotron wrote:Or is it something in between?
That. It's a two phase process. First, the client connects to the master and gets a list of all currently active servers. It merges that list with its last known information (the score biases, mostly). It then immediately displays the list on screen as it is, but at that point, only the server names are shown. The connection data is known internally and you could, if you're quick, join any server you want blindly without a ping going out.
Then, in phase two, the client pings all the servers to fetch the extended information the masters don't bother telling everyone because their information usually is outdated or irrelevant: Player count, player lists and the ping value. It's phase two that is configurable as above.
User avatar
Phytotron
Formerly Oscilloscope
Posts: 5042
Joined: Thu Jun 09, 2005 10:06 pm
Location: A site or situation, especially considered in regard to its surroundings.
Contact:

Re: Swag - IPs

Post by Phytotron »

Cool. Gonna bookmark this page.

So, why not run everything (including server player lists, etc.) through the masters first?
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Swag - IPs

Post by Light »

Phytotron wrote:So, why not run everything (including server player lists, etc.) through the masters first?
Seems like it'd be a waste using resources on the master server for information that's very likely not up-to-date and will be overwritten pretty much instantly for most users. Also, that would overwrite our saved lists, which are many times more up-to-date if you're simply switching a server once in a while.

Out of curiosity. Why would you not ping the servers on the list for new information? The only reason I can think of is simply speed if you only intend on ever playing a couple servers.
Post Reply