MantisBT - Zandronum
View Issue Details
0002841Zandronum[All Projects] Suggestionpublic2016-09-22 21:122016-09-23 19:03
pkmx 
 
normalminorN/A
newopen 
 
 
0002841: Allow servers to ignore votes from spectators
Recently there has been an increasing amount of voting trolls who always join a survival game and immediately call a map/changemap/kick vote (or call one after dying) in order to join a game. Usually there are fewer surviving players toward the end of a map so dead players or spectator can force living players to lose whole progress by calling changemap (or worse, map with no intermission) votes and simply win by sheer number.

My suggestion is to add a server cvar `sv_ignorespectatorvotes` that controls how spectators are handled in counting votes:

0: Same as current behavior. All players' votes are counted and taken into the result of the vote.

1:
Map/changemap: Everyone can initiate a changemap vote, but only living players can vote on it. If there were no responses (afk players), it automatically counts as a yes for changemap votes so others can join, and no for map (no intermission) votes.

Kick: Living players can initiate a kick vote on anyone, while non-alive players can only initiate a kick vote on other non-alive players. Everyone is allowed to participate on those.

Forcespec votes should be changed so that it can only be called on players who have been afk for more than 1 minutes, but that's another issue.

Alive players should only have veto rights for a set amount of time so they can't occupy the server forever by rejecting all votes and doing nothing. 20~30 minutes should be a good default, but it can be configurable so server hosts can set a reasonable amount of time it takes to finish a map. Only this time is passed, the voting systems reverts to the old behavior.

This should ensure that actual players cannot be harassed by newly-joined spectators and dead players who call for RE all the time.
No tags attached.
Issue History
2016-09-22 21:12pkmxNew Issue
2016-09-23 04:23Ru5tK1ngNote Added: 0015694
2016-09-23 14:09UnknownNote Added: 0015695
2016-09-23 14:10UnknownNote Edited: 0015695bug_revision_view_page.php?bugnote_id=15695#r9542
2016-09-23 18:56UnknownNote Edited: 0015695bug_revision_view_page.php?bugnote_id=15695#r9543
2016-09-23 19:02Ru5tK1ngNote Added: 0015696
2016-09-23 19:03Ru5tK1ngNote Edited: 0015696bug_revision_view_page.php?bugnote_id=15696#r9545

Notes
(0015694)
Ru5tK1ng   
2016-09-23 04:23   
sv_nocallvote

This CVar allows to manage how votes take place.

0 Voting is enabled.
1 No votes can be called whatsoever.
2 Only allow players to vote, spectators have no word.
(0015695)
Unknown   
2016-09-23 14:09   
(edited on: 2016-09-23 18:56)
I Think he meant some even more specific control of vote conditions, currently if the sv_nocallvote value is set to 2 Spectators can't call votes of any kind, whether map or kick votes, Like when you want spectators to call kick votes and not map votes or vice versa .

(0015696)
Ru5tK1ng   
2016-09-23 19:02   
(edited on: 2016-09-23 19:03)
That sounds messy and it leads to one of those instances where we 'have a cvar for every little thing'.

I think supporting and testing Dusk's votedef would be a better approach.

Ticket -'http://zandronum.com/tracker/view.php?id=1420 [^]'

Documentation -'https://wiki.zandronum.com/VOTEDEF [^]'

Forum Topic -'https://zandronum.com/forum/viewtopic.php?t=6193 [^]'