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

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 11-01-2009 , 18:32   Re: Simple Chat Colors
Reply With Quote #101

You will only see a yellow color after an item_found event has been fired (someone finds a hat/unlockable weapon). Before that it's black.
crazydog is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 11-04-2009 , 15:41   Re: Simple Chat Colors
Reply With Quote #102

It' NOT black, that's the matter : )
It's just like GREEN.

my code is {yellow} and its written {green} in game, not black. And it doesnt go Yellow even after a yellow fired event.
Cerise is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-04-2009 , 15:44   Re: Simple Chat Colors
Reply With Quote #103

This plugin uses the colors.inc file:

http://forums.alliedmods.net/showthread.php?t=96831

That file has yellow as an alias of green for a few game mods. I am assuming you are trying tf2 where that file hasn't been updated to include that color.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-06-2009 , 23:44   Re: Simple Chat Colors
Reply With Quote #104

Would like some feedback on a beta version of the next release. You can find it on the project site @ revision 61
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 11-07-2009 , 10:32   Re: Simple Chat Colors
Reply With Quote #105

Hey Anthis, here's a little feedback about your V61.

Just tested it on my TF2 Server, works great but i still have some bugs ( may come from the server ? ) with the colors.inc ( seen with TF2, some colors are "dead" ).

Here's the code i'm using :

Code:
"admin_colors"
{
"admin"
{
"flag" "z"
"tag" "[Admin]"
"tagcolor" "{red}"
"namecolor" "{olive}"
"textcolor" "{default}"
}
"modo"
{
"flag" "g"
"tag" "[Modo]"
"tagcolor" "{default}"
"namecolor" "{lightgreen}"
"textcolor" "{default}"
}
"vip"
{
"flag" "k"
"tag" "[VIP]"
"tagcolor" "{default}"
"namecolor" "{teamcolor}"
"textcolor" "{default}"
}

"everyone"
{
"namecolor" "{teamcolor}"
"textcolor" "{default}"
}
What i had as results :

- Flag is correctly detected for admins having it.

- Tag "[Admin]" is working great ( IG : [Admin]Cerise : text_here )

/- Tagcolor -> tried to use every colors, it still stays {default} value IG.
( I tried to put everything with {default} and only the tag with {green} / {lightgreen}, didnt have any result. )

- Namecolor is working great.

- Textcolor is working great. ( Tried with different colors, taking care of not using same colors code like lightgreen & teamcolor ).


Could it be my server having problems with {red}/{blue} tagcolor ?
Hope we'll have an update for the colors.inc for TF2, missing yellow color : )

If you have any question, PM me !

Thx for your plugins ! )
Cerise is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-07-2009 , 14:11   Re: Simple Chat Colors
Reply With Quote #106

Thanks a bunch for test! That is great. I have fixed the tag color... I accidentally reversed the format parameters.

I am wondering now about the everyone group. Did you get a chance to test it? I think I am going to have to format it like all the others, with the additional parameters like tag, tagcolor, etc.

Edit:

Just updated to rev 62.
__________________
[my plugins]

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

Last edited by Antithasys; 11-07-2009 at 14:30.
Antithasys is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 11-07-2009 , 14:19   Re: Simple Chat Colors
Reply With Quote #107

Did you upload the new files ?
I'll get them asap to test and give results.

Edit 1 : I can't get the "everyone" textcolor working ( used default & lightgreen + default & olive ).

Edit 2 : Downloaded and Tested Revision 62 - "tagcolor" is working great with {red}{blue} and all colors ( except yellow [ gives green ] cuz of colors.inc ).

Code:
"admin"
{
"flag" "z"
"tag" "[Admin] "
"tagcolor" "{red}"
"namecolor" "{olive}"
"textcolor" "{default}"
}



Result -> [Admin] = red ( also tested with blu )

Still can't get "everyone" working, i think you'll have to use the same way as "admin", with tag, namecolor etc...

Last edited by Cerise; 11-07-2009 at 15:47.
Cerise is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-09-2009 , 02:17   Re: Simple Chat Colors
Reply With Quote #108

Try this for the everyone group:

Code:
"everyone"
{
"flag" ""
"tag" ""
"tagcolor" ""
"namecolor" "{olive}"
"textcolor" "{default}"
}
Without anymore updates I think that should do it. Can't test at current location.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 11-09-2009 , 15:10   Re: Simple Chat Colors
Reply With Quote #109

Got it working with every colors :

Code:
"everyone"
{
"flag" ""
"tag" ""
"tagcolor" ""
"namecolor" "{teamcolor}"
"textcolor" "{olive}"
}
Results :

Everyone using chat got "textcolor" working, except Admins / Modos / VIP cuz they already have their own color.

This plugin is working GREAT
Congrats !
Cerise is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 11-11-2009 , 00:24   Re: Simple Chat Colors
Reply With Quote #110

Excellent, glad to hear it. I am going to leave this version in testing for the week and then publish and tag it.

If you are running the beta version and encounter any errors in the log after doing what was already said... please file a bug report on the project site so we can fix it before a release.

Thanks!
__________________
[my plugins]

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


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