Raised This Month: $104 Target: $400
 26% 

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 10-26-2016 , 15:07   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1271

Quote:
Originally Posted by condolent View Post
Installed this (Mitchell's CSGO version) plugin on another server of mine and the plugin shows up in sm plugins list together with simple chat processor.

Though I do not get any changed color/tag to my name in chat? The config is copied from my other server.

Don't even get an error in console. Anybody have any idea how this can be?
I don't think this was ever answered, but another plugin that uses scp could be the cause.
Mitchell is offline
Simon.
Member
Join Date: Oct 2016
Location: Sweden
Old 11-09-2016 , 07:31   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1272

hmm this is wierd, i cant get it to work either, im not sure if i have done something wrong ;P
custom-chatcolors.cfg



admins_simple.ini


errorlog
__________________

Last edited by Simon.; 11-09-2016 at 07:32.
Simon. is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-10-2016 , 12:46   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1273

1. As noted (very prominently) in the first post, CS:GO doesn't support arbitrary colors
2. You need the CS:GO version of Simple Chat Processor. Unfortunately I don't know off-hand where to find it. I think it's somewhere in this thread.
__________________
Dr. McKay is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 11-10-2016 , 13:42   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1274

Quote:
Originally Posted by Dr. McKay View Post
2. You need the CS:GO version of Simple Chat Processor. Unfortunately I don't know off-hand where to find it. I think it's somewhere in this thread.
https://forums.alliedmods.net/showpo...postcount=1047
__________________
xines is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 11-10-2016 , 13:46   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1275

Quote:
Originally Posted by xines View Post
That's a link to my Custom Chat Colors for csgo, which is what Simon. would need, also Simple Chat Processor is linked here: https://bitbucket.org/minimoney1/sim...-processor/src
__________________
Mitchell is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 11-10-2016 , 15:58   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1276

Hi

I have an error with the command sm plugins list but the plugin works very well

Code:
L 11/10/2016 - 18:21:06: [SM] Exception reported: Fatal error creating dynamic native!
L 11/10/2016 - 18:21:06: [SM] Blaming: custom-chatcolors.smx
L 11/10/2016 - 18:21:06: [SM] Call stack trace:
L 11/10/2016 - 18:21:06: [SM]   [0] CreateNative
L 11/10/2016 - 18:21:06: [SM]   [1] Line 55, D:\Libraries\Documents\Repos\Public Plugins\scripting\custom-chatcolors.sp::AskPluginLoad2
L 11/10/2016 - 18:21:06: [SM] Failed to load plugin "custom-chatcolors.smx": unexpected error 23 in AskPluginLoad callback.
Code:
Errors:
custom-chatcolors.smx ([Source 2013] Custom Chat Colors): unexpected error 23 in AskPluginLoad callback

Thank you for your help
Cripix is offline
Simon.
Member
Join Date: Oct 2016
Location: Sweden
Old 11-11-2016 , 08:25   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1277

Quote:
Originally Posted by Mitchell View Post
That's a link to my Custom Chat Colors for csgo, which is what Simon. would need, also Simple Chat Processor is linked here: https://bitbucket.org/minimoney1/sim...-processor/src

Well, i allready have those plugins installed on my server and it still dosent work ;P

i have changed the color codes to {01} now for the csgo and i still get errors
__________________
Simon. is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 11-12-2016 , 07:45   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1278

Why one of all Keys with STEAMID in config wont work.
All Keys that parsed in config works, but one of them wont change tag.

im tried to use STEAM3 instead of STEAMID but nothing changed.

This key wont work.
PHP Code:
"STEAM_0:1:75017227"
{
    
"tag"                "Test moder tag "
    "tagcolor"            "000000"
    "namecolor"        "0033FF"

MAGNAT2645 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 11-12-2016 , 14:30   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1279

Quote:
Originally Posted by Simon. View Post
Well, i allready have those plugins installed on my server and it still dosent work ;P

i have changed the color codes to {01} now for the csgo and i still get errors
Please reread my post and install the simple chat processor that works for csgo..
__________________
Mitchell is offline
xTremo
New Member
Join Date: Nov 2016
Old 11-16-2016 , 13:57   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1280

Pls help dont work (CS:GO)

custom-chatcolors.cfg

PHP Code:
//        Custom Chat Colors is written by Dr. McKay (http://www.doctormckay.com)
//        Simple Chat Colors (Redux) is written by Antithasys
//        The configuration is very similar, so I've stolen Redux's documentation :P
//        
//        How to edit this file:
//        "admin_colors"                                        <--    Leave this alone
//        {                                                                <--    Add all groups/steamids after first bracket (Leave this alone)
//                                                                            
//            "STEAM_0:1:1234567"                        <--    Here is a steamid example with a tag (don't duplicate steamids)
//            {
//                "namecolor"        "#RRGGBB"                        <--    This is the color for the name (#RRGGBB in hex notation or #RRGGBBAA with alpha)
//                "textcolor"        "#RRGGBBAA"                        <--    This is the color of the text
//            }
//
//            "groupname"                                            <--    This can either be a steamid for a specific player, or a group name
//            {                                                            <--    Open the group
//                "flag"                "z"                            <--    This is the flag(s) assoicated with the group.  This field doesn't matter if the group name is a steamid
//                "tag"                "[admin]"                    <--    This is the text for the tag
//                "tagcolor"        "O"                        <--    This is the color for the tag
//                "namecolor"        "G"                        <--    This is the color for the name
//                "textcolor"        "T"                        <--    This is the color of the text
//            }                                                            <--    Close the group
//        }                                                                <--    Add all groups/steamids before last bracket (Leave this alone)
//
//        NOTE:
//        If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
//        For colors, either a hex notation of a color (#RRGGBB or #RRGGBBAA) or one of the supported shortcuts (O - Olive, G - Green, T - Team) is required
//
//        --------ORDER OF OPERATIONS--------
//        
//        The order in which you place items in the config file matters.  Here is what determins what color they get:
//        1. SteamID
//            If there is a steamid present, it will always override everything.  If you put a steamid in twice
//            then the first entry (top to bottom) will be used. (I think, just don't do it!)
//        2. Groups
//            The plugin will search (top to bottom) for a postitive match for the flag string.  The player' flags
//            will be compared with the group flag character (NOTE: only one flag per group! "a" is okay, "ab" is NOT),
//            and if the player has the flag, it will stop there.
//            For example. Admins with the "ad" flags and donators with the "a" flag.  If you place the "a" flag group
//            above the "d" group then the admin will get the "a" colors. Order matters.
//
//        ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{
    
"STEAM_1:0:151329127"
    
{

        
"tag"                "[Owner] "
        "tagcolor"            "O"
        "namecolor"            "G"
        "textcolor"            "T"
        "flag"                "o"
    
}
    
    
"testadmin"
    
{

        
"tag"                "[admin] "
        "tagcolor"            "O"
        "namecolor"            "G"
        "textcolor"            "T"
    
}

admins.cfg
PHP Code:
/**
 * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
 *
 * Each admin should have its own "Admin" section, followed by a name.
 * The name does not have to be unique.
 *
 * Available properties: (Anything else is filtered as custom)
 *      "auth"          - REQUIRED - Auth method to use.  Built-in methods are:
 *                        "steam"  - Steam based authentication
 *                        "name"   - Name based authentication
 *                        "ip"    - IP based authentication
 *                        Anything else is treated as custom.
 *                     Note: Only one auth method is allowed per entry.
 *
 *      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
 *                     Note: Only one identity is allowed per entry.
 *
 *      "password"      - Optional password to require.
 *      "group"         - Adds one group to the user's group table.
 *      "flags"         - Adds one or more flags to the user's permissions.
 *        "immunity"        - Sets the user's immunity level (0 = no immunity).
 *                          Immunity can be any value.  Admins with higher 
 *                          values cannot be targetted.  See sm_immunity_mode 
 *                          to tweak the rules.  Default value is 0.
 *
 * Example:
    "BAILOPAN"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:16"
        "flags"            "abcdef"
    }
 *
 */
Admins
{
    
"Ego Eum Sicarius"
    
{
        
"auth"        "steam"
        "identity"    "steam id"
        "flags"        "bc"
        "group"        "testadmin"
        "immunity"    "1"
    
}
    
"??? trem0 #"
    
{
        
"auth"        "steam"
        "identity"    "steam id"
        "flags"        "zo"
        "group"        "root"
        "immunity"            "99"
    
}

xTremo 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 22:17.


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