Raised This Month: $32 Target: $400
 8% 

Anti-class spam


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
443
Plugin Version:
1.0.100
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Prevents players crashing your server with frequent class changes
    Unapprover:
    Reason for Unapproving:
    This was fixed by Valve.
    Old 07-02-2008 , 15:40   Anti-class spam
    Reply With Quote #1

    Many players are now causing servers to crash by spamming class changing on OrangeBox servers such as TF2 and DoDSBeta.

    This script counts the number of times a class has been changed between deaths. If it exceeds the cvar then the player is kicked.
    If they die, the count gets reset.

    This is only a temporary fix until VALVe fix it.

    Configuration
    sm_class_spam_max 8
    Sets the max number of times a player can change class between deaths.


    If you want it changed so that players are banned or banned via SourceBans, let me know...
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_class_spam.sp - 1030 views - 1.9 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    Cooltad
    Veteran Member
    Join Date: Apr 2008
    Old 07-02-2008 , 17:21   Re: Anti-class spam
    Reply With Quote #2

    Thanks! I'm not sure if anyones been doing this in my server (although its been crashing when people are on) but now I'll solve one crash problem and see if I have any others, so thanks. ^_^
    __________________
    Please, give me some rep if you found what I posted useful. :]
    Cooltad is offline
    msleeper
    Veteran Member
    Join Date: May 2008
    Location: Atlanta, Jawjuh
    Old 07-02-2008 , 18:57   Re: Anti-class spam
    Reply With Quote #3

    Is the class spam what causes the server to Segmentation Fault and restart? If so I would love to install this to keep it from happening.
    __________________
    msleeper is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 07-02-2008 , 19:16   Re: Anti-class spam
    Reply With Quote #4

    Heh, I get home, read emails from the hlds_list about the exploit, come here and find the fix. GG Dog!
    Mosalar is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 07-02-2008 , 19:34   Re: Anti-class spam
    Reply With Quote #5

    Yep. According to a certain raging group's forums, it adds 2Mb per sec, using their little join_class script. join_class and changeclass are client side, from what I can see and so can't be hooked.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    msleeper
    Veteran Member
    Join Date: May 2008
    Location: Atlanta, Jawjuh
    Old 07-02-2008 , 20:21   Re: Anti-class spam
    Reply With Quote #6

    strontiumdog, have you confirmed that this plugin works? One of my servers just crashed from the same cause I believe, and I had the plugin installed only about 20 minutes prior.
    __________________
    msleeper is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 07-02-2008 , 20:42   Re: Anti-class spam
    Reply With Quote #7

    Yep...as far as I can see.
    I even grabbed that script and ran it to test and it kicked.

    Apparently, there is still a little bit of memory creep but we have to wait for VALVe to fix it.
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - l4dod.theville.org
    strontiumdog is offline
    msleeper
    Veteran Member
    Join Date: May 2008
    Location: Atlanta, Jawjuh
    Old 07-02-2008 , 21:44   Re: Anti-class spam
    Reply With Quote #8

    I'm going to lower it down to 4 and see if it continues.

    Check your PMs.
    __________________
    msleeper is offline
    Unrealomega
    Member
    Join Date: May 2008
    Old 07-02-2008 , 22:13   Re: Anti-class spam
    Reply With Quote #9

    I wouldn't say kick a person. What about just a way to restrict him from changing or send him to spectator? I change several times in one life sometimes, rather not get kicked off the server for it. But I like the idea of this plugin.
    Unrealomega is offline
    dann
    Senior Member
    Join Date: Nov 2007
    Old 07-02-2008 , 22:34   Re: Anti-class spam
    Reply With Quote #10

    it works great, its kicked a few of these players already, but they just rejoin. Ive had no complaints from regular players about this plugin. I would actually like a perm ban feature.
    dann 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 20:42.


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