Monthly Target: $400 Donations: $131
 32% 

[ANY] Anti Color Abuse


Post New Thread Reply   
 
Thread Tools Display Modes
Author
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Plugin ID:
3261
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    387 
    Plugin Description:
    Removes the ability for any player to use colors.
    Old 09-24-2012 , 12:49   [ANY] Anti Color Abuse
    Reply With Quote #1


    [ANY] Anti Color Abuse
    Version 1.1.0


    Description:
    Anyone who has Simple Chat Processor installed, along with a plugin like Simple Chat Colors or Custom Chat Colors, will find that ANY player can use ANY color via a certain exploit. This plugin removes the ability for these players to use their own hacked colors. This will not affect the ability for said plugins to give colors to authorized admins/donators.
    Commands:
    • [none]

    Cvars:
    • sm_anticolorabuse_version | Plugin version. Do not edit.
    • sm_anticolorabuse_enabled | 0 = Disable plugin, 1 = Enable plugin. | Default Value: 1
    • sm_anticolorabuse_allowadmin | Allow admins to use hacked colors in chat. | Default Value: 0 (Admin: Generic Admin (b) | Override: anticolorabuseflag)

    Installation:
    Place anticolorabuse.smx into your addons/sourcemod/plugins folder.
    Changelog:
    • 1.0.0
      • Original version.

    Many thanks to Horsedick who helped in solving the exploit!
    .
    Attached Files
    File Type: sp Get Plugin or Get Source (anticolorabuse.sp - 761 views - 2.3 KB)
    __________________

    Last edited by 11530; 11-10-2012 at 16:25. Reason: Filled in public cvar
    11530 is offline
    TnTSCS
    SourceMod Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 09-24-2012 , 13:43   Re: [ANY] Anti Color Abuse
    Reply With Quote #2

    thank you for the fix
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 09-24-2012 , 13:43   Re: [ANY] Anti Color Abuse
    Reply With Quote #3

    Nice, thanks. But please add "Plugin Dependencies:" otherwise this plugin will be useless for servers w/o simple chat processor and simple chat colors/custom chat colors
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    Huntereb
    >:) (:<
    Join Date: Jul 2012
    Old 09-24-2012 , 14:10   Re: [ANY] Anti Color Abuse
    Reply With Quote #4

    What exploit? How would my users be able to do this?
    Huntereb is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-24-2012 , 14:12   Re: [ANY] Anti Color Abuse
    Reply With Quote #5

    Quote:
    Originally Posted by Huntereb View Post
    What exploit? How would my users be able to do this?

    I posted here about it - it basically allows anyone to use colors even if you don't have permission too from say SCC or CCC thru configs or whatever. Many use it for VIP's or Admins only and you can really screw with people using it even make it appear as if objects were found that don't exist if you don't have access to fakeandforce plugin.

    http://forums.alliedmods.net/showpos...5&postcount=67

    Last edited by Horsedick; 09-24-2012 at 14:14.
    Horsedick is offline
    Huntereb
    >:) (:<
    Join Date: Jul 2012
    Old 09-24-2012 , 14:18   Re: [ANY] Anti Color Abuse
    Reply With Quote #6

    I haven't seen anyone on my server use the exploit, but I'll add it tonight just to be safe. Thanks!
    Huntereb is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-24-2012 , 14:22   Re: [ANY] Anti Color Abuse
    Reply With Quote #7

    Quote:
    Originally Posted by Huntereb View Post
    I haven't seen anyone on my server use the exploit, but I'll add it tonight just to be safe. Thanks!

    It was getting wide spread on mine - people were talking to each other so really till the processor is fixed to prevent this then its best to run it.
    Horsedick is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 09-24-2012 , 14:29   Re: [ANY] Anti Color Abuse
    Reply With Quote #8

    Great fix!

    You may want to use Simple Chat Processor and check if the string "message" contains the colors.
    Quote:
    Originally Posted by Horsedick View Post
    It was getting wide spread on mine - people were talking to each other so really till the processor is fixed to prevent this then its best to run it.
    I'm able to use it without Simple Chat Processor?
    If yes, I just type "HelloFF0000buddy!" and it'll color itself?
    __________________
    My Plugins
    Not taking private requests, too busy.

    Last edited by shavit; 09-24-2012 at 14:30.
    shavit is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 09-24-2012 , 15:32   Re: [ANY] Anti Color Abuse
    Reply With Quote #9

    Quote:
    Originally Posted by shavit View Post
    I'm able to use it without Simple Chat Processor?
    If yes, I just type "HelloFF0000buddy!" and it'll color itself?
    Well the idea is to help fix an exploit with SCP that others seem to be using. So if you are using SCP then its advised that you use this too if you have issues with people using the codes to fire off colors or worry about it being used.
    Horsedick is offline
    TheHardstyleBro
    Senior Member
    Join Date: Jun 2012
    Location: Netherlands
    Old 09-25-2012 , 06:28   Re: [ANY] Anti Color Abuse
    Reply With Quote #10

    Well how can I use it?

    If it's for admins only
    __________________
    TheHardstyleBro 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 08:04.


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