Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKhatharr

Posted 26 September 2012 - 12:18 PM

Possibly the pings listed for servers by games such as TF2 are ping times from the server in question to what you describe as a 'master server'.

If it were just an issue of a huge unsorted list then you could just ping the server as it's scrolled into the list, but since ping time is something you'd want to sort by that wouldn't really work if you're pinging from the client machine for the reason you mentioned.

A hybrid approach may be viable. Sort the list tentatively by the ping to the list server (plus the client's ping to the list server, maybe minus a small % if you're off by a lot, depending on how your game's routing works) and then have the client ping the top N servers in the list. Pinging is pretty lightweight, especially if you don't retry, but it's wise to throttle it anyway since a some consumer ISPs will actually halt your service temporarily if they think you may be ICMP flooding.

I'm not really sure what you mean when you say fancy math.

#2Khatharr

Posted 26 September 2012 - 12:16 PM

Possibly the pings listed for servers by games such as TF2 are ping times from the server in question to what you describe as a 'master server'.

If it were just an issue of a huge unsorted list then you could just ping the server as it's scrolled into the list, but since ping time is something you'd want to sort by that wouldn't really work if you're pinging from the client machine for the reason you mentioned.

A hybrid approach may be viable. Sort the list tentatively by the ping to the list server (plus the client's ping to the list server, maybe minus a small % if you're off by a lot) and then have the client ping the top N servers in the list. Pinging is pretty lightweight, especially if you don't retry, but it's wise to throttle it anyway since a some consumer ISPs will actually halt your service temporarily if they think you may be ICMP flooding.

#1Khatharr

Posted 26 September 2012 - 12:09 PM

Possibly the pings listed for servers by games such as TF2 are ping times from the server in question to what you describe as a 'master server'.

If it were just an issue of a huge unsorted list then you could just ping the server as it's scrolled into the list, but since ping time is something you'd want to sort by that wouldn't really work if you're pinging from the client machine for the reason you mentioned.

A hybrid approach may be viable. Sort the list tentatively by the ping to the list server and then have the client ping the top N servers in the list. Pinging is pretty lightweight, especially if you don't retry, but it's wise to throttle it anyway since a some consumer ISPs will actually halt your service temporarily if they think you may be IMCP flooding.

PARTNERS