Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Latest Renegade Resurrection launcher needed
Re: Latest Renegade Resurrection launcher needed [message #486764 is a reply to message #486738] Fri, 14 March 2014 04:11 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
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%.

index.php?t=getfile&id=14888&private=0
  • Attachment: poo.png
    (Size: 31.09KB, Downloaded 291 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: base defense aim
Next Topic: animated damageable objects
Goto Forum:
  


Current Time: Mon Dec 23 10:21:00 MST 2024

Total time taken to generate the page: 0.01035 seconds