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

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
jameless
Veteran Member
Join Date: Jan 2010
Old 08-16-2010 , 08:06   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #611

Make sure you have it like this:

"Votes"
{
"HP"
{
"title" "Replenish HP for all survivor?"
"type" "confirm"
"command" "hp_all"
"percent" "100"
"delay" "540"
"trigger"
{
"command" "HP"
"notice" "Replenish HP for all survivor?"
}
}
}

From what you see on that menu it looks like you don't have the primary "Votes" portion. Otherwise in that list of voteban etc you would see HP as an option. Once you have done so then type /cvote HP in chat and let me know if that works.
jameless is offline
hksjun
Member
Join Date: May 2010
Old 08-16-2010 , 11:32   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #612

Quote:
Originally Posted by jameless View Post
Make sure you have it like this:

"Votes"
{
"HP"
{
"title" "Replenish HP for all survivor?"
"type" "confirm"
"command" "hp_all"
"percent" "100"
"delay" "540"
"trigger"
{
"command" "HP"
"notice" "Replenish HP for all survivor?"
}
}
}

From what you see on that menu it looks like you don't have the primary "Votes" portion. Otherwise in that list of voteban etc you would see HP as an option. Once you have done so then type /cvote HP in chat and let me know if that works.
thank!

have primary "Votes" portion.
can see my full playervotes.cfg what wrong?

------------------------------------------------------

only this in my playervotes.cfg test it again.same probrem,type /cvote HP cant start vote.

"Votes"
{
"HP"
{
"title" "Replenish HP for all survivor?"
"type" "confirm"
"command" "hp_all"
"percent" "100"
"delay" "540"
"trigger"
{
"command" "HP"
"notice" "Replenish HP for all survivor?"
}
}
}
Attached Files
File Type: cfg playervotes.cfg (1.8 KB, 117 views)

Last edited by hksjun; 08-16-2010 at 11:37.
hksjun is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 08-16-2010 , 14:38   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #613

O I realized I typed wrong. Try this:

Code:
"HP"
	{
		"title"		"Replenish HP for all survivor?"
		"type"		"confirm"
		"command"	"hp_all"		
		"percent"	"100"
		"delay"		"480"
		"trigger"
		{
			"command"	"!HP"
			"notice"	"Replenish HP for all survivor?"
		}
	}
Then type in /cvote and look in console and post what votes it shows here.
jameless is offline
Sagenth
Member
Join Date: Aug 2010
Old 08-17-2010 , 08:52   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #614

Okay so I've downloaded this, and before I install it or any other of the mods I've got.. I want to make sure I've got the voting all properly configured.

What I am trying to do is make one simplified votemenu, that players can say votemenu in chat and it pops up.. It needs, absolutely needs sub menus.

1. Mods
2. Cvars / Server Settings
3. Player Management
4. Map Management

Do I need to add the trigger in the outside parameters
"votes"
{
--"trigger"
--{
----"command" "votemenu"
--}

--"Mods"
--{
etc
Sagenth is offline
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 08-17-2010 , 09:24   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #615

Ok I removed players votes, cause I believe it conflicted(not that I have really seen though) All vote options work except map extend for 20 minutes. I have no errors of any type. Does extend have to be voted at a certain time? like the last 10 minutes of a round. Here is my current loadout;

[SM] Listing 35 plugins:
01 "Signal" (1.3.0) by Scone
02 "Player Commands" (1.3.4) by AlliedModders LLC
03 "FistPie" (0.4) by Darkimmortal
04 "Team Balance Class Immunity" (1.3) by Afronanny
05 "Basic Chat" (1.3.4) by AlliedModders LLC
06 "Spray Pruning" (1.0.0.1) by sslice
07 "Basic Votes" (1.3.4) by AlliedModders LLC
08 "Client Preferences" (1.3.4) by AlliedModders LLC
09 "Simple AllTalk Manager" (1.3.0) by Simple Plugins
10 "TeamSwitch" (1.3) by MistaGee
11 "SQL Feedback" (1.2.0) by bl4nk
12 "SourceMod Radio" (1.0.0.12) by dubbeh
13 "Admin Menu" (1.3.4) by AlliedModders LLC
14 "Basic Comm Control" (1.3.4) by AlliedModders LLC
15 "Admin Help" (1.3.4) by AlliedModders LLC
16 "AFK Manager" (3.2.9) by Rothgar
17 "AdminSentinel" (1.2.100) by <eVa>StrontiumDog
18 "Intel Timer" (1.1) by EnigmatiK
19 "Sound Commands" (1.3.4) by AlliedModders LLC
20 "Anti-Micspam" (0.5) by FLOOR_MASTER and Bor3dGaming.com
21 "SourceBans" (1.4.6) by InterWave Studios Development Team
22 "Immunity Reserve Slots" (1.0.4) by Jamster
23 "Fun Commands" (1.3.4) by AlliedModders LLC
24 "Anti-Flood" (1.3.4) by AlliedModders LLC
25 "Melee Only" (1.2.0) by bl4nk
26 "Advertisements from Database" (1.2.100) by Tsunami and <eVa>Dog
27 "SuperLogs: TF2" (2.0.9) by Thomas "CmptrWz" Berezansky & psychonic
28 "Fun Votes" (1.3.4) by AlliedModders LLC
29 "Admin File Reader" (1.3.4) by AlliedModders LLC
30 "Custom Votes" (0.5.6) by chundo
31 "Basic Info Triggers" (1.3.4) by AlliedModders LLC
32 "Basic Commands" (1.3.4) by AlliedModders LLC
33 "ConVar List" (1.01) by Jannik 'Peace-Maker' Hartung
34 "Spray Tracer" (5. by Nican132, CptMoore, Lebson506th
35 "HLstatsX CE Ingame Plugin" (1.6.10) by psychonic

Extensions;

[SM] Displaying 12 extensions:
[01] Automatic Updater (1.3.4): Updates SourceMod gamedata files
[02] Webternet (1.3.4): Extension for interacting with URLs
[03] CBaseServer tools (1.1.0.0): Base server tools (and example of detours)
[04] TF2 Autobalance Immunity (1.3): Block Valve's Autobalance for certain players
[05] TF2 Tools (1.3.4): TF2 extended functionality
[06] BinTools (1.3.4): Low-level C/C++ Calling API
[07] SDK Tools (1.3.4): Source SDK Tools
[08] Top Menus (1.3.4): Creates sorted nested menus
[09] Client Preferences (1.3.4): Saves client preference settings
[10] SQLite (1.3.4): SQLite Driver
[11] SDK Hooks (1.3.0): Source SDK Hooks
[12] MySQL-DBI (): MySQL driver implementation for DBI

This was a popular vote back a few months ago and it just stopped working.
Thanks for any help.
Sniper214 is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 08-17-2010 , 14:38   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #616

@Sagenth: I'm not sure this was designed to accomplish this unless with the use of multiple votes? Like selecting option 1 starts another vote that shows new set of options. In either case I am not sure this plugin would be what you are looking for.

@Sniper214: Can you post what your map extend vote looks like?
jameless is offline
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 08-17-2010 , 20:20   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #617

I believe this is what you asked for.

Code:
"Votes"
{
    "changelevel"
    {
        "title"        "Change map to #1?"
        "type"        "confirm"
        "admin"        "sm_admin"
        "approve"    "admins"
        "command"    "changelevel #1"
        "params"
        {
            "1"        "mapcycle"
        }
    }
    "extend"
    {
        "title"            "Extend current map 20 minutes?"
        "type"            "confirm"
        "admin"            "sm_admin"
        "trigger"
        {
            "command"    "voteextend"
            "delay"        "300"
        }
        "command"        "sm_extend 20"
    }
    "scrambleteams"
    {
        "title"        "Scramble teams?"
        "type"        "confirm"
        "percent"    "75"
        //"votes"        "4"
        "command"    "mp_scrambleteams 1"
        "admin"            "sm_admin"
        "trigger"
        {
            "command"    "votescramble"
            "notice"    "%u wants to scramble teams."
            "percent"    "60"
            //"count"        "4"
        }
    }
    "setnextmap"
    {
        "title"            "Set next map to #1?"
        "type"            "confirm"
        "command"        "sm_setnextmap #1"
        "admin"            "sm_admin"
        "trigger"
        {
            "command"    "votenextmap"
            "delay"        "300"
        }
        "params"
        {
            "1"            "mapcycle"
        }
    }
    "crits"
    {
        "title"        "Turn crits {!tf_weapon_criticals|onoff}?"
        "type"        "confirm"
        "admin"            "sm_admin"
        "command"    "tf_weapon_criticals {!tf_weapon_criticals}"
        "trigger"
        {
            "command"    "votecrits"
            "notice"    "%u wants to to initiate a crits vote"
            "percent"    "35"
        }
    }
}
Sniper214 is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 08-17-2010 , 22:02   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #618

I may be mistaken but I think sm_extend is part of Super Commands plugin. I don't see that in your list of plugins on your server.
jameless is offline
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 08-18-2010 , 06:31   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #619

Never had a need for it before... then again I don't remember everything, lol.
Sniper214 is offline
jameless
Veteran Member
Join Date: Jan 2010
Old 08-18-2010 , 06:50   Re: Custom Votes v0.5.6 (1/07)
Reply With Quote #620

Well you can test it out by trying the command without any voting at all. Just type in sm_extend 20 and see if it extends the map. If you get command not found then you know the plugin is missing. If it extends the map then we know the vote is having an issue instead.
jameless 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 09:41.


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