No description
Find a file
Steven Hartland bb34c265ca
ci: update github actions (#130)
Update github actions to use latest versions, fixing use of unavailable
versions.
2026-01-07 17:19:51 +00:00
.github/workflows ci: update github actions (#130) 2026-01-07 17:19:51 +00:00
info remove obsolete .cvsignore files 2008-11-25 08:52:31 +00:00
scripts feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
template remove obsolete .cvsignore files 2008-11-25 08:52:31 +00:00
tests use query_status_t for functions that are already ported to the new return values 2009-07-02 10:11:41 +00:00
.gitignore feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
a2s.c feat(a2c): Reflection mitigation support (#109) 2021-09-27 19:53:05 +01:00
a2s.h Added KSP support 2014-10-16 10:48:12 +00:00
armyops.c uncrustify the code 2016-12-16 17:48:18 +00:00
armyops.h Extract json support to its own files 2016-11-27 02:08:17 +00:00
autogen.sh The following changes where made in order to fix a number key issues with how qstat processes packets. 2008-04-24 22:15:54 +00:00
bfbc2.c uncrustify the code 2016-12-16 17:48:18 +00:00
bfbc2.h uncrustify the code 2016-12-16 17:48:18 +00:00
ChangeLog Added $SCORE for player score 2003-02-23 18:57:55 +00:00
CHANGES.txt Added KSP support 2014-10-16 10:48:12 +00:00
COMPILE.md feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
config.c fix(config): avoid -Wstringop-truncation 2021-09-28 09:40:13 +01:00
config.h uncrustify the code 2016-12-16 17:48:18 +00:00
configure.ac feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
contrib.cfg Initial revision 2002-11-14 02:33:53 +00:00
crysis.c feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
crysis.h uncrustify the code 2016-12-16 17:48:18 +00:00
cube2.c uncrustify the code 2016-12-16 17:48:18 +00:00
cube2.h uncrustify the code 2016-12-16 17:48:18 +00:00
debug.c qstat: fix build failure against gcc-10 2020-01-26 12:25:29 +00:00
debug.h qstat: fix build failure against gcc-10 2020-01-26 12:25:29 +00:00
dirtybomb.c uncrustify the code 2016-12-16 17:48:18 +00:00
dirtybomb.h uncrustify the code 2016-12-16 17:48:18 +00:00
display_json.c feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
display_json.h qstat: fix build failure against gcc-10 2020-01-26 12:25:29 +00:00
doom3.c uncrustify the code 2016-12-16 17:48:18 +00:00
doom3.h uncrustify the code 2016-12-16 17:48:18 +00:00
farmsim.c uncrustify the code 2016-12-16 17:48:18 +00:00
farmsim.h uncrustify the code 2016-12-16 17:48:18 +00:00
fl.c uncrustify the code 2016-12-16 17:48:18 +00:00
fl.h Added KSP support 2014-10-16 10:48:12 +00:00
gps.c uncrustify the code 2016-12-16 17:48:18 +00:00
gps.h uncrustify the code 2016-12-16 17:48:18 +00:00
gs2.c uncrustify the code 2016-12-16 17:48:18 +00:00
gs2.h uncrustify the code 2016-12-16 17:48:18 +00:00
gs3.c uncrustify the code 2016-12-16 17:48:18 +00:00
gs3.h uncrustify the code 2016-12-16 17:48:18 +00:00
haze.c uncrustify the code 2016-12-16 17:48:18 +00:00
haze.h uncrustify the code 2016-12-16 17:48:18 +00:00
hcache.c uncrustify the code 2016-12-16 17:48:18 +00:00
ksp.c uncrustify the code 2016-12-16 17:48:18 +00:00
ksp.h uncrustify the code 2016-12-16 17:48:18 +00:00
LICENSE.txt Migration to Artistic 2.0 2008-09-10 03:18:37 +00:00
Makefile.am fix(build): remove automake debugging 2021-07-04 13:58:24 +01:00
Makefile.noauto feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
md5.c uncrustify the code 2016-12-16 17:48:18 +00:00
md5.h uncrustify the code 2016-12-16 17:48:18 +00:00
mumble.c fix(mumble): buffer overrun in sprintf 2021-09-28 09:40:13 +01:00
mumble.h uncrustify the code 2016-12-16 17:48:18 +00:00
ottd.c uncrustify the code 2016-12-16 17:48:18 +00:00
ottd.h Added KSP support 2014-10-16 10:48:12 +00:00
packet_manip.c fix: packet_func cast (#129) 2026-01-07 15:01:21 +00:00
packet_manip.h uncrustify the code 2016-12-16 17:48:18 +00:00
qserver.c fix(hexen2): player details (#115) 2021-10-09 19:02:53 +01:00
qserver.h fix(hexen2): player details (#115) 2021-10-09 19:02:53 +01:00
qstat.c fix(hexen2): player details (#115) 2021-10-09 19:02:53 +01:00
qstat.cfg feat: doombringer support (#99) 2021-04-13 11:35:03 +01:00
qstat.h Merge pull request #106 from multiplay/feat/tf_allow_query_args 2021-07-22 13:19:38 +01:00
qstatdoc.html docu fixes 2009-07-02 10:13:04 +00:00
README.md Update README.md 2014-11-15 16:09:43 +00:00
starmade.c uncrustify the code 2016-12-16 17:48:18 +00:00
starmade.h uncrustify the code 2016-12-16 17:48:18 +00:00
tee.c teeworlds: do not allocate for ipv6 servers 2018-03-23 23:08:24 +00:00
tee.h add teeworlds master query, fix #5 2016-12-20 02:18:56 +01:00
template.c uncrustify the code 2016-12-16 17:48:18 +00:00
terraria.c uncrustify the code 2016-12-16 17:48:18 +00:00
terraria.h uncrustify the code 2016-12-16 17:48:18 +00:00
tf.c Add titanfall stats 2018-11-30 17:22:41 +00:00
tf.h Add Titanfall support 2015-07-10 14:54:31 +00:00
tm.c uncrustify the code 2016-12-16 17:48:18 +00:00
tm.h uncrustify the code 2016-12-16 17:48:18 +00:00
ts2.c uncrustify the code 2016-12-16 17:48:18 +00:00
ts2.h uncrustify the code 2016-12-16 17:48:18 +00:00
ts3.c Fixed ts3 login parameter order 2017-09-15 18:50:40 +00:00
ts3.h uncrustify the code 2016-12-16 17:48:18 +00:00
uncrustify.cfg uncrustify the code 2016-12-16 17:48:18 +00:00
ut2004.c fix(ut2004): cdkey file detection on Windows (#110) 2021-09-23 21:24:23 +01:00
ut2004.h Added KSP support 2014-10-16 10:48:12 +00:00
utils.c fix(utils): protect against errors in str_replace 2021-09-28 09:40:13 +01:00
utils.h fix(utils): protect against errors in str_replace 2021-09-28 09:40:13 +01:00
ventrilo.c uncrustify the code 2016-12-16 17:48:18 +00:00
ventrilo.h uncrustify the code 2016-12-16 17:48:18 +00:00
version.h.tmpl feat(build): add build version and Windows CI 2021-07-04 00:04:29 +01:00
wic.c uncrustify the code 2016-12-16 17:48:18 +00:00
wic.h uncrustify the code 2016-12-16 17:48:18 +00:00
xform.c fix(xform): remove duplicate definition of EX_OSERR 2021-09-28 09:40:13 +01:00
xform.h uncrustify the code 2016-12-16 17:48:18 +00:00

qstat

QStat is a command-line program that displays information about Internet game servers. The servers are either down, non-responsive, or running a game. For servers running a game, the server name, map name, current number of players, and response time are displayed. Server rules and player information may also be displayed.

Supported Games

Games supported include Quake, QuakeWorld, Hexen II, Quake II, HexenWorld, Unreal, Half-Life, Sin, Shogo, Tribes, Tribes 2, Quake III: Arena, BFRIS, Kingpin, and Heretic II, Unreal Tournament, Soldier of Fortune, Rogue Spear, Redline, Turok II, Blood 2, Descent 3, Drakan, KISS, Nerf Arena Blast, Rally Master, Terminous, Wheel of Time, and Daikatana and many more. Note for Tribes 2: QStat only supports Tribes 2 builds numbered 22075 or higher. Note for Ghost Recon QStat only supports GhostRecon patch 1.2, 1.3, 1.4, Desert Siege, and Island Thunder.

This list is currently outdated, for a full list see the output from qstat itself.

The different server types can be queried simultaneously. If qStat detects that this is being done, the output is keyed by the type of server being displayed. See Display Options.

The game server may be specified as an IP address or a hostname. Servers can be listed on the command-line or, with the use of the -f option, a text file.

Display Options

One line will be displayed for each server queried. The first component of the line will be the server's address as given on the command-line or the file. This can be used as a key to match input addresses to server status. Server rules and player information are displayed under the server info, indented by one tab stop.

qstat supports three additional display modes: raw, templates, and XML. In raw mode, the server information is displayed using simple delimiters and no formatting. This mode is good for programs that parse and reformat QStat's output. The template mode uses text files to layout the server information within existing text. This is ideal for generating web pages. The XML mode outputs server information wrapped in simple XML tags. The raw mode is enabled using the -raw option, template output is enabled using -Ts, and XML output is enabled with -xml.

Game Options

These options select which servers to query and what game type they are running. Servers are specified by IP address (for example: 199.2.18.4) or hostname. Servers can be listed on the command-line or in a file (see option -f.) The game type of a server can be specified with its address, or a default game type can be set for all addresses that don't have a game type.

The following table shows the command-line option and type strings for the supported game types. The type string is used with the -default option and in files with the -f option.

Configuration files

The games supported by qstat can be customized with configuration files. The query parameters of built-in game types can be modified and new games can be defined. For built-in game types, certain parameters can be modified. The parameters are limited to the master server protocol and master server query string.

New game types can be defined as a variation on an existing game type. Most new games use a Quake 3 or Gamespy/Unreal based network engine. These games can already be queried using -q3s or -gps, but they don't have game specific details such as the correct default port, the game name, and the correct "game" or "mod" server rule. And, mostly importantly, they don't get their own game type string (e.g. q3s, rws, t2s). All of these details can be specified in the QStat config file.

qstat comes with a default configuration file called 'qstat.cfg'. If this file is found in the directory where qstat is run, the file will be loaded. Configuration files can also be specified with the QSTAT_CONFIG environment variable and the -cfg command-line option. See Appendix B for a description of the configuration file format.

Migration to Github

I've been the only active maintainer for the old qstat sourceforge repo for a while now. Unfortunately I don't have full admin their and have been unable to contact the original qstat project creator Steve Jankowski for some time, so I've decided to move the project to github.

Hence for all intensive purposes https://github.com/multiplay/qstat is the new official home of the qstat repro.