Open illwieckz opened 10 years ago
We need gametype
strings from:
in my current serverlist I have these missing gametypes:
Other question to ask to Wolf:ET guys: what means “^.!.” at the beginning of a server name string?
zturtleman said:
Turtle Arena uses the same gametypes as Q3A. Doesn't have Harvester (the last gametype in array though). it's caused by ioq3 sending gamename Quake3Arena in info response (which is required by dpmaster protocol) and gamename baseq3 in status response. Turtle Arena has the same issue. gamename TurtleArena, even though the game directory is base.
looks like qstat doesn't report both gamename keys. "quakestat -R -q3s phobos.ioquake.org"
for example:
quakestat -R -q3s phobos.ioquake.org
ADDRESS PLAYERS MAP RESPONSE TIME NAME
phobos.ioquake.org 4/16 q3dm17 166 / 0 phobos.ioquake.org ioquake3 official
voip=1,g_needpass=0,pure=0,gametype=4,g_humanplayers=0,protocol=68,gamename=Quake3Arena,sv_allowDownload=1,sv_dlURL=http://ioquake3.org/files/ioq3,dmflags=0,fraglimit=8,timelimit=30,sv_hostname=phobos.ioquake.org ioquake3 official,sv_minRate=0,sv_maxRate=25000,sv_dlRate=100,sv_minPing=0,sv_maxPing=0,sv_floodProtect=1,g_maxGameClients=0,capturelimit=8,version=ioq3 1.36_GIT_918eed9-2014-09-29 linux-x86_64 Oct 4 2014,com_gamename=Quake3Arena,com_protocol=71,g_gametype=4,sv_privateClients=0,bot_minplayers=2
Radegast from ET:Legacy said:
Here you go.
Gametype, Name, Status 0, Single player, unused 1, Cooperative, unused 2, Objective, standard 3, Stopwatch, standard 4, Campaign, standard 5, Last Man Standing, standard 6, Map Voting, de facto standard 7, Team Death Match, only a few mods
I am not sure about gametype 7 since I know of only one mod that uses it - Silent mod - for team death match, but you are pretty much safe in using the first six gametypes for all mods (only gt 6 was adopted by the community and the rest are inbuilt).
Many games have incomplete gametypes structure here: https://github.com/XQF/xqf/blob/master/src/game.c#L1003
TODO: Write questions in forums to get gametype strings associated with gametype numbers.
TODO: get better master server list, protocol numbers etc.
It is a good idea to do it at the same time of #62