Simple Chat Colors (Redux)
1 Attachment(s)
Simple Chat Colors
Description: Allows admins to set chat colors and tags for players or groups of players.Console Variables: None.Commands: sm_reloadscc - Reloads the config fileInstallation: Place the simple-chatcolors.smx in the /sourcemod/plugins dir.Changelog: Quote:
This plugin uses the Simple Chat Processor to manipulate chat. This is a very different plugin from the previous versions. There are no override commands, or cvars. It now uses the SMLIB colors include file as well. SVN (or Beta Links) If you want the latest version on the SVN you can use the links below. The release version of the plugin is attached. Source | Plugin | Config | No Phrases Enjoy! |
Re: Simple Chat Colors
Reserved. (Config file instructions coming soon!)
|
Re: Simple Chat Colors (Redux)
I've upgraded my server's simple chat plugins to 2.0, and now the simple chat colors config file throws errors when loaded / reloaded:
Quote:
Edit: It doesn't log the error unfortunately. When I reload the simple chat colors plugin, no errors are thrown. But in-game, the tags defined in the cfg aren't displaying. When I use sm_reloadscc, the KeyValues Error is thrown in console only. Check my pm for the cfg file. |
Re: Simple Chat Colors (Redux)
I need more of the error message. There should be a line number reference. I do not think there is anything that would prevent utf-8 from functioning properly. I did change the way the config file is loaded. I did this to mainly make the keys optional. So blank keys are not needed anymore. I am looking at the code now, but a edit of your post with more error info would be great.
Edit: I think that error is related to the KvValues function not reconizing a closed group due to a utf-8 char being near it, or right before it. Please post config file. The file, not a copy and paste. Thanks. |
Re: Simple Chat Colors (Redux)
Nice, I was looking forward to a newer version of SCC. I'll try this on one of my servers and make sure it's good to go before I replace SCCold. Glad to see some new colors.
|
Re: Simple Chat Colors (Redux)
The bug with players that use { and } in their name still exists.
My Name: {test}Snaggle [UK] How it looks in game: [Tag] ]{test}Snaggle [UK] The ] in the name will appear for anyone who uses {} in their name. Anyway to fix that? |
Re: Simple Chat Colors (Redux)
Since I do not parse the text myself, I just send to to SMLIB and the sort, the problem has to be there. I will ask berni if he see's a reason for it.
|
Re: Simple Chat Colors (Redux)
Okay thanks and congratulations on super mod :)
Another quick question, can I assign a tag to everyone with a certain flag that is not in a group? For example I have a plugin that gives certain players the flag "S", but they are not in any groups. |
Re: Simple Chat Colors (Redux)
I think you are confusing "groups" with admin groups. There is no link between these. Think of these groups as completely separate, but could share the same name. So, just create a group in the config that has the correct, valid, flag. Name it whatever you want, and apply the colors and tags.
... and thanks! :3 |
Re: Simple Chat Colors (Redux)
Hi Antithasys,
I just tried this on one of my lightly used servers for evaluation, and I seem to be having some color issues. Not all of the colors defined by SMLIB for TF2 seem to be working (specifically orange, haven't tested black), and some of the standard colors aren't right e.g. blue = green. Screenshot of sm_printcolors: http://steamcommunity.com/id/jstn747...49433666653950 I used my admin_colors definitions from the original SCC, but changed all the color keyvalues with the ones defined by SMLIB colors. No SM error logs were found, and the normal logs show 2 lines from simple-chatprocessor.smx: Code:
L 09/22/2011 - 22:57:44: [simple-chatprocessor.smx] [SCP] Recognized mod [Team Fortress 2]. |
All times are GMT -4. The time now is 00:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.