-
Notifications
You must be signed in to change notification settings - Fork 53
Description
I have a weird situation where I loaded a bunch of maps into my workshop collection but I only want to use a handful of specific maps in the vote.
I am using the MapPrefixes key like a whitelist and passing in a list of all the map names that I want to use, but there are a few that never show up in the vote, even if they are the only ones in the list.
For reference, here's my config:
{
"RTVPlayerCount": 3,
"MapLimit": 4,
"TimeLimit": 30,
"AllowCurrentMap": false,
"MapPrefixes": [
"TTT_Waterworld_Remastered_2020",
"ttt_mcvillage_V6",
"ttt_Clue_se",
"TTT_Nightmare_Church"
],
"MapsBeforeRevote": 3,
"EnableCooldown": true
}
Here are the workshop pages for all those maps:
TTT_Waterworld_Remastered_2020
ttt_mcvillage_V6
ttt_Clue_se
TTT_Nightmare_Church
I've verified that each map has the correct name and can be loaded. I can start the server on those maps and manually change to any of them and they all work fine.
When I run this config, after finishing a map, I see the mapvote screen, but it's empty, there are no voting options. In the server console, I don't see any errors. After the vote times out, I get a message that says
changelevel <levelname> : continue game on a new level
and then it hangs forever until I manually change.
I checked recentmaps.txt and it seems to be operating correctly. After forcibly switching to a map, the map does appear in the list. I also tried clearing it just in case something was getting hung up, but the behavior didn't change.
I also tried deleting the last few characters from each map name in the config, but that didn't change anything. And it hasn't caused problems for any of the other maps I use. Therefore I don't think my weird use case is causing problems, even if I use just using "ttt" and "TTT" as my prefixes, I suspect that these maps would still never be chosen.
What could be going on here? Do I have something configured wrong? Is something wrong with the maps or the names? Or is there a bug in mapvote?