Raised This Month: $51 Target: $400
 12% 

Custom Votes Redux (v1.7 - 4/13/14)


Post New Thread Reply   
 
Thread Tools Display Modes
robotortoise
Senior Member
Join Date: Nov 2013
Old 04-22-2014 , 01:31   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #101

Hmm...I do have a ton of plugins. I wonder if any were updated recently?
robotortoise is offline
Lepraaah
Member
Join Date: May 2013
Location: Netherlands
Old 04-26-2014 , 11:26   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #102

so where the hell do i set the ban duration of a voteban...
__________________
Lepraaah is offline
Send a message via Skype™ to Lepraaah
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 04-26-2014 , 13:30   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #103

and who set the ban reason of voteban
Lucky_luck is offline
th3dud3
Member
Join Date: Oct 2011
Location: California, USA
Old 04-28-2014 , 22:01   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #104

Quote:
In all seriousness, chat triggers are fine. If you can't get them working, you have another problem, possibly another plugin is changing the way the client types in chat. However, I did find a formatting issue with {TARGET_STEAMID} so sm_mute and sm_ban functions should be fixed in a bit.

Updated
Version 1.6 - 4/21/14
Fixed issue where {TARGET_STEAMID} wouldn't return a string
Thanks for the update ReFlexPoison!
th3dud3 is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 04-30-2014 , 22:45   Re: Custom Votes Redux (v1.4 - 3/13/14)
Reply With Quote #105

Quote:
Originally Posted by ThatOneGuy View Post
As was stated, several of the functions do not appear to be working for some people. The vote ban/kick/mute does not appear to trigger right since the last update, and chat triggers arent working (at least not for me and several others. The !votemenu works, but the individual ones for each setup arent). They seem to work right for executing cfg files, but not for executing commands (like sm_mute).
WOOHOO! I found out what the problem is!

"vote" "1"

See that cvar? That NEEDS TO BE IN THE VOTE to work. If it's not inside the brackets, the vote won't start. This was changed in an update, and you never notified people of it (or we ignored it) and that's what the complaints were about.

Add this to your votes and you're set!

-Robotortoise
robotortoise is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 06-05-2014 , 13:25   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #106

Trying to do a simple on/off vote with this plugin:

https://forums.alliedmods.net/showthread.php?t=241087

Code:
"Turn Melee-Only {on|off}"
    {
        "type"            "simple"
        "vote"            "1"
        "ratio"            "0.6"
        "minimum"        "4"
        "command"        "fof_melee_only {on|off}"
        "cvar"            "fof_melee_only"
        "start_notify"    "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to turn Melee-Only {on|off}."
        "call_notify"    "[SM] Vote cast for {yes|no}."
        "pass_notify"    "[SM] Vote passed."
        "fail_notify"    "[SM] Vote failed. Received: {VOTE_AMOUNT} Required: {VOTE_REQUIRED}"
        "chattrigger"    "votemeleeonly"
    }
But the result is...nothing....votemap,votekick,votemute, etc all seem to work fine.

Last edited by MaloModo; 06-05-2014 at 13:28.
MaloModo is offline
Alice.bnd
Member
Join Date: Sep 2011
Location: Russia, SPb
Old 06-10-2014 , 19:20   Re: Custom Votes Redux (v1.5 - 4/13/14)
Reply With Quote #107

Version 1.6 - 4/21/14
1. Сhattrigger does not work in section "type" "simple" (!votealltalk).
2. sm_customvotes_reload
*.bsp.bsp


Desire:
1. In each section, we would like to establish a threshold for the start of voting.
In the plugin by Chundo this: "count - the minimum number of current connected users that must enter this trigger for the vote to launch. Defaults to 0".
This is a very useful feature. Sometimes on the server join three or four people who do spam-voting. Almost never five: count 5 saves from spam voting.
2. In each section, add a parameter for immunity admins from "count".
3. Using NativeVotes.

Last edited by Alice.bnd; 06-11-2014 at 02:06.
Alice.bnd is offline
Send a message via ICQ to Alice.bnd
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 06-12-2014 , 22:09   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #108

Updated
  • Fixed simple votes not being executed by chat triggers
  • Added override for vote cool-downs. Use customvotes_cooldown in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.
  • Added override for maximum votes allowed. Use customvotes_maxvotes in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.

Last edited by ReFlexPoison; 06-12-2014 at 22:17.
ReFlexPoison is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-12-2014 , 23:47   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #109

Quote:
Originally Posted by ReFlexPoison View Post
Updated
  • Fixed simple votes not being executed by chat triggers
  • Added override for vote cool-downs. Use customvotes_cooldown in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.
  • Added override for maximum votes allowed. Use customvotes_maxvotes in the admin_overrides.cfg to change the default flag b to grant immunity to specific players.
Awesome! Maybe add updater support for next revision?
robotortoise is offline
stebrickboy
Junior Member
Join Date: Jul 2013
Old 06-13-2014 , 22:36   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #110

It's really glad to see you keep updating the plugin. The plugin appears to be awesome. I have been using the old version in l4d2 and it seemingly works well so far.

Few questions and suggestions:-

1. Could you critically mention the difference between your plugin and the old version custom votes?

2. I am not sure if the new version includes such feature: is there any possible way to exclude spectators from voting? For example, if the teams wanna scramble among themselves, I see no reason why spectators should be allowed to participate in such vote. Not only for such purpose, but you know, spectators are supposed to watch the game only.

3. Is there anyway for players with admin flag to pass or cancel the vote anytime mandatorily? It seems better if a menu (more convenient way, though a command may suffice) is displayed to admin whenever a vote is initiated so that he has a right to forcefully pass or cancel/reject the vote. NOTE, such vote is not conditional upon admin's approval and so if admins ignore or does not give any response, or no admin is on the server, then the vote could still be pass automatically when it reaches the required majority.

4. Is it possible to execute two commands in sequence by one vote, say "sm_resetmatch" and then "sm_forcematch" (this is for confogl/promod in l4d2).

Cheers

Last edited by stebrickboy; 06-13-2014 at 22:45.
stebrickboy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode