Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some map prefixes are not being used #33

Open
TechnoSam opened this issue Jan 16, 2021 · 0 comments
Open

Some map prefixes are not being used #33

TechnoSam opened this issue Jan 16, 2021 · 0 comments

Comments

@TechnoSam
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant