Menu

#37 QStat does not query properly master3.idsoftware.com

v1.0 (example)
closed-fixed
nobody
None
5
2015-02-21
2014-11-11
No

Hi,

I found some servers in the server list of the truecombat quake3 mod that are not in XQF lists.

I discover that the game query the 192.246.40.56 server (which is master3.idsoftware.com) on the port 27950 with UDP protocol.

I see with Wireshark this query:

0000   ff ff ff ff 67 65 74 73 65 72 76 65 72 73 20 36  ....getservers 6
0010   38 20 66 75 6c 6c 20 65 6d 70 74 79              8 full empty

The query is: \0xff\0xff\0xff\0xffgetservers 68 full empty
The string is: getservers 68 full empty

Then I see a response with many server adresses in it.

But if I do:

qstat -q3m master3.idsoftware.com
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
Q3M  master3.idsoftware.com no response

I get nothing.

While using QStat, Wireshark shows me this request, without any response:

0000   ff ff ff ff 67 65 74 73 65 72 76 65 72 73 20 36  ....getservers 6
0010   38 20 65 6d 70 74 79 20 66 75 6c 6c 20 64 65 6d  8 empty full dem
0020   6f 0a                                            o.

The query is: \0xff\0xff\0xff\0xffgetservers 68 empty full demo\n
The string is: getservers 68 empty full demo\n

I use the current SVN version of QStat.

Since the Q3 master protocol support is broken for some official master servers in QStat, it is broken in XQF too.

Discussion

  • Thomas Debesse

    Thomas Debesse - 2014-11-14

    Hi, with this patch, QStat queries successfully master3.idsoftware.com and master.quake3arena.com. These master servers list some servers that are not listed by other masters.

    This patch does only one thing: it does not query for quake3 demo servers.

    Since official master server from idsoftware does not support them, we can drop this support. I guess there is no need to support a 16 years old demo.

     

    Last edit: Thomas Debesse 2014-11-14
  • Steven Hartland

    Steven Hartland - 2014-11-15

    Patch committed thanks Thomas

    For reference I've moved out repo github now so its easier to work with you can find it here:
    https://github.com/multiplay/qstat

     
  • Thomas Debesse

    Thomas Debesse - 2014-11-15

    Patch committed thanks Thomas

    Thanks a lot!

    For reference I've moved out repo github now so its easier to work with you can find it here: https://github.com/multiplay/qstat

    Nice, it's a good thing. It will be easier to contribute.

    I found some unofficial clones on Github before (like this one that add json output: https://github.com/eXprojects/qstat ) can you add a Description that says your repo is the official one and not a clone? It will be easier for contributors to find it and trust it. :-)

     
  • Steven Hartland

    Steven Hartland - 2014-11-15

    Done, also added details to README.md about the migration and pinged eXprojects to see if they want to do a pull request for their json output changes :D

     

    Last edit: Steven Hartland 2014-11-15
  • Steven Hartland

    Steven Hartland - 2015-02-21
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB