Jump to content


Issue Information

  • #000682

  • 0 - None Assigned

  • Open Issue

  • 0.78t (Gold Preview)

  • -

Issue Confirmations

  • Yes (0)No (0)
Photo

Voting System doesn't work *Gold Version*

Posted by ShinChan on 11 July 2016 - 01:38 PM

The Voting System doesn't work properly when it comes to the cooldown period, if it's even implented.

Rocmod voting rules:
- First minute no voting allowed.
- After a failed vote, 5 min cooldown - No voting allowed for the whole server.

Rocmod has neither of them, as we are getting votespamming all the time, and people won't be blocked after a vote has failed, they will still be able to just call a new vote, over and over again.

Can you tell how you got it setup it the config?

seta g_allowVote        "1"   // voting is allowed
seta g_callvote            "0" // everybody is able to call  a vote.
seta g_voteDuration        "60"
seta g_failedVoteDelay        "10"   // We set this to 10 minutes to see if it changed anything, but the player can just call a new vote.

/Vote Permissions
seta novote_referee "0"
seta novote_map_restart "0"  
seta novote_mapcycle "0"
seta novote_map "1"
seta novote_g_gametype "1"
seta novote_kick "1"
seta novote_clientkick "1"
seta novote_g_doWarmup "1"
seta novote_timelimit "1"
seta novote_scorelimit "1"
seta novote_rmgmap "1"
seta novote_endmap "0"
seta novote_poll "1"
seta novote_mute "1"
seta novote_timeextension "0"
seta novote_nextmap "0"

Quote

seta g_allowVote        "1"   // voting is allowed
seta g_callvote            "0" // everybody is able to call  a vote.
seta g_voteDuration        "60"
seta g_failedVoteDelay        "10"   // We set this to 10 minutes to see if it changed anything, but the player can just call a new vote.

/Vote Permissions
seta novote_referee "0"
seta novote_map_restart "0"  
seta novote_mapcycle "0"
seta novote_map "1"
seta novote_g_gametype "1"
seta novote_kick "1"
seta novote_clientkick "1"
seta novote_g_doWarmup "1"
seta novote_timelimit "1"
seta novote_scorelimit "1"
seta novote_rmgmap "1"
seta novote_endmap "0"
seta novote_poll "1"
seta novote_mute "1"
seta novote_timeextension "0"
seta novote_nextmap "0"




sry for double post, for some reason it did it properly once, and instantly quoted it with it

afaik voting cooldown works with 1fx mod, doesn't apply for admins tho (afaik)

Janno, on 25 July 2016 - 07:37 AM, said:

afaik voting cooldown works with 1fx mod, doesn't apply for admins tho (afaik)

For some weird reason people (No clan, no admin, just visitors), are able to vote again once they failed.

Usually it goes pared with a failed vote from somebody else beforehand, e.g.

Player.1 has called nextmap vote - Vote failed.  Cooldown should appear.
10 sec later...
Player.2 has called nextmap vote - Vote failed within a couple of seconds. - Cooldown should appear.
10 sec later...
Player.2 has called nextmap vote, and so on..

They are bascially spamvoting us with it, and the only way for us to get rid of it, is to ban the vote entirely, as the cooldown isn't working properly, or not at all.

Hey,

Try setting g_callvote to the Admin level required to call a vote. E.g. if g_callvote is set to 3, only Admins and S-Admins are able to call a vote.

The cooldown was removed because it was annoying, it was instead replaced with the g_callvote for Admin level x and up because guests are never allowed to vote in any server (on v1.00 anyhow). Do you think I should re-implement the cooldown functionality with an optional CVAR instead?

BoeMan, on 31 July 2016 - 02:08 PM, said:

Hey,

Try setting g_callvote to the Admin level required to call a vote. E.g. if g_callvote is set to 3, only Admins and S-Admins are able to call a vote.

The cooldown was removed because it was annoying, it was instead replaced with the g_callvote for Admin level x and up because guests are never allowed to vote in any server (on v1.00 anyhow). Do you think I should re-implement the cooldown functionality with an optional CVAR instead?

Yes, we would like to have the cooldowns, as most gold servers give the players the freedom to vote for next maps or extending timelimit etc...

Hey Puni,

I just checked this out, but it's already in the Mod, just not enabled by default (anymore) since the switch to the g_callvote for Admin level x system. The CVAR is g_failedVoteDelay. The value is the amount of minutes the players have to wait before they can call another vote.

I noticed you said it didn't work, but I can't reproduce it.

Server console:

broadcast: print "boe called a vote.\n"
broadcast: print "Vote failed.\n"
broadcast: print "boe called a vote.\n"
broadcast: print "Vote failed.\n"
"g_failedVoteDelay" is:"0^7" default:"0^7"
g_failedVoteDelay 1
broadcast: print "boe called a vote.\n"
broadcast: print "Vote failed.\n"

Client screenshot: http://www.zimagez.c...-0415-32-37.php

Can you verify that the CVAR does indeed not work? And if it doesn't work, provide additional details?

Thanks.

Its with client addition on or off in the screenshot?

When we run client off,  we can simply vote spam it,  its set to 10 min as far as blastor and scarz told. Me.

Ill reproduce and try to give additional info.

It's with client additions on, but that doesn't matter since the check and vote system is server side.

Looking forward to additional info, thanks!





0 user(s) are reading this issue

0 members, 0 guests, 0 anonymous users