Silenci0/UMC

Maps not in group show in vote.

StrikerMan780 opened this issue · 5 comments

When using tiered votes, maps that aren't in a particular group end up showing in the group when they're not supposed to. (Payload maps show in the CTF group, as an example)

I've noticed this in end map votes and rtv's.

Are the maps you see in the vote list nominated maps? One of the newer features ensures that map nominations by players would show up first and at the top of any voting list, particularly for end map votes and rtvs. This was added since a few communities, particularly from ZPS, wanted to make sure player nominated maps would take priority and show up first in the list during a map vote.

Assuming the maps you see in the votes are seeing are nominated maps, I could attempt to limit it to just rtv only as an option. Disabling map nominations may fix this (though you would only be allowed to vote on map choices presented solely by the plugin) or setting the cvar sm_umc_mapnom_display to 0 in the ultimate-mapchooser.cfg file will display all map nominations at the bottom of the list (which was the default for the plugin a long time ago). As far as these votes showing up in the tiered votes list, that sounds like a bug, so I'll look into it. However, if you can verify if the maps that show up are in fact nominated maps, I would be most grateful.

Turns out this bug happens when umc-playerlimits.smx is absent. And no, they're not nominated maps. They're just random maps from other groups scattered everywhere, even scrambled amongst the tier's maps.

Its odd that playerlimits would resolve that, which makes me wonder if maybe older versions had a similar problem and no one ever noticed before. I will look into what might cause tiered voting issue and see what the playerlimits module has that might be causing that particular issue when absent. Thank you for the clarification!

After looking over the comments on the original plugin, it seems that this issue you had with tiered voting also existed with that as well and adding the playerlimits module also resolved the issue, which means the bug has been present for a long time.

So the quick solution to this issue is to add that module to fix tiered voting. Long term, I will look to see how to resolve this so that playerlimits is no longer necessary for tiered votes.

After looking into this, this is not a bug so much as it is intentional design. The umc-playerlimits.smx module is necessary for some tiered voting and groupings depending on the options used and will be required for proper operation. The general fix to this will be to include the umc-playerlimits.smx module. Closing issue.