Re: Custom Votes Redux (v1.2 - 2/20/14)
Quote:
Expressions: In addition to parameter replacement, Custom Votes has a handy expression replacement feature, which allows you to insert CVar values. Vote titles, vote commands, trigger notices, option keys and option values can all contain expressions. Example title: "Turn all talk {!sv_alltalk|onoff}?" This would parse to "Turn all talk on?" or "Turn all talk off?", depending on the current value of sv_alltalk. Syntax: {[!]cvar_name[|modifier(s)]} An initial "!" reverses the value of boolean CVars (useful for toggle votes). Any modifiers after the CVar determine how the variable displays. Current modifiers are "onoff", "yesno", "upper", "lower", and "capitalize." Multiple modifiers can be strung together (i.e. {sv_alltalk|onoff|capitalize}). |
Re: Custom Votes Redux (v1.2 - 2/20/14)
Quote:
Quote:
|
Re: Custom Votes Redux (v1.2 - 2/20/14)
Quote:
|
Re: Custom Votes Redux (v1.2 - 2/20/14)
Reflex anything about my question a page back? Anyway to set a single player to start votes?
|
Re: Custom Votes Redux (v1.2 - 2/20/14)
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Pushed Version 1.3 - 3/1/14
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
I have been using, Players Votes Redux
When voting occurs i.e. voteban, - player get's listed at the top of the menu, rather searching the player through the menu. I reverted back to Players Votes Redux due to complaints, as players did not enjoy searching for for the player, scrolling through the menu. I hope you understand what I mean. |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Thank you.
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Installed on 8 popular servers :) and working nicely.
Feedback - Once a player is voted, the menu should "automatically close" but it doesn't. It goes to the home/root menu screen displaying option votekick, voteban, votemute. Can the menu automatically close, once a vote is casted? rather than pressing "9" to exit. |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
Which part of the update would allow single selections to start votes? What option would I set in the config? Thanks |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
Set "vote" in the configuration to change it to your liking. |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Support this Updater Plugin ? and can add voteban reason?
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Haven't tried this plugin yet, but looking through the code for it for a possible update to add NativeVotes support for it, I can't help but notice it appears to print every vote cast to chat for certain types of votes.
Shouldn't you just let the SourceMod vote system do this? That's what the sm_vote_progress_chat cvar is for, after all. Edit: Also, is there any reason you're manually tracking the votes instead of using the advanced vote handler to figure out the percentages? |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
Quote:
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
sm_vote_progress_hintbox is the one that prints out the top 3 vote choices and (iirc) what percent of the vote they currently have. Note that those percents are out of votes cast rather than total players, which is item_info[0][VOTEINFO_ITEM_VOTES] / num_votes in the advanced callback. Incidentally, the advanced callback's num_clients is the number of clients who were in the original vote that are still connected when the vote completes... which gives you two different options for calculating votes in the advanced callbacks. Incidentally, you may want to translate the Yes and No phrases using MenuAction_DisplayItem... something like PHP Code:
Oh and that would also require you to pass the MenuAction flags in CreateVote... MENU_ACTIONS_DEFAULT|MenuAction_DisplayItem |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Reflex is it working much better thank you. 1 more request. Could it be made to have an option to ignore spectators? It messed up the ratio when there at multiple spectators.
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Hi, jus i report errors logs :
Code:
L 03/08/2014 - 12:33:02: [SM] Native "GetClientUserId" reported: Client 2 is not connected |
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
Version 1.4 - 3/13/14
|
Re: Custom Votes Redux (v1.3 - 3/1/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Used default config and voteban won't work with Sourcebans, server console says:
"[SourceBans] Usage: sm_ban <#userid|name> <time|0> [reason]" I added time after {TARGET_ID} and it goes "[SM] No matching client was found." Also reasons would be nice to have back. And can you add ability to extend map? Since we have maps with different timelimits "votemaptime" is no go. Sorry if these are available somehow. I just could not find a way to achieve what Playersvotes did with this plugin :S |
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
Here is an example of what you might try
This would not pop up a vote until the vote passes in chat (not mandatory to vote). Then, the vote will pop up, similar to a map vote. By default, basevotes requires 60% to pass a vote. So, while 51% might be required to trigger the votekick, 60% would have to vote yes once it is triggered. (This can be adjusted using the cvars sm_vote_ban and sm_vote_kick, which are .6 by default) As to your extend map request, you could use >>>THIS<<< plugin to allow admins to extend it, then put in your vote setups a vote for extending the time, and have the server execute this plugins command with the selected time length. |
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
ATM I'm completely satisfied with Playersvotes-redux but it will eventually be outdated. I just want this plugin to accomplish the same, even with small things. I don't want use separate plugins if there is possibility to make it with one.
Thanks, ThatOneGuy, but your suggestion still won't give option to choose from multiple reasons. |
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
Wouldnt this give multiple options?
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Is there a fix coming soon for the chat commands soon?
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
They don't work, though. For instance, typing !poop won't activate the command I have assigned for it.
It worked before the update, though. |
Re: Custom Votes Redux (v1.4 - 3/13/14)
Quote:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
I just tested the plugin and it's working fine, again.
PHP Code:
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Awesome!
I have used it in my server. btw,i want to translate the plugin into chinese,could you give me an example to show me how to translate it in the correct form? |
Re: Custom Votes Redux (v1.4 - 3/13/14)
Well? What did you think of my script?
|
Re: Custom Votes Redux (v1.4 - 3/13/14)
Is it my problem, or the plugin's?
|
All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.