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

[TF2] Chat Tag


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SilentLikeSilence
Senior Member
Join Date: Jul 2009
Plugin ID:
1288
Plugin Version:
3.5.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin adds tag to donators an admins chat messages.
    Unapprover:
    Reason for Unapproving:
    Provides no added functionality over newest version of Simple Chat Colors (http://forums.alliedmods.net/showthread.php?t=105150)
    Old 11-21-2009 , 09:02   [TF2] Chat Tag
    Reply With Quote #1

    Chat Tag
    v3.5.0



    Description
    Plugin adds a tag to donators an admins chat messages.
    Root admins can disable tags until the mapchange.


    Installation
    Put the .smx file into the plugins folder and put the .inc files into the scripting/ include folder. (you will see how it is in the attached .zip)
    Config file is automatically created on the first run in the tf/cfg/sourcemod folder.


    How does it distinguish donators and admins?
    • No tag - No admin flag
    • Donator tag - Generic flag (a), No kick flag
    • Admin tag - Generic flag (a), Kick flag (c)


    Change log
    • 1.0.0 --
    • 2.0.0 -Fixed blocking of chat triggers and duplicating of messages in specific games
    • 2.5.0 -Fixed tag didn't appear when admins type chattriggers
    • 2.5.5 -Plugin optimized with using of format function
    • 3.0.0 -Fixed hlstatsx blocking, plugin distinguishes donators and admins, config file added
    • 3.5.0 -Admin menu support for root admins


    Plugin uses Psychonic's loghelper and Exvel's color library.
    Attached Files
    File Type: zip Chat Tag 3.5.0.zip (58.1 KB, 6652 views)

    Last edited by SilentLikeSilence; 12-30-2009 at 08:26.
    SilentLikeSilence is offline
    Cerise
    Senior Member
    Join Date: Jun 2009
    Location: debug_backtrace()
    Old 11-21-2009 , 10:09   Re: [TF2] Admin Chat Tag
    Reply With Quote #2

    Nice plugin and nice work, already done though

    See simple-chatcolors plugin by Antithasys.
    Cerise is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 11-21-2009 , 10:54   Re: [TF2] Admin Chat Tag
    Reply With Quote #3

    That's just color, this one replaces admin messages with this the tagged one.
    SilentLikeSilence is offline
    noodleboy347
    AlliedModders Donor
    Join Date: Mar 2009
    Old 11-21-2009 , 12:07   Re: [TF2] Admin Chat Tag
    Reply With Quote #4

    Can you add the source file to the post?
    noodleboy347 is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 11-21-2009 , 13:14   Re: [TF2] Admin Chat Tag
    Reply With Quote #5

    Of course, but the zip includes it too.
    SilentLikeSilence is offline
    bouncer
    Veteran Member
    Join Date: Apr 2009
    Old 11-21-2009 , 13:17   Re: [TF2] Admin Chat Tag
    Reply With Quote #6

    Could you make this compatible with insurgency please? although insurgency doesnt support colors, if you could make it appear so that...

    [ADMIN] NameHere: hello

    that appears in chat like that. admin goes before name.
    __________________


    bouncer is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 11-21-2009 , 13:32   Re: [TF2] Admin Chat Tag
    Reply With Quote #7

    I can try that, but I never made plugins for insurgency and I never played with it. But I give it a try.

    It doesn't support any colors? (I removed all colors)
    Attached Files
    File Type: sp Get Plugin or Get Source (adminchattagins.sp - 1911 views - 2.8 KB)

    Last edited by SilentLikeSilence; 11-21-2009 at 13:52.
    SilentLikeSilence is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 11-21-2009 , 18:01   Re: [TF2] Admin Chat Tag
    Reply With Quote #8

    Simple Chat Colors actually does tagging in the beta release that some people have been using for a week or so.

    Looking at your plugin you will encounter a number of issues, including improper logging of chat, and chat triggers.

    In it's current form it would be unapproved for those three reasons.
    1. replicates existing plugin
    2. incomplete code
    3. improper logging and stop all chat triggers

    You can make corrections, but still without adding additional features or something different from the other plugin it will be unapproved.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    SilentLikeSilence
    Senior Member
    Join Date: Jul 2009
    Old 11-21-2009 , 18:41   Re: [TF2] Admin Chat Tag
    Reply With Quote #9

    PHP Code:
    Set the color of the players name
    Set the color of the players chat message
    Set the color 
    for a specific player or group of players
    Supports all colors in the colors
    .inc file by exvel
    Uses loghelper
    .inc by psychonic for compability with HLstatsxCE 
    Which means the tag from these for you? Cause there's nothing about tagging.

    1.It's not a replicate!
    2.There're no errors in log, so I don't know what are you talking about.

    I think you are just trying to unapprove my plugins with no reason.

    like my last plugin: "Reason for Unapproving: no idea what to say..."

    Last edited by SilentLikeSilence; 11-21-2009 at 18:46.
    SilentLikeSilence is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 11-21-2009 , 18:48   Re: [TF2] Admin Chat Tag
    Reply With Quote #10

    The beta version. Not the released version. Look further in that thread.

    I know this is not a direct replication. I have looked at the code and can see that it's not.

    I will explain the issues better.

    You intercept chat and reproduce it by printing it to clients... this is fine, but you don't log the original message. So no admin chat, or anyone who has the tag applied in your plugin will have their chat logged. This is bad.

    You do not bug out on chat triggers. If the person has chat intercepted the will no longer be able to use chat triggers in your current code. Commands like !admin will not work. This is bad.

    Edit:

    That other plugin had so many issues... ya, I didn't know what to say. I tried to offer some help, but you missed the concept as a whole, and admittedly didn't even test it.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?

    Last edited by Antithasys; 11-21-2009 at 18:50.
    Antithasys 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 18:18.


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