Raised This Month: $ Target: $400
 0% 

Simple Chat Colors (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-10-2013 , 23:18   Re: Simple Chat Colors (Redux)
Reply With Quote #301

This appears to of stopped working for me today, but I am unsure what I have changed plugin-wise to cause it. Whenever I reload the plugin file, I get the following message.
PHP Code:
KeyValues ErrorLoadFromBuffermissing in file addons\sourcemod\features\simple-chatcolors.cfg 
I've checked the file 100 times, I even removed every entry 1 by 1 but still get it. I even downloaded the default config from the first post, changed it to my SteamID and the same error. I've tried reinstalling the plugin, everything. But it always throws that error.

PHP Code:
SourceMod Version Information:
             
SourceMod Version1.5.0-dev+3877
             SourcePawn Engine
SourcePawn 1.1jit-x86 (build 1.5.0-dev+3877)
             
SourcePawn APIv1 4v2 4
             Compiled on
Aug  5 2013 10:44:30
             Build ID
3877:85ab61768bb0
             http
://www.sourcemod.net/ 
And here is my current chat colors config file.

PHP Code:
"admin_colors"
{
    
"STEAM_0:0:15987743" //Snaggle [UK]
    
{
        
"flag"            ""
        "tag"            "[GmodTech.net] "
        "tagcolor"        "{BLA}"
        "namecolor"        "{BLA}"
        "textcolor"        "{N}"
    
}

Am I seriously doing something wrong? I don't get the problem lol.
Snaggle is offline
MikeStardust
Member
Join Date: Jan 2013
Location: Portugal
Old 08-16-2013 , 10:38   Re: Simple Chat Colors (Redux)
Reply With Quote #302

Everyone joining my server is getting a colored tag, can you hep me??
Quote:
"admin_colors"
{
"STEAM_7" //teddy
{
"tag" "Owner|"
"tagcolor" "#8E2323"
"namecolor" "T"
}
"STEAM_" //ntx
{
"flag" "z"
"tag" "A|"
"tagcolor" "#8E2323"
"namecolor" "T"
}
"STEAM_" //mike
{
"flag" "z"
"tag" "A|"
"tagcolor" "#8E2323"
"namecolor" "T"

}
"STEAM_" //josh
{
"flag" "z"
"tag" "A|"
"tagcolor" "#8E2323"
"namecolor" "T"

}
"Moderator"
{
"flags" "k"
"tag" "M|"
"tagcolor" "#70B04A"
"namecolor" "T"
}
"Vip"
{
"flag" "p"
"tag" "V|"
"tagcolor" "#476291"
"namecolor" "T"

}
"Donator"
{
"flag" "o"
"tag" "D|"
"tagcolor" "#FFD700"
"namecolor" "T"

}
}
MikeStardust is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-16-2013 , 12:48   Re: Simple Chat Colors (Redux)
Reply With Quote #303

I would assume it's because you haven't filled out the SteamID for Teddy, NTX, Mike and Josh. You need to put their SteamID in there and not just STEAM_. If you do that, you also won't need the FLAG section filled out, you could remove it. For exmaple...
PHP Code:
"STEAM_0:0:1111111" //ntx
    
{
        
"tag" "A|"
        "tagcolor" "#8E2323"
        "namecolor" "T"
    

Also your HEX color codes won't work with this plugin... I don't think anyway?
Snaggle is offline
LinKoClan
Junior Member
Join Date: Aug 2013
Old 09-12-2013 , 20:25   Re: Simple Chat Colors (Redux)
Reply With Quote #304

Can you just not use hex codes anymore?
LinKoClan is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-12-2013 , 20:58   Re: Simple Chat Colors (Redux)
Reply With Quote #305

Quote:
Originally Posted by LinKoClan View Post
Can you just not use hex codes anymore?
This plugin never supported hex codes. For custom colors, you'll need to use Custom Chat Colors.
__________________
Dr. McKay is offline
s0xiik
Member
Join Date: Jan 2013
Location: Luxembourg
Old 09-19-2013 , 12:11   Re: Simple Chat Colors (Redux)
Reply With Quote #306

Is there anything wrong?
It is not working in cs source... There are no errors in console
PHP Code:
"admin_colors"
{
    
"STEAM_0:1:4*******"
    
{
        
"tag"                        "[~> Serverowner <~]"
        "tagcolor"                "{L}"
        "namecolor"            "{B}"
        "textcolor"        "{OG}"
    
}
}
    
"Admins"
    
{
        
"flag"                        "a"
        "tag"                        "[~> Serveradmin <~]"
        "tagcolor"                "{O}"
        "namecolor"            "{G}"
        "textcolor"        "{GRA}"
    
}
}
    
"STEAM_0:0:6********"
    
{
    
"tag"                "[~> Leader <~]"
    "tagcolor"            "{GRA}"
    "namecolor"             "{OG}"
    "textcolor"            "{L}"
    
}

__________________
GermanFunGamers

Need a Translation for German French English or Spanish? Ask me.
s0xiik is offline
Send a message via Skype™ to s0xiik
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-19-2013 , 12:14   Re: Simple Chat Colors (Redux)
Reply With Quote #307

Your config file is horribly malformed.

Code:
"admin_colors" 
{
    "STEAM_0:1:4*******" 
    { 
        "tag"                        "[~> Serverowner <~]" 
        "tagcolor"                "{L}" 
        "namecolor"            "{B}" 
        "textcolor"        "{OG}" 
    } 
    "Admins" 
    { 
        "flag"                        "a" 
        "tag"                        "[~> Serveradmin <~]" 
        "tagcolor"                "{O}" 
        "namecolor"            "{G}" 
        "textcolor"        "{GRA}" 
    }  
    "STEAM_0:0:6********" 
    { 
    "tag"                "[~> Leader <~]" 
    "tagcolor"            "{GRA}" 
    "namecolor"             "{OG}" 
    "textcolor"            "{L}" 
    } 
}
__________________
Dr. McKay is offline
s0xiik
Member
Join Date: Jan 2013
Location: Luxembourg
Old 09-19-2013 , 12:15   Re: Simple Chat Colors (Redux)
Reply With Quote #308

Doesn't work either, had this the first time!


"Simple Chat Colors" (2.0.0) by Simple Plugins
"Simple Chat Processor (Redux)" (1.1.5) by Simple Plugins, Min

**** EDIT:
It is now working, seems like the .inc didn't load correctly on the first time.
__________________
GermanFunGamers

Need a Translation for German French English or Spanish? Ask me.

Last edited by s0xiik; 09-19-2013 at 12:34.
s0xiik is offline
Send a message via Skype™ to s0xiik
Remy Lebeau
Senior Member
Join Date: Dec 2009
Location: Sydney, Australia
Old 10-06-2013 , 18:58   Re: Simple Chat Colors (Redux)
Reply With Quote #309

Would it be possible (or is it already) to allow wildcards in the overrides? For example, part of the war3source mod that we run on our server allows you to type:

playerinfo <player name>

And you get info on that player. You can also type "playerinfo" and scroll through a list to get the info you want. Because playername can be anything, I can't create a comprehensive list of overrides, hence my request for wildcards.

Code:
    "Overrides"
    {
        "playerinfo"         ""
        "playerinfo*"   ""
    }
Something like this ^^ That would simply mean that ANY sentence that starts with playerinfo would get passed through.

edit: second request: could you create an option so that you can make overrides case insensitive? People on our server often have caps lock bound to various functions, and so typing in a hurry often results in unusual capitalisation. It's a pain having to put in overrides for multiple variants. I've included our overrides section below so you can see what I mean:

Code:
        "Overrides"
    {
        "rank" ""
        "thetime" ""
        "THETIME" ""
        "testcommand"    ""
        "rtv"         ""
        "nominate"   ""
        "changerace" ""
        "CHANGERACE" ""
        "!rate"      ""
        "levelbank"  ""
        "LEVELBANK"  ""
        "war3rank"   ""
        "WAR3RANK"   ""
        "war3stats"   ""
        "WAR3STATS"   ""
        "war3top10"  ""
        "war3top20"  ""
        "war3top50"  ""
        "WAR3TOP10"  ""
        "WAR3TOP20"  ""
        "WAR3TOP50"  ""
        "skillsinfo" ""
        "SKILLSINFO" ""
        "raceinfo"   ""
        "RACEINFO"   ""
        "war3help"   ""
        "WAR3HELP"   ""
        "war3menu"   ""
        "WAR3MENU"   ""
        "resetskills" ""
        "RESETSKILLS" ""
        "skillsinfo" ""
        "SKILLSINFO" ""
        "tome"       ""
        "TOME"       ""
        "tome5"      ""
        "TOME5"       ""
        "tome10"     ""
        "TOME10"       ""
        "shopmenu"   ""
        "SHOPMENU"   ""
        "playerinfo" ""
        "PLAYERINFO" ""
        "itemsinfo" ""
        "ITEMSINFO" ""
        "spendskills" ""
        "SPENDSKILLS" ""
        "showxp" ""
        "SHOPXP" ""
        "tome2" ""
        "tome3" ""
        "tome4" ""
        "tome6" ""
        "tome7" ""
        "tome8" ""
        "tome9" ""
        "tome15" ""
        "tome20" ""
        "tome50" ""
        "tome100" ""
        "nextmap" ""
        "NEXTMAP" ""
        "timeleft" ""
        "TIMELEFT" ""
        "!models" ""
        "!forums" ""
        "!steam" ""
        "!donate" ""
        "!admins" ""
        "!apply" ""
        "!claim" ""
        "!guide" ""
        "gametracker" ""
        "gamemonitor" ""
        "!raffle" ""
        "motd" ""
        "myinfo" ""
        "MYINFO" ""
        "session" ""
        "!session" ""
        "statsme" ""
        "!statsme" ""
        "hitboxme" ""
        "!hitboxme" ""
        "weaponme" "" 
        "!weaponme" ""
        "!rank" ""
        "/rank" ""
        "next" ""
        "!next" ""
        "top" ""
        "!top" ""
        "top 10" ""
        "top 5" ""
        "top 20" ""
        "top 50" ""
        "top 100" ""
        "topknife" ""
        "!topknife" "" 
        "topknife 5" ""
        "topknife 10" ""
        "topknife 50" ""
        "topknife 100" ""
        "resetmyrank" ""
        "!montage" ""
        "lace" ""
        "LACE" ""
        "scroll" ""
        "SCROLL" ""
        "mask" ""
        "MASK" ""
        "claws" ""
        "CLAWS" ""
        "tome" ""
        "tomes" ""
        "sock" ""
        "SOCK" ""
        "socks" ""
        "SOCKS" ""
        "boot" ""
        "BOOT" ""
        "boots" ""
        "BOOTS" ""
        "mole" ""
        "MOLE" ""
        "maxhp" ""
        "MAXHP" ""
        "cloak" ""
        "CLOAK" ""
        "health" ""
        "HEALTH" ""
        "orb" ""
        "ORB" ""
        "feet" ""
        "FEET" ""
        "coat" ""
        "COAT" ""
        "shield" ""
        "SHIELD" ""
        "ring" ""
        "RING" ""
        "antiwards" ""
        "ANTIWARDS" ""
        "spriteme" ""  
        "SPRITEME" ""  
        "speed" ""
        "SPEED" ""
        "helm" ""
        "HELM" ""
        "hud" ""
        "HUD" ""
    }

Last edited by Remy Lebeau; 10-06-2013 at 19:01.
Remy Lebeau is offline
ALKINDA
Member
Join Date: Aug 2013
Old 10-15-2013 , 11:53   Re: Simple Chat Colors (Redux)
Reply With Quote #310

Hey im running csgo server and having issues with the color codes. I would much rather not use smlib but cant figure out how to incorporate it into your script. I have all the color codes for csgo which i could #define.

As is, with up to date scripts in csgo im getting this.



//the cmd used to produce whats in the pic.
say "{N}default"
"{G}green"
"{L}lightgreen"
"{R}red"
"{B}blue"
"{T}teamcolor"
"{OG}olive"
__________________

Last edited by ALKINDA; 10-15-2013 at 11:54.
ALKINDA 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 17:06.


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