Raised This Month: $198 Target: $400
 49% 

[L4D] Vote Spam Guard (Dead Giveaway)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
grandwazir
Senior Member
Join Date: Jan 2009
Plugin ID:
756
Plugin Version:
1.0.1
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Helps admins to prevent voting abuse and stops voting spam.
    Old 02-06-2009 , 09:29   [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #1

    What does it do?

    Are you fed up of people vote spamming to remove one team mate until they just leave anyway? Would you like to know who is instigating this type of abuse?

    This plugin has the answer. Dead Giveaway allows server administrators to specify a minimum amount of time that must elapse before a player can call another vote. It also optionally displays the name of the player starting a vote to others and logs the name of people who start votes.

    I wrote this plugin mainly because I have found that some people tend to just spam kick votes against one person until they get fed up and leave and I don't think that is fair.

    How do I use it?

    Simply upload and it just works(tm). It does come with some ConVars for your configuation pleasure:
    • dga_notify_players: Whether or not we notify players of who calls a vote.
    • dga_log_initiators: Whether or not we log the names of players who call votes.
    • dga_cooldown_enabled: Whether or not players have to wait a specified time before they can call another vote.
    • dga_cooldown_time: The amount of time (in seconds) a player has to wait before they can call another vote.
    Sounds great! But is there anything wrong with it?

    Currently there are no known issues.

    Are you planning to do anything else?

    I was considering adding a feature which would allow a player to only call a specified number of votes per map, although I think it is unnecessary.

    Leading from the rear comes the change log

    Code:
    * Version 1.0
    *         - Initial release.
    * Version 1.0.1
    *         - Fixed ArrayOutOfBounds error.
    *         - Seperated Dead Giveaway configuation into cfg/sourcemod/plugin.deadgiveaway
    Attached Files
    File Type: sp Get Plugin or Get Source (deadgiveaway.sp - 3974 views - 4.2 KB)
    __________________

    Last edited by grandwazir; 02-10-2009 at 14:26. Reason: spellcheck
    grandwazir is offline
    macing
    Member
    Join Date: Jan 2009
    Old 02-07-2009 , 11:26   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #2

    Doesn't work here. A friend on the infected team called a mapchange vote but his name didn't appear anywhere on the screen.

    Edit: Oops, I forgot to restart the server. Ya my parents are brother and siter, I know.
    Anyway, this now works perfectly. Could you add an option to only show the message to admins and immunity against the cooldown for them?

    That is all.

    Last edited by macing; 02-07-2009 at 11:33.
    macing is offline
    L4DHelp
    Member
    Join Date: Dec 2008
    Old 02-07-2009 , 12:52   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #3

    If you can add Admin only notifications, I will surely use this. It's a pain trying to find who started votes using HLSW as the console scrolls constantly in L4D. This is a good idea.
    __________________
    L4DHelp is offline
    grandwazir
    Senior Member
    Join Date: Jan 2009
    Old 02-07-2009 , 16:37   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #4

    Quote:
    Originally Posted by macing View Post
    Anyway, this now works perfectly. Could you add an option to only show the message to admins and immunity against the cooldown for them?
    I'll look into adding those two features when I get time.
    grandwazir is offline
    madcap
    Senior Member
    Join Date: Feb 2009
    Old 02-09-2009 , 12:35   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #5

    I've created a plugin with other voting related features. If you're ok with it I'd like to add some of your ideas into mine.

    Votemanager2
    madcap is offline
    grandwazir
    Senior Member
    Join Date: Jan 2009
    Old 02-09-2009 , 16:28   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #6

    Quote:
    Originally Posted by madcap View Post
    I've created a plugin with other voting related features. If you're ok with it I'd like to add some of your ideas into mine.
    Sure thing. The code is commented fairly well so you should be able to work out what it does easily. If you have any trouble with it send me a PM.
    grandwazir is offline
    madcap
    Senior Member
    Join Date: Feb 2009
    Old 02-09-2009 , 19:05   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #7

    Thanks. I've implemented vote spam blocking in my plugin.
    madcap is offline
    DJ Tsunami
    DJ Post Spammer
    Join Date: Feb 2008
    Old 02-15-2009 , 11:55   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #8

    Well if you're fed up with people spamming votes, use L4D Vote Guard?
    __________________
    DJ Tsunami is offline
    grandwazir
    Senior Member
    Join Date: Jan 2009
    Old 02-15-2009 , 18:22   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #9

    Quote:
    Originally Posted by DJ Tsunami View Post
    Well if you're fed up with people spamming votes, use L4D Vote Guard?
    Yup, that's an excellent idea. I didn't see that plugin when I created this one
    __________________
    grandwazir is offline
    madcap
    Senior Member
    Join Date: Feb 2009
    Old 02-16-2009 , 14:39   Re: [L4D] Vote Spam Guard (Dead Giveaway)
    Reply With Quote #10

    Quote:
    Originally Posted by DJ Tsunami View Post
    Well if you're fed up with people spamming votes, use L4D Vote Guard?
    I think you were addressing me with this. I didn't care about vote spamming when I wrote Votemanager 2, I was more interested in Admin Immunity which wasn't provided by any other plugin. But once I had that implemented it made sense to add other voting related features.
    madcap 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 16:25.


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