blurredd
Jul 16, 2009, 12:21 PM
My previous threads dealing with players timing out and creating a more convenient way for zipping level packs didn't get the type of response I was looking for (so far anyway), but I'm hoping this thread is different considering others are showing interest in further development in this area.
Basically what I want to propose is adapting an existing query protocol to be used with JJ2 in place of the current inefficient method of having a fake player join a server and retrieving information. I'm partial towards using the Gamespy Query Protocol version 4 (read more about it here (http://www.int64.org/docs/gamestat-protocols/gamespy2.html) and here (http://wiki.unrealadmin.org/UT3_query_protocol)), although it's mainly because it's used by UT3 and I like implementing Unreal Tournament ideas into JJ2 (must be because of the Epic relation).
I'm thinking a script would have to query the port that is server's hosting port + 1, so by default the query port would be 10053. The list servers should be updated to be able to handle custom game types and the like. A packet sent by a server connecting to the list servers will be used to indicate the server is capable of accepting the newer form of queries when listed in the server list.
I'm probably forgetting something, but I mostly want to get this out there before I forget to post this again. I would like to help establish a standard way of doing everything I proposed before I start work on anything (unlike what I did with JJ2+).
Basically what I want to propose is adapting an existing query protocol to be used with JJ2 in place of the current inefficient method of having a fake player join a server and retrieving information. I'm partial towards using the Gamespy Query Protocol version 4 (read more about it here (http://www.int64.org/docs/gamestat-protocols/gamespy2.html) and here (http://wiki.unrealadmin.org/UT3_query_protocol)), although it's mainly because it's used by UT3 and I like implementing Unreal Tournament ideas into JJ2 (must be because of the Epic relation).
I'm thinking a script would have to query the port that is server's hosting port + 1, so by default the query port would be 10053. The list servers should be updated to be able to handle custom game types and the like. A packet sent by a server connecting to the list servers will be used to indicate the server is capable of accepting the newer form of queries when listed in the server list.
I'm probably forgetting something, but I mostly want to get this out there before I forget to post this again. I would like to help establish a standard way of doing everything I proposed before I start work on anything (unlike what I did with JJ2+).