|
|
|
|
Re: Latest Renegade Resurrection launcher needed [message #486764 is a reply to message #486738] |
Fri, 14 March 2014 04:11 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
Need to add asynchronous game servers querying and parsing, more efficient UDP read code and a game server class which stores server info and player info (currently just using a hash map/dictionary).
It's actually possible to query the game servers directly (bypassing the GameSpy master list), it's what RenList does for servers added as GSA server favorites. All that's needed is IP and port. There's two steps:
1. Query the GSA master server via TCP which will send back a list of game server IPs + ports.
2. Query every game server with "\\status\\" which sends out all data in two packets. In 2 UDP packets most of the time.
What can be (and isn't done by RenList, but it looks like the RR launcher does) is caching the server list returned by the GSA master server and querying the cached server list. Then afterwards or concurrently querying the master server list and updating the cache when done and querying any game server not listed in the previous cache. That should reduce time taken refreshing the server list by at least ~50%.
-
Attachment: poo.png
(Size: 31.09KB, Downloaded 290 times)
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Fri, 14 March 2014 05:40] Report message to a moderator
|
|
|
|