torhu wrote:OA actually uses several different gamenames (mods, if you will).
Uhm, that's not quite true. Q3 already used different mods (WQ3
, E+, UrT, Q3Rally etc.). Some of these mods supported the same gametypes as Q3 did (CTF, FFA, Tourney etc.) and some added new ones.
OpenArena does not have that many mods (iirc just E+ and AfterShock and some less frequently used from Q3 like Defrag and CorkScrew) and most of them provide the very same gametypes which baseoa has.
Most admins however setup their sever in a bad way, using something else than default "baseoa" for fs_game (even though they are just using the baseoa code*), which shows up as "game" in info replies. This does in no way reflect which actual mod and thus gametypes are available and used on a server. Gametypes themselves are mod-specific and show up as a simple number in "gametype" in info replies and as "g_gametype" in status replies.
If you want to filter servers by mods, you'd have to take a look at status replies and use the "gamename" value there. This is not the same as the "gamename" value in info replies! Instead, it coresponds to GAMEVERSION in the mod's source code.
If you want to filter servers by games, you'd have to look at "gamename" in info replies, which is the same as "com_gamename" in status replies. This only works on recent forks of ioquake3.
* You may set fs_game to provide additional pk3s such as brightskins. In either case, "CTF" is a bad name for this, it should either be "brightskins" or something along the lines of "mymod", as CTF itself is not a mod, nor are brightskins ctf-specific.