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

Custom Votes v0.5.6 (1/07)


Post New Thread Reply   
 
Thread Tools Display Modes
MaximReapage
Member
Join Date: Jun 2008
Old 10-24-2008 , 07:05   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #241

I'd like to take your plugin and replace the basevotes/funvotes with it...I would only be, basically, ripping your interface from it (the way it notifies you of the vote progress) and putting it in for basevotes and funvote, modifying it to use hsay instead of msay. Just wanted to make sure you were cool with this (I would credit you for your code, obviously). I'd also like for bailopan to consider making that part of the official sourcemod snapshot, since the current setup is abysmal.
MaximReapage is offline
Send a message via AIM to MaximReapage
harper
Junior Member
Join Date: Jul 2008
Old 10-24-2008 , 08:49   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #242

thanks gH0sTy I will try it later when I get home.
harper is offline
imported_sparky
Member
Join Date: Dec 2004
Old 10-24-2008 , 21:05   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #243

Is it possible to set this plugin so regular players can type voteban, votekick.


I tried Players Votes (v1.2.6) Updated Sep 1 2008 in ins but the menu does not popup works fine with this plugin but I dont know how to make it for public players
imported_sparky is offline
imported_sparky
Member
Join Date: Dec 2004
Old 10-25-2008 , 11:12   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #244

I tried with this config

Code:
"voteban"
    {
        "title"        "Ban #1 for 30 minutes?"
        "type"        "confirm"
        "cmd"        "sm_ban #1 30 \"Banned by vote.\""
        "percent"    "75"
        "count"        "3"
        "trigger"
            {
            "command"    "voteban"
            "notice"    "%u voted to ban #1"
            }
        "params"
            {
            "1"            "player"
            }
    }
    "votekick"
    {
        "title"        "Kick #1?"
        "type"        "confirm"
        "cmd"        "sm_kick #1 \"Kicked by vote.\""
        "percent"    "70"
        "count"        "3"
        "trigger"
            {
            "command"    "votekick"
            "notice"    "%u voted to kick #1"
            }
        "params"
            {
            "1"            "player"
            }
    }
    "votemute"
    {
        "title"        "Mute #1?"
        "type"        "confirm"
        "cmd"        "sm_mute #1 \"Muted by vote.\""
        "percent"    "80"
        "count"        "4"
        "trigger"
            {
            "command"    "votemute"
            "notice"    "%u voted to mute #1"
            }
        "params"
            {
            "1"            "player"
            }
    }
I get this

you do not have access to this command
__________________
Longisland Game Servers
www.ligs.us
imported_sparky is offline
gH0sTy
SourceMod Donor
Join Date: Jul 2008
Location: DE
Old 10-25-2008 , 14:01   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #245

Code:
"voteban"
    {
        "title"        "Ban #1 for 30 minutes?"
        "type"        "confirm"
        "cmd"        "sm_ban #1 30 voteban"
        "percent"    "75"
        "count"        "3"
        "trigger"
            {
               "command"    "voteban"
               "notice"    "%u voted to ban #1"
            }
        "params"
            {
               "1"            "player"
            }
    }
    "votekick"
    {
        "title"        "Kick #1?"
        "type"        "confirm"
        "cmd"        "sm_kick #1 votekick"
        "percent"    "70"
        "count"        "3"
        "trigger"
            {
               "command"    "votekick"
               "notice"    "%u voted to kick #1"
            }
        "params"
            {
               "1"            "player"
            }
    }
    "votemute"
    {
        "title"        "Mute #1?"
        "type"        "confirm"
        "cmd"        "sm_mute #1"
        "percent"    "80"
        "count"        "4"
        "trigger"
            {
               "command"    "votemute"
               "notice"    "%u voted to mute #1"
            }
        "params"
            {
            "1"            "player"
            }
    }
gH0sTy is offline
imported_sparky
Member
Join Date: Dec 2004
Old 10-26-2008 , 22:15   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #246

Thanks it worked

I was having problems with sourcebans had to update to the latest svn

My next question is how do I get it to add the bans to my sourcebans page I tested it and it just added a 30 min temp ban to the server memory

thanks in advance
__________________
Longisland Game Servers
www.ligs.us
imported_sparky is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 10-27-2008 , 11:20   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #247

Unfortunately that's not possible currently. Either chundo will have to add specific SourceBans support to Custom Votes, or you'll have to wait for SourceBans 2.0. But there's no timeframe for that yet, so don't expect it to be released anytime soon.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
monkie
Senior Member
Join Date: Oct 2006
Location: Shanghai, China
Old 11-01-2008 , 23:41   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #248

sorry for error reporting:
Code:
L 11/01/2008 - 22:47:01: SourceMod error session started
L 11/01/2008 - 22:47:01: Info (map "dod_palermo") (file "errors_20081101.log")
L 11/01/2008 - 22:47:01: [SM] Native "RemoveFromArray" reported: Invalid index 1 (count: 0)
L 11/01/2008 - 22:47:01: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 11/01/2008 - 22:47:01: [SM]   [0]  Line 1584, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::ClearCurrentVote()
L 11/01/2008 - 22:47:01: [SM]   [1]  Line 254, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::OnMapStart()
L 11/01/2008 - 23:32:23: Error log file session closed.
L 11/01/2008 - 23:32:24: SourceMod error session started
L 11/01/2008 - 23:32:24: Info (map "dod_colmar") (file "errors_20081101.log")
L 11/01/2008 - 23:32:24: [SM] Native "RemoveFromArray" reported: Invalid index 1 (count: 0)
L 11/01/2008 - 23:32:24: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 11/01/2008 - 23:32:24: [SM]   [0]  Line 1584, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::ClearCurrentVote()
L 11/01/2008 - 23:32:24: [SM]   [1]  Line 254, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::OnMapStart()
L 11/02/2008 - 00:17:37: Error log file session closed.
L 11/02/2008 - 00:17:38: SourceMod error session started
L 11/02/2008 - 00:17:38: Info (map "dod_avalanche") (file "errors_20081102.log")
L 11/02/2008 - 00:17:38: [SM] Native "RemoveFromArray" reported: Invalid index 1 (count: 0)
L 11/02/2008 - 00:17:38: [SM] Displaying call stack trace for plugin "customvotes.smx":
L 11/02/2008 - 00:17:38: [SM]   [0]  Line 1584, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::ClearCurrentVote()
L 11/02/2008 - 00:17:38: [SM]   [1]  Line 254, /home/groups/alliedmodders/forums/files/3/7/8/0/7/30672.attach::OnMapStart()
these are from my sourcemod error logs, have a check on it?
__________________
monkie is offline
Send a message via MSN to monkie Send a message via Skype™ to monkie
Iron_Chef
Junior Member
Join Date: Oct 2008
Old 11-12-2008 , 12:50   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #249

I would like to do something similar to what I saw on the previous page by harper... exec a cfg based on a vote. Specifically this would be done to exec weapon restrictions and thus have a knife/pistol round or two. The only problem I can see with this, is there's no easy way to undo the weapon restrictions or exec another cfg after one round, or even a set time. I don't want them to vote for a knife round and then have to vote again to turn it off.

Does anyone have any ideas?
Iron_Chef is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 11-24-2008 , 15:38   Re: Custom Votes v0.5.5 (8/25)
Reply With Quote #250

im trying to get votemap and votenextmap to work for all players, and have no verification

I cannot connect to the server and get the code Im using as I am at school atm and the ip address time out for some reason, but in general, what do i need to do to get it to work, is it even possible?
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 11-24-2008 at 15:44.
BrutalGoerge is offline
Reply


Thread Tools
Display Modes

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 17:20.


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