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

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
HanoverFist
Member
Join Date: Oct 2007
Old 08-31-2008 , 17:17   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #201

ok i have this in my maplist.cfg

Code:
"MapLists"
{
    /**
     * Default requests go right to the mapcyclefile.
     */
    "default"
    {
        "target"        "mapcyclefile"
    }
    
    /* Admin menu, map menu */
    "sm_map menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* Admin menu, map voting menu */
    "sm_votemap menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* For the "randomcycle" plugin */
    "randomcycle"
    {
        "target"        "default"
    }
    
    /* For the "mapchooser" plugin */
    "mapchooser"
    {
        "target"        "default"
    }
    
    /* For the "rockthevote" plugin */
    "rockthevote"
    {
        "target"        "default"
    }

    /* For the "customvotes" plugin */
    "sm_cvote votemap"
    {
        "file"            "maplist.txt"
    }
}



and this is in my playervotes.cfg

Code:
"Votes"
{
    "voteban"
    {
        "title"        "Ban #1 for 30 minutes?"
        "type"        "chat"
        "command"    "sm_ban_auto #1 30 \"Banned by vote.\""
        "trigger"
        {
            "command"    "voteban"
            "notice"    "%u voted to ban #1"
            "percent"    "70"
            "count"        "4"
        }
        "params"
        {
            "1"            "player"
        }
    }
    "votekick"
    {
        "title"        "Kick #1?"
        "type"        "chat"
        "command"    "sm_kick #1 \"Kicked by vote.\""
        "trigger"
        {
            "command"    "votekick"
            "notice"    "%u voted to kick #1"
            "percent"    "70"
            "count"        "4"
        }
        "params"
        {
            "1"            "player"
        }
    }
    "votemute"
    {
        "title"        "Mute #1?"
        "type"        "chat"
        "command"    "sm_mute #1"
        "trigger"
        {
            "command"    "votemute"
            "notice"    "%u voted to mute #1"
            "percent"    "70"
            "count"        "4"
        }
        "params"
        {
            "1"            "player"
        }
    }
    "votealltalk"
    {
        "title"        "Turn alltalk #1?"
        "type"        "chat"
        "command"    "sv_alltalk #1"
        "trigger"
        {
            "command"    "votealltalk"
            "notice"    "%u wants to turn alltalk #1"
            "percent"    "60"
        }
        "params"
        {
            "1"            "onoff"
        }
    }
    "votemap"
    {
        "title"        "Change map to #1?"
        "type"        "chat"
        "command"    "changelevel #1"
        "trigger"
        {
            "command"    "votemap"
            "notice"    "%u wants to change the map to #1"
            "delay"        "300"
            "percent"    "60"
            "count"        "4"
        }
        "params"
        {
            "1"        "mapcycle"
        }
    }
}
and still it will only use my mapcycle.txt

Sorry for being a pain to you guys. Oh and yeah it's the latest version. Was wondering why there was a zip file inside the zip file of the plugin.
HanoverFist is offline
Crap
Senior Member
Join Date: Aug 2008
Old 08-31-2008 , 21:17   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #202

Quote:
Originally Posted by HanoverFist View Post
ok i have this in my maplist.cfg

[snip]and still it will only use my mapcycle.txt

Sorry for being a pain to you guys. Oh and yeah it's the latest version. Was wondering why there was a zip file inside the zip file of the plugin.


hmm, sorry, dunno. It works fine for me like that now, I suppose you'll have to wait for a more authoritative answer.


Dunno what the embedded zip files are about either. I am using the one in the main (not the embedded) zip. Never even bothered opening the second zip till I just read your message
Crap is offline
omgiafs
Junior Member
Join Date: Jul 2008
Location: Russia
Old 08-31-2008 , 21:17   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #203

About delay after voting complete.
There is no delay needed for voteban and votekick, for example. But it needs for votemap, or some other votes.

So i think that delay after voting complete must be optional for every vote.
If it will be included in vote config triggers (like command, delay, percent, count, expiers), it will be great.
omgiafs is offline
Send a message via ICQ to omgiafs Send a message via Skype™ to omgiafs
chundo
Senior Member
Join Date: May 2008
Old 09-01-2008 , 02:05   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #204

The second zip was a result of botched automated packaging I guess. Just ignore it.

Not sure what to tell you on the mapcycles. Works fine for me now, and others apparently...
__________________
chundo is offline
xYx
Member
Join Date: Jul 2005
Old 09-01-2008 , 11:05   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #205

Quote:
Originally Posted by HanoverFist View Post
ok i have this in my maplist.cfg

Code:
"MapLists"
{
    /**
     * Default requests go right to the mapcyclefile.
     */
    "default"
    {
        "target"        "mapcyclefile"
    }
    
    /* Admin menu, map menu */
    "sm_map menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* Admin menu, map voting menu */
    "sm_votemap menu"
    {
        "file"            "addons/sourcemod/configs/adminmenu_maplist.ini"
    }
    
    /* For the "randomcycle" plugin */
    "randomcycle"
    {
        "target"        "default"
    }
    
    /* For the "mapchooser" plugin */
    "mapchooser"
    {
        "target"        "default"
    }
    
    /* For the "rockthevote" plugin */
    "rockthevote"
    {
        "target"        "default"
    }

    /* For the "customvotes" plugin */
    "sm_cvote votemap"
    {
        "file"            "maplist.txt"
    }
}



and still it will only use my mapcycle.txt

Sorry for being a pain to you guys. Oh and yeah it's the latest version. Was wondering why there was a zip file inside the zip file of the plugin.
/* For the "customvotes" plugin */
"sm_cvote setnextmap"
{
"file" "maplist.txt"
}

Hi, I copied what you had into my maplist.cfg and the votemap option does nothing. I changed it to setnextmap and then the set next map to? option changed!!!!!!! This is all I wanted to do, is this what u wanna do?[/code
xYx is offline
Crap
Senior Member
Join Date: Aug 2008
Old 09-01-2008 , 23:21   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #206

If you attach your mapcycle and vote files I'll try swapping them out with mine when my server is empty and seeing if they work on my install.
Crap is offline
HanoverFist
Member
Join Date: Oct 2007
Old 09-02-2008 , 06:03   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #207

playervotes.cfg

maplists.cfg


core.vote.cfg

Here you go, and thanks
HanoverFist is offline
Crap
Senior Member
Join Date: Aug 2008
Old 09-02-2008 , 07:24   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #208

Quote:
Originally Posted by HanoverFist View Post

Votemap works fine for me, which means it's not your config or mapcycle settings.

My first guess, and the easiest thing to figure out, is that maybe something else is grabbing the "votemap" trigger? Do you have another mod installed, like Beetle's or Mani, or maybe the default votemap plugin still enabled? If you use the votemap option from the admin menu does it work?

If that isn't the cause, I'd say either the plugin version is wrong (I know you said you're running the latest, but I'd delete it, redownload and reinstall just to be sure) or maybe something is up with the version of sourcemod you are running.

Also make sure you are putting the maps you want available for the vote into the maplist.txt that is just inside the TF folder (actually, are you running a TF server? I don't recall if you mentioned what game you are trying to get this working for), one map to a line, just the map name, no .bsp extensions.

Try testing a different vote using a file other than maplist.txt to see if you can get it working at all.

For example (assuming you are running tf2), make a mapsfun.txt and add the following to it:
Code:
cp_granary
cp_dustbowl
then add this to your vote.cfg (whichever)
Code:
    "funmaps"
    {
        "title"        "Change to FUNmap #1?"
        "type"        "confirm"
        "command"    "changelevel #1"
        "abspercent"    "60"
        "trigger"
            {
            "command"    "votefun"
            "delay"        "300"
            }
        "params"
            {
            "1"        "mapcycle"
            }
    }
and this to your maplist.cfg
Code:
    /* For the "customvotes" plugin */
    "sm_cvote funmaps"
    {
        "file"            "mapsfun.txt"
    }
Then restart the server and type "votefun" in chat and see if a vote comes up with just granary and dustbowl available.
Crap is offline
mpain55
Member
Join Date: Jul 2008
Old 09-02-2008 , 16:31   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #209

Is it possible to make a vote that only players with reserved slots can intiate? there is no such thing as sm_reservation so how whould i go about doing that? And i can't give them kick, or slay permission for obvious reasons.
__________________
mpain55 is offline
HanoverFist
Member
Join Date: Oct 2007
Old 09-02-2008 , 17:06   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #210

Well could it be mapchooser and rockthevote.. also I've updated sourcemod 1.1 since and hasn't change the way it's working. oh yeah i'm running a tf2 server all i have is sourcemod installed.

Last edited by HanoverFist; 09-02-2008 at 21:46.
HanoverFist 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 03:31.


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