Ticket #62 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Specify vote percentage necessary to pass a vote

Reported by: iKs Owned by: kappolo
Priority: major Milestone: Make revision 2 for Eggy
Component: server Version: Eggy
Keywords: Cc:

Description

Some votes are really important and harsh : starting SD, kicking a player, restarting a game, etc. If players are a bit stupid, they might vote yes for no reason and/or vote yes for their team to win (kicking a good ennemy player, starting SD after 5 minutes, etc.).

Therefore I think we should have cvars to decide the percentage necessary to change the map, start SD, mute a player, kick a player, etc. in order to limit those abuses (50% is really easily attainable on general public server for any vote).

Some ideas for defaults : - Mute : 50% - Kick : 55-60% - *Map : 60-65% - SD : 70-75 %

Change History

Changed 3 years ago by iKs

I didn't find any specific patch but it is in Lakitu7's game.qvm... You can find informations and, normally, a list of patches here : http://browsingtheinternet.com/trem/patches/Lakitu7_QVM/5.x/ (search for g_suddenDeathVotePercent and g_mapVotesPercent in the README).

The Kick/Mute limitation doesn't seem to be implemented at all though.

Changed 3 years ago by Supertom-geek

  • owner changed from nobody to anonymous
  • status changed from new to assigned

Changed 3 years ago by Supertom-geek

  • status changed from assigned to new

Changed 3 years ago by anonymous

  • owner changed from anonymous to nobody

Changed 3 years ago by amanieu

  • type changed from wish to task

We should only have 2 cvars: g_playerVotePercent: Percent for a vote against a player to pass (kick, mute) g_globalVotePercent: Percent for a global vote to pass (sudden_death, draw, map_restart)

Changed 3 years ago by mdoison

  • version set to Eggy
  • milestone set to Make revision 2 for Eggy

Changed 3 years ago by mdoison

  • priority changed from minor to major

Changed 3 years ago by kappolo

  • owner changed from nobody to kappolo

Changed 3 years ago by kappolo

  • status changed from new to assigned

Changed 3 years ago by kappolo

Almost done, i just need to talk a bit with iKs for some last-minute decisions.

Changed 3 years ago by kappolo

  • status changed from assigned to closed
  • resolution set to fixed

Done as described before with two new cvars: g_playerVotePercent: Percent for a vote against a player to pass (kick, mute, unmute) g_globalVotePercent: Percent for a global vote to pass (restartmap, nextmap, map)

Note: See TracTickets for help on using tickets.