Bug #1170

Only campaigns in map list when referee

Added by swecide 3 months ago. Updated 2 months ago.

Status:Confirmed% Done:


Category:Mod QAGAME
Target version:2.77
OS: Arch:


As a referee, only the campaigns are visible in the referee menu map list.


#1 Updated by IR4T4 3 months ago

  • Target version set to 2.77

#2 Updated by Spyhawk 3 months ago

There is an issue with latched gametype. Servers are started with the default g_gametype (default 4, campaign), even if they’re using map rotation (6) as shipped with the default config. Since the value is latched, the server is still considered running campaign mode and as such only campaign are available in the referee maps menu.
When the next map is loaded (or by using !nextmap), both campaigns and maps can be selected.

#3 Updated by Spyhawk 3 months ago

  • Category changed from Client to Mod QAGAME
  • Status changed from New to Confirmed

#4 Updated by Spyhawk 3 months ago

  • OS deleted (Linux)
  • Arch deleted (64-bit)

#5 Updated by IR4T4 2 months ago

I think I’ve found the reason for the g_gametype issue:

Since some version we are using Cvar_SetSafe instead of Cvar_Set for trap_Cvar_Set mod calls:

        // don't let VMs or server change engine latched cvars instantly
        if ((flags & CVAR_LATCH) && !(flags & CVAR_VM_CREATED))
            force = qfalse;

Also available in: Atom PDF