Hi.
First for all,
I'm not rude to you, I want share my info.
Second, I haven't test your plugin, I can't say nothing about that. I assume it works perfectly.
But this situation, to try fix problem with extra plugin, just because not to look more deep what cause this problem.
And with extra unnecessary plugin(s), someone may get more problem in future, then appear new forum topic "help me" with lacking post "Can't play other maps".
Like for example.
To say,
CS:GO does have complicated map cycle compare to other games.
This why not all SourceMod basic plugins work 1:1 with this game.
SourceMod console variable: sm_nextmap
- SourceMod create powerful cvar called
sm_nextmap ,
when this cvar has map name set, it will override next map on map change state.
You usually see this log message when it happens at map change:
L 10/27/2020 - 23:41:14: [SM] Changed map to "cs_office"
As long as there is map name set into sm_nextmap, it will cycle to that map only. Need to clear sm_nextmap "" to stop it.
SourseMod plugin: nextmap, randomcycle, mapchooser, etc. etc. plugin code SetNextMap()
- By default, basic SourceMod plugins not read CS:GO mapgroup and workshop collection.
Most games have mapcyclefile cvar, SourceMod plugins can read that default
mapcycle.txt file, look all maps from
maps folder or read another custom map list.
Plugins like nextmap and randomcycle change cvar sm_nextmap on map start automatically.
This is common problem with people in CS:GO server when they want use mapgroup instead.
What they see and expect in next map, on map change it is another map.
They need remove those plugins and after that clear cvar sm_nextmap "" or restart server.
CS:GO disable map cycle:
Code:
"mapcycledisabled" = "0"
FCVAR_GAMEDLL FCVAR_REPLICATED FCVAR_RELEASE
- repeats the same map after each match instead of using the map cycle
This will stop cycle maps from mapcycle.txt or mapgroup list. Repeat same map.
CS:GO workshop maps:
- Use webapi_authkey.txt or
Set Steam API key
-authkey code in server launch option (and
+map de_dust2)
In
...cfg/autoexec.cfg
need set both cvars
host_workshop_collection 770500357
host_workshop_map 632040311
workshop_start_map 632040311
When server start de_dust2 map, you have working Steam API key then server change to workshop map.
CS:GO end of match map vote:
- When use mapgroup or workshop collection
Code:
"mp_endmatch_votenextmap" = "1"
FCVAR_GAMEDLL FCVAR_REPLICATED FCVAR_RELEASE
- Whether or not players vote for the next map at the end of the match when the final scoreboard comes up
Disable map vote working, but map vote still appear, cs:go bug.
I'm not sure is this all.
But these can be solved, need to little bit examine.
Carry on!