wootguy / RockTheVote

Sven Co-op plugin
5 stars 1 forks source link

Force RTV #1

Closed Cads182 closed 3 years ago

Cads182 commented 3 years ago
wootguy commented 3 years ago

Can't reproduce this. This is what I tried (on a listen server with 1 other player):

  1. .forcertv
  2. Press 0 to close the menu.
  3. Type rtv. Menu opens.
  4. Pick an option, then close the menu again.
  5. Type rtv again. Menu still opens.

Tried steps 2-5 as the other player and it worked too. Maybe there's an error in the angelscript log or console with developer 1?

Cads182 commented 3 years ago

Seems that only happens when you force it before new map cooldown [secondsUntilVote], at first I tried alone on listen, then I tried on dedicated server with 4+ players, and still happening but now the menu re-opens after someone vote, but still can't re open the menu using rtv.

wootguy commented 3 years ago

Alright, fixed the .forcertv bug. The duplicate maps are likely due to there being duplicate maps in your mapvote.cfg or hidden_nom_maps.txt file. Check the angelscript logs for these messages: [RTV] duplicate map <mapname> in list: <file path>

Also, a map should either be in mapvote.cfg or in hidden_nom_maps.txt, but not both.

Cads182 commented 3 years ago

Nice, I check logs but didn't got anything related, the problem was indeed duplicated maps on mapvote.cfg and hidden_nom_maps.txt, Thanks!

wootguy commented 3 years ago

Just added a warning message for this. If a map exists in both lists then hidden_map_lists.txt will have priority.