Raised This Month: $12 Target: $400
 3% 

Simple Chat Colors (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Antithasys
Moderator
Join Date: Apr 2008
Old 09-23-2011 , 00:33   Re: Simple Chat Colors (Redux)
Reply With Quote #11

There are two issues going on here.

1. You were on the red team and no one was on the blue team. This made it so blue was an invalid color and therefore replaced with green.

2. Orange and Black are really the same color in TF2, and the color shown depends on if the item found event was fired. Black before an item found event, and yellow/orange afterwards.

Changing to the SMLIB doesn't add colors, well did add these two, but overall the colors available are the same. SMLIB just exposed the orange/black color as well as grey (spectator) color. It also gives you fallback colors. Both SMLIB and the colors.inc by Exvel can only use what the game engine provides, and what they provide has not changed. I switched to SMLIB for coding reasons really, but the side benefit is that it exposed these variations.

EDIT:

I updated the SVN for this plugin with some minor changes to the PrintColors command. It now shows how all the colors are presented and gives a little more information. Check out the beta links if you want to use it. This is the only change and not suggested unless for general use.
__________________
[my plugins]

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

Last edited by Antithasys; 09-23-2011 at 00:45.
Antithasys is offline
Jstn7477
Senior Member
Join Date: Mar 2011
Location: Florida, USA
Old 09-23-2011 , 10:53   Re: Simple Chat Colors (Redux)
Reply With Quote #12

Thanks for the explanation. I got excited when I saw the color listing for SMLIB but forgot about the past problems with orange/black.

I'll be testing and letting you know if I encounter any other problems. I use a lot of your Simple Plugins and they bring some great functionality to my servers.
__________________
Yo , I heard you like , so I put a in your so you can while you .
Jstn7477 is offline
deathcurse
Senior Member
Join Date: Jun 2006
Location: UK
Old 09-23-2011 , 11:06   Re: Simple Chat Colors (Redux)
Reply With Quote #13

Using the new version of this plugin on our servers and seems to be working great so far. Thanks!
__________________
Clan of Doom: www.clanofdoom.co.uk
deathcurse is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 09-23-2011 , 12:43   Re: Simple Chat Colors (Redux)
Reply With Quote #14

Can you please add a cvar so your chat colors are only applied when you type # ??
poppin-fresh is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-23-2011 , 20:15   Re: Simple Chat Colors (Redux)
Reply With Quote #15

Quote:
Originally Posted by poppin-fresh View Post
Can you please add a cvar so your chat colors are only applied when you type # ??
No. That doesn't seem to be something that would be useful past yourself. Feel free to edit the plugin for just your servers thou.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
poppin-fresh
AlliedModders Donor
Join Date: Aug 2010
Old 09-23-2011 , 23:35   Re: Simple Chat Colors (Redux)
Reply With Quote #16

It wasn't even my idea. It was auggested to me because some people want to choose when the type with the chat Not all the time. say if its for an admin and their trying to be undercover and their text is [admin] cover blown
poppin-fresh is offline
wawazy
Member
Join Date: Aug 2009
Old 09-27-2011 , 22:42   Re: Simple Chat Colors (Redux)
Reply With Quote #17

just replaced with this new version on server and nothing wrong for now


Thank for this plugin

wa
wawazy is offline
BaconCat
Member
Join Date: Sep 2011
Old 09-29-2011 , 21:27   Re: Simple Chat Colors (Redux)
Reply With Quote #18

Installed and working perfectly. Now my Donators/Admins all have Team Coloured chat text in TF2.
BaconCat is offline
psychonic

BAFFLED
Join Date: May 2008
Old 09-30-2011 , 09:05   Re: Simple Chat Colors (Redux)
Reply With Quote #19

@ Antithasys

Code:
public OnLibraryRemoved(const String:name[]) {     if (StrEqual(name, "scp"))     {         SetFailState("Simple Chat Processor Unloaded.  Plugin Disabled.");     } }

You don't need to do that manually. Since REQUIRE_PLUGIN is defined by default and your scp.inc is correct, it will already fail when that is unloaded.
psychonic is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-30-2011 , 13:17   Re: Simple Chat Colors (Redux)
Reply With Quote #20

Nice. I was wondering why that never seemed to run... lol.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys 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 05:48.


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