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

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


Post New Thread Reply   
 
Thread Tools Display Modes
cztrollolcze
New Member
Join Date: Mar 2017
Old 03-30-2017 , 11:51   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #261

Hey,
when I type sm_votemenu into the console when in-game it opens a menu and there are only 3 things/ vote options. Wheres my problem?
-Adam
cztrollolcze is offline
Snack Patrol
Member
Join Date: Jan 2012
Location: Earth
Old 08-09-2017 , 23:30   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #262

Hi, I am running a server with a ton of maps. I believe the complete list when someone types "!votemap" is being cut off due to the limitation of 128 max maps in the vote list. Is there a way you could make a version that allows say, 1024 max maps? I know it sounds ridiculous but it just makes sense for my particular server.

Also I tried recompiling myself, fiddling around with things in the .sp but as am not a programmer, couldn't get it to compile correctly. Any help would be greatly appreciated.

Last edited by Snack Patrol; 08-09-2017 at 23:31.
Snack Patrol is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 08-20-2017 , 01:49   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #263

PHP Code:
// {VOTER_ID} - Voter user id
// {VOTER_STEAMID} - Voter steam id
// {VOTER_NAME} - Voter name 
None of these are working in the "command" Key Value.

It just outputs {VOTER_STEAMID}.

Example In CFG:
HTML Code:
"command" "sm_spawnvehicle {VOTER_STEAMID} {OPTION_RESULT}"
Example Command Output:
HTML Code:
sm_spawnvehicle {VOTER_STEAMID} "jeep"
Is it not supported to use in "command"?
__________________

Last edited by Sarabveer; 08-20-2017 at 01:55.
Sarabveer is offline
doroemon
Senior Member
Join Date: Dec 2009
Location: TF2 AFK Server
Old 08-21-2017 , 21:33   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #264

hello everyone,
Does anyone can fix about CustomVote NativeVotes version?
I used and it has a lot of bug from it.....

Last edited by doroemon; 08-21-2017 at 21:33.
doroemon is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-21-2017 , 22:46   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #265

Quote:
Originally Posted by Sarabveer View Post
PHP Code:
// {VOTER_ID} - Voter user id
// {VOTER_STEAMID} - Voter steam id
// {VOTER_NAME} - Voter name 
None of these are working in the "command" Key Value.

It just outputs {VOTER_STEAMID}.

Example In CFG:
HTML Code:
"command" "sm_spawnvehicle {VOTER_STEAMID} {OPTION_RESULT}"
Example Command Output:
HTML Code:
sm_spawnvehicle {VOTER_STEAMID} "jeep"
Is it not supported to use in "command"?
I've been trying to do the exact same thing like this for example:
Code:
sm_ban {TARGET_NAME} 30 Server Vote ({VOTER_NAME})
It just outputs for the reason that they were banned: "Server Vote ({VOTER_NAME})"
ThatKidWhoGames is offline
SHOUBI
Junior Member
Join Date: Aug 2017
Old 01-14-2018 , 16:01   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #266

hi,
so i wished to get a triggerchat like !votenukem for this plugin: https://forums.alliedmods.net/showthread.php?p=609299

so far i've try this:
Code:
"Turn Nukem {on|off}"
    {
        "type"           "simple"
        "vote"           "1"
        "cooldown"       "240"
        "ratio"          "0.5"
        "minimum"        "1"
        "command"        "sm_nukem {on|off}"
        "cvar"           "sm_nukem"
        "start_notify"   "[SM] {VOTER_NAME} started a vote to turn Nukem! {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"    "votenukem"
    }

but i failed hard so if somebody is eager to tweak stuff for me i would love to thanks him by sending him a game from his steam wishlist.
SHOUBI is offline
caxanga334
Member
Join Date: Nov 2013
Location: Brazil
Old 02-02-2018 , 09:38   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #267

Can anyone confirm if the cooldown feature is working?
It's not working on my TF2 servers.
caxanga334 is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 02-07-2018 , 04:54   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #268

Quote:
Originally Posted by SHOUBI View Post
hi,
so i wished to get a triggerchat like !votenukem for this plugin: https://forums.alliedmods.net/showthread.php?p=609299

so far i've try this:


but i failed hard so if somebody is eager to tweak stuff for me i would love to thanks him by sending him a game from his steam wishlist.
Try:

Code:
"Nuke all"
    {
        "type"           "simple"
        "vote"           "1"
        "cooldown"       "240"
        "ratio"          "0.5"
        "minimum"        "1"
        "command"        "sm_nukem"
        "start_notify"   "[SM] {VOTER_NAME} started a vote to nuke all!"
        "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"    "votenukem"
    }
You had cvar added when it just command.
`666 is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 02-16-2018 , 11:53   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #269

Can't make cooldown work for insurgency.
Edit: Looks like it just don't work for the list.

Quote:
"Infinite counter-attack"
{
"type" "list"
"vote" "1"
"ratio" "0.7"
"minimum" "0"
"command" "exec {OPTION_RESULT}"
"delay" "0"
"cooldown" "100"
"maxpasses" "3"
"maxcalls" "3"
"immunity" "99"
"options"
{
"Off = default" "infinite_off.cfg"
"Final objective" "infinite_final.cfg"
"All objectives" "infinite_all.cfg"
}
"start_notify" "[SM] {VOTER_NAME} ({VOTER_STEAMID}) started a vote to set the infinite counter-attack {OPTION_NAME}."
"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" "voteca"
}

Last edited by `666; 02-17-2018 at 13:30.
`666 is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-19-2018 , 11:50   Re: Custom Votes Redux (v1.7 - 4/13/14)
Reply With Quote #270

Quote:
Originally Posted by ThatKidWhoGames View Post
I've been trying to do the exact same thing like this for example:
Code:
sm_ban {TARGET_NAME} 30 Server Vote ({VOTER_NAME})
It just outputs for the reason that they were banned: "Server Vote ({VOTER_NAME})"
It's a good thing he doesn't allow using Voter Names, as a User could put a command in his username and run it on the server.

However, my issue of Voter SteamID not working is still a problem.
__________________
Sarabveer 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 01:12.


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