Bug #1183

broken nextmap command in gametype 4

Added by Harlekin 3 months ago. Updated 3 months ago.

Status:New% Done:


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


If the server is in campaign mode and the nextmap command is executed (vstr nextmap/same if nextmap is executed via wolfadmin), the map just restarts and server gets into gametype 2


#1 Updated by Harlekin 3 months ago

  • Subject changed from broken nextmap command to broken nextmap command in gametype 4

#2 Updated by Harlekin 3 months ago

nextmap responds
"nextmap" is: "map_restart 0" default:""

simple workaround: set nextmap "timelimit 0.000001"
works only after warmup.... at least it does not break gametype anymore

#3 Updated by Spyhawk 3 months ago

  • Priority changed from Normal to Immediate
  • Target version set to 2.77

#4 Updated by IR4T4 3 months ago

I think this issue is because of G_configSet calls.

There is:

    if (!level.config.publicConfig && g_gamestate.integer == GS_WARMUP_COUNTDOWN)
        level.lastRestartTime = (qboolean)level.time;
        trap_SendConsoleCommand(EXEC_APPEND, va("map_restart 0 %i\n", GS_WARMUP));
        trap_SendConsoleCommand(EXEC_APPEND, va("map_restart 0 %i\n", GS_WARMUP));


Also available in: Atom PDF