Raised This Month: $18 Target: $400
 4% 

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
noodleboy347
SourceMod Donor
Join Date: Mar 2009
Old 10-01-2009 , 19:48   Re: Simple Chat Colors
Reply With Quote #11

Plugin doesn't work? Or is that what you're fixing?
noodleboy347 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 19:49   Re: Simple Chat Colors
Reply With Quote #12

He's fixing a bug where {teamcolor} didn't work correctly; read what he wrote =P (it'll be fixed shortly).
thetwistedpanda is offline
noodleboy347
SourceMod Donor
Join Date: Mar 2009
Old 10-01-2009 , 19:52   Re: Simple Chat Colors
Reply With Quote #13

Quote:
Originally Posted by thetwistedpanda View Post
He's fixing a bug where {teamcolor} didn't work correctly; read what he wrote =P (it'll be fixed shortly).
EDIT: It works, had my STEAMID in wrong, I am a failure.

Last edited by noodleboy347; 10-01-2009 at 20:01.
noodleboy347 is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-01-2009 , 20:16   Re: Simple Chat Colors
Reply With Quote #14

ok, I readded the attachment. I didn't change the version number, and if you have already downloaded it, redownload it.

Minor fixes include fixing {teamcolor} and small log error with hlstatsx.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 20:20   Re: Simple Chat Colors
Reply With Quote #15

You fixed the issue with red/blue not working in {teamcolor}, but you broke {lightgreen}. Neither of these examples function:

Quote:
"Clan Member"
{
"flag" "t"
"namecolor" "{lightgreen}"
"textcolor" "{green}"
}
Quote:
"Clan Member"
{
"flag" "t"
"namecolor" "{green}"
"textcolor" "{lightgreen}"
}

Last edited by thetwistedpanda; 10-01-2009 at 20:32.
thetwistedpanda is offline
noodleboy347
SourceMod Donor
Join Date: Mar 2009
Old 10-01-2009 , 20:32   Re: Simple Chat Colors
Reply With Quote #16

Quote:
Originally Posted by thetwistedpanda View Post
Confirmed fixed .

*edit*

This no longer functions! . lightgreen doesn't seem to work period.
I'm using lightgreen and it works fine. Have you reloaded?
noodleboy347 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 20:32   Re: Simple Chat Colors
Reply With Quote #17

Of course I reloaded =P, otherwise {teamcolor} would still be broken. Are you using it in CS:S?

Interesting enough, this functions:
Quote:
"Clan Member"
{
"flag" "t"
"namecolor" "{teamcolor}"
"textcolor" "{teamcolor}"
}

Last edited by thetwistedpanda; 10-01-2009 at 20:34.
thetwistedpanda is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-01-2009 , 20:41   Re: Simple Chat Colors
Reply With Quote #18

Ok. There appears to be some errors in the .inc file.

It has lightgreen set to use \x03 which is a team color. It also has yellow set to \x04 which is green, not the new tf2 yellow/black.

I am not going to publish another update because of these issues right after its release... again. I am going to wait a bit to see what's up with any more errors (if any).

If you want to modify what the names do, you can edit the colors.inc file at:
PHP Code:
new String:CTag[][] = { "{default}""{green}""{yellow}""{lightgreen}""{red}""{blue}""{olive}"};
new 
String:CTagCode[][] = { "\x01""\x04""\x04""\x03""\x03""\x03""\x05"}; 
You would change the second \x04 to \x06 and recompile

I am not sure if there is a lightgreen in CSS, his chart in his thread doesn't seem to include everything or be 100% accurate.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 20:50   Re: Simple Chat Colors
Reply With Quote #19

I did as you suggested and it made no difference in-game. Also, CS:S does have a light green. I'll fiddle with it and see if I can fix it. It should be mentioned, however, that I have used {lightgreen} in the colors.inc in other plugins and it's worked just fine.

Last edited by Antithasys; 10-01-2009 at 20:55. Reason: whops wrong post!!
thetwistedpanda is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-01-2009 , 20:54   Re: Simple Chat Colors
Reply With Quote #20

Quote:
Originally Posted by thetwistedpanda View Post
I did as you suggested and it made no difference in-game. Also, CS:S does have a light green. I'll fiddle with it and see if I can fix it. It should be mentioned, however, that I have used {lightgreen} in the colors.inc in other plugins and it's worked just fine.
Then I am not sure why it wouldn't work here. I will look at it further.

EDIT:
The fix above was for TF2 yellow/black
__________________
[my plugins]

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

Last edited by Antithasys; 10-01-2009 at 20:55. Reason: haha this is the right post
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 04:37.


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