Pages: [1]
  Print  
Author Topic: openarena and QStat  (Read 8272 times)
vindimy
Bigger member


Cakes 15
Posts: 161


lolwut?


WWW
« on: May 27, 2009, 08:32:10 PM »

So, some of you might have heard of QStat (http://qstat.org), a free tool to query Quake3 and compatible game servers and masters.

Sadly, it doesn't work for Openarena 0.8.1 out of the box. There's a small modification that needs to be done to qstat.cfg. Add the following to it:

Code:
gametype OA081S new extend Q3S
    name = Openarena Server 081
    template var = OA081S
    game rule = gamename
end
gametype OA081M new extend Q3M
    name = Openarena Master
    default port = 27950
    master for gametype = OA081S
    master protocol = 71
end

After that, QStat can query master server like this (note that XML option is not required):

Code:
qstat -xml -oa081m dpmaster.deathmask.net:27950

QStat would also be able to query game server like that:

Code:
qstat -xml -oa081s SERVER-ADDR:PORT

By the way, I always wondered: who is paying/maintaining the dpmaster.deathmask.net? It seems to run the master list for a few opensource games...
Logged

Mathieu Olivier
Nub


Cakes 1
Posts: 4


« Reply #1 on: June 05, 2009, 06:33:27 AM »

By the way, I always wondered: who is paying/maintaining the dpmaster.deathmask.net? It seems to run the master list for a few opensource games...

dpmaster.deathmask.net is run by Willis as part of his greater DeathMask.net empire, which also hosts the Transfusion website for instance.
As for the various master lists, dpmaster.deathmask.net has an open dpmaster running on it, which means it accepts all games wanting to use it as a master. As you noticed, Warsow, Nexuiz, Transfusion and OpenArena do so. Tremulous and Urban Terror lists are also provided for convenience, but they run their own masters on their servers, as you can see on top of the page (ex: "Master Server: master.urbanterror.net", for UT).
Logged
vindimy
Bigger member


Cakes 15
Posts: 161


lolwut?


WWW
« Reply #2 on: June 08, 2009, 11:01:38 AM »

Thanks for the info.

In case this dpmaster goes down, Openarena multiplayer instantly becomes useless as there's no way to configure it to use a different dpmaster (e.g. the setting is hardcoded). Maybe in next release the setting could be made configurable... Just sayin'.
Logged

sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #3 on: June 08, 2009, 11:30:11 AM »

The master server is not hardcoded. It is stored in the cvar sv_master1. The next version will even allow sv_master2, 3, 4 and 5 to be used on the client (will be inherited from ioquake3 at some point).

EDIT:
Yes it is not logical that a sv_* cvar affects the cl_ space but ioquake3 must have decided that it was stupid to have two cvars with the same information.
« Last Edit: June 16, 2009, 07:42:51 AM by sago007 » Logged

There are nothing offending in my posts.
Pages: [1]
  Print  
 
Jump to: