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

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 06-18-2008 , 02:47   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #51

"cmd" "sm_gag #1 votemute"
__________________
r3dh3adkid is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 03:04   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #52

Quote:
Originally Posted by r3dh3adkid View Post
"cmd" "sm_gag #1 votemute"
In his voteban/kick scripts he has the same thing done.
Code:
    "kick"
    {
        "title"        "Kick #1?"
        "type"        "confirm"
        // Uncomment if you do not use PlayersVotes
        //"trigger"    "votekick"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_kick #1 votekick"
        "params"
        {
            "1"            "player"
        }
    }
See? Ignore the comments I use playersvote and I'm not going to have anything conflict.
willy1234x1 is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 03:39   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #53

Oh shit still having errors. votemute and slay seem to not even work.
And voteburn brings up a menu I don't want to allow clients to see.[IMG]http://img296.**************/img296/4898/ctf2fort0000tgaoj1.jpg[/IMG]
willy1234x1 is offline
r3dh3adkid
Senior Member
Join Date: Apr 2008
Location: Georgia
Old 06-18-2008 , 04:18   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #54

try taking out what i bolded and tell me how it goes. (for votemute)
__________________
r3dh3adkid is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 05:05   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #55

Will do man, I'm really starting to get the hang of all the SM stuff and really like it. These three votes are the ones I want to set up to make some custom kind of stuff to add some things to my server to make it different. I want to make a plugin that enables my current idea to keep my server clean of class spam(achievement release rushes) by making a plugin that every thursday turns the server into a 24 hour Achievementbox_b3 then back to regular rotation. I've been working on it for the past two days and need to test it out before it's released here. It's part of my "Achievementbox Thursdays" event.
willy1234x1 is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 06:17   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #56

Quote:
Originally Posted by r3dh3adkid View Post
try taking out what i bolded and tell me how it goes. (for votemute)
Tested it, didn't work. I think it's something in the params. sm_gag <player> according to console when I typed just sm_gag so I think I need two params first for the list then for the command.
willy1234x1 is offline
chundo
Senior Member
Join Date: May 2008
Old 06-18-2008 , 11:15   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #57

No, your config looks fine (FYI, the extra parameters on "votekick" and "voteban" are the reasons for kicking/banning). A "player" parameter shouldn't display the groups you're seeing though - do you have a duplicate vote definition somewhere that's interfering?

What version of SM are you using?
__________________
chundo is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 11:58   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #58

I'm running snapshot 2255, here's the basevotes.cfg as is. As well as an attachment
Code:
 "Votes"
{
    "ban"
    {
        "title"        "Ban #1?"
        "type"        "confirm"
        // Uncomment if you do not use PlayersVotes
        //"trigger"    "voteban"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_ban #1 voteban"
        "params"
        {
            "1"            "player"
        }
    }
    "changelevel"
    {
        "title"        "Change map to #1?"
        "type"        "confirm"
        "admin"        "sm_setnextmap"
        // Uncomment if you do not use PlayersVotes
        //"trigger"    "votemap"
        "approve"    "admins"
        "cmd"        "changelevel #1"
        "params"
        {
            "1"        "mapcycle"
        }
    }
    "extend"
    {
        "title"        "Extend current map 20 minutes?"
        "type"        "confirm"
        "trigger"    "voteextend"
        "cmd"        "sm_extend 20"
    }
    "kick"
    {
        "title"        "Kick #1?"
        "type"        "confirm"
        // Uncomment if you do not use PlayersVotes
        //"trigger"    "votekick"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_kick #1 votekick"
        "params"
        {
            "1"            "player"
        }
    }
    "setnextmap"
    {
        "title"        "Set next map to #1?"
        "type"        "confirm"
        "trigger"    "votenextmap"
        "cmd"        "sm_setnextmap #1"
        "params"
        {
            "1"        "mapcycle"
        }
    }
    "burn"
    {
        "title"        "Burn #1?"
        "type"        "confirm"
        //"trigger"    "voteburn"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_burn #1 20 voteburn"
        "params"
        {
            "1"            "player"
        }
    }
    "slay"
    {
        "title"        "Slay #1?"
        "type"        "confirm"
        //"trigger"    "voteslay"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_slay #1 voteslay"
        "params"
        {
            "1"            "player"
        }
    }
    "mute"
    {
        "title"        "Mute #1?"
        "type"        "confirm"
        "trigger"    "votemute"
        "percent"    "75"
        "votes"        "4"
        "approve"    "admins"
        "cmd"        "sm_gag #1"
        "params"
        {
            "1"            "player"
        }
    }
}
I know the burn and slay both have comments over the trigger it's because of the errors and the possibility of them being abused.

Is it possible it's conflicting with any of my plugins?
Code:
10:02:24 [SM] Listing 33 plugins:
          01 "Fun Commands" (1.1.0-svn) by AlliedModders LLC
           02 "Nextmap" (1.1.0-svn) by AlliedModders LLC
           03 "Map Rate" (0.9) by Ryan "FLOOR_MASTER" Mannion
           04 "Admin File Reader" (1.1.0-svn) by AlliedModders LLC
           05 "SourceMod Radio" (1.0.0.12) by dubbeh
           06 "Basic Comm Control" (1.1.0-svn) by AlliedModders LLC
           07 "Basic Info Triggers" (1.1.0-svn) by AlliedModders LLC
           08 "Anti-Flood" (1.1.0-svn) by AlliedModders LLC
           09 "Aimbot Detection" (0.0.2.0) by devicenull
           10 "Spray tracer" (3.1) by Nican132
           11 "Fun Votes" (1.1.0-svn) by AlliedModders LLC
           12 "RandomCycle" (1.0.2.2236) by AlliedModders LLC
           13 "Basic Ban Commands" (1.1.0-svn) by AlliedModders LLC
           14 "Custom Votes" (0.4.1) by chundo
           15 "Custom Tab Work Around" (0.2) by The-Killer
           16 "Basic Commands" (1.1.0-svn) by AlliedModders LLC
           17 "Admin Help" (1.1.0-svn) by AlliedModders LLC
           18 "Fair Team Balancer" (2.7) by MistaGee
           19 "Admin Menu" (1.1.0-svn) by AlliedModders LLC
           20 "In-game Help Menu" (0.1) by chundo
           21 "SlapSlay Commands" (1.1.0-svn) by AlliedModders LLC
           22 "Admin List" (1.1) by Fredd
           23 "Basic Votes" (1.1.0-svn) by AlliedModders LLC
           24 "Client Preferences" (1.1.0-svn) by AlliedModders LLC
           25 "Web Shortcuts" (1.0.1) by James "sslice" Gray
           26 "Basic Chat" (1.1.0-svn) by AlliedModders LLC
           27 "Reserved Slots" (1.1.0-svn) by AlliedModders LLC
           28 "Kigen's Anti-Cheat" (1.1.3) by Kigen
           29 "Advertisements" (0.5.5) by Tsunami
           30 "Players Votes" (1.2.5) by pZv!, The Resident
           31 "Client Execute" (1.0.0.3) by dubbeh
           32 "Advanced Menu Say" (2.0) by MoggieX
           33 "TF2 Stats" (1.4.2) by R-Hehl
Attached Files
File Type: cfg basevotes.vote.cfg (1.6 KB, 188 views)

Last edited by willy1234x1; 06-18-2008 at 12:03.
willy1234x1 is offline
chundo
Senior Member
Join Date: May 2008
Old 06-18-2008 , 13:04   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #59

Ok, I'll test your config. I did notice some other problems with triggers earlier that I'm resolving, I have another version almost ready that I'll get this into.
__________________
chundo is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-18-2008 , 13:20   Re: Custom Votes v0.4.1 (6/9)
Reply With Quote #60

Good to here man. Love the plugin though it's great. I'll beta test if you need it.
willy1234x1 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:31.


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