Closed madhub0815 closed 1 year ago
Hey,
Have you tried setting the environment variable SRCDS_MAPGROUP=mg_normal
since the default value is mg_active
it could be that it takes the one passed from the commandline.
Hey,
thank you for your fast reply.
I tried that already.
The console output was "Invalid MapGroup" and the result was the same - Forcing de_dust2 as nextmap.
I just found a something in gamemodes.txt wich normally should not be edited in line 51.
"mapgroupsSP" "random_classic" "0"
// Dust II 24/7
**//**"mg_de_dust2" "1""
...
I also replaced "mg_de_dust2" with "mg_normal" in multiplayer
"mapgroupsMP" { //Other Maps Groups "mg_casualsigma" "0" "mg_casualdelta" "1" "mg_normal" "2" "mg_hostage" "3"
I don't know why that have any effect because it is for singleplayer but as you see i commented it out and afterwards it was working as it should. I also define the mapgroups in the specific gamemode_casual_server.txt wich should be the correct file where that have to be set...
Nevermind thanks for your help it is working now. :-)
Alright, thanks for the follow-up!
EDIT: Found the culprit, it was the next map plugin of sourcemod, which takes over all other means to vote or select maps.
I am facing the same issue, but for multiplayer. I start with the following environment variables:
-e SRCDS_GAMETYPE=1
-e SRCDS_GAMEMODE=0
-e SRCDS_MAPGROUP="mg_armsrace"
-e SRCDS_STARTMAP="ar_shoots"
But after a round it switches to de_dust2, no matter the vote. de_dust is not part of that map group, the map group gets loaded correctly.
Hi I set game mode casual and created and set up the files like gamemode_casual_server.txt I also set up a map group called mg_normal and linked it to casual mode.
As start map I am using cs_assault. After the map ends (20 rounds) the end screen appears with the vote of the next map. Don't mater what clients choose the next map is always dust2. Also the nextmap command right after the start of the server points that it will be dust2.
I checked all files like server.cfg (no entry for mapgroups needed?) and gamemode_server.txt but both are set up correctly?
Does anyone have a tip where to look? Who ist the command for the map cycle here?