Bug #1183

broken nextmap command in gametype 4

Added by Harlekin 11 months ago. Updated 5 months ago.

Status:New% Done:

0%

Priority:ImmediateSpent time:-
Assignee:-
Category:Mod generic
Target version:2.77
OS: Arch:

Description

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


Related issues

Related to ET: Legacy Development - Bug #1170: Only campaigns in map list when referee Fixed 17.01.2019

History

#1 Updated by Harlekin 11 months ago

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

#2 Updated by Harlekin 11 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 11 months ago

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

#4 Updated by IR4T4 11 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));
    }
    else
    {
        trap_SendConsoleCommand(EXEC_APPEND, va("map_restart 0 %i\n", GS_WARMUP));
    }

I

#5 Updated by Spyhawk 8 months ago

  • Related to Bug #854: Fix stopwatch doesn't start after map end added

#6 Updated by Spyhawk 8 months ago

  • Related to Bug #1170: Only campaigns in map list when referee added

#7 Updated by Spyhawk 8 months ago

  • Related to deleted (Bug #854: Fix stopwatch doesn't start after map end)

#8 Updated by Spyhawk 5 months ago

Voting to change map/campaign might also not work due to the very same issue.

Also available in: Atom PDF