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

Simple Chat Colors (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Antithasys
Moderator
Join Date: Apr 2008
Old 10-22-2011 , 00:16   Re: Simple Chat Colors (Redux)
Reply With Quote #61

Quote:
Originally Posted by jpwanabe View Post
The game is TF2 so all the colors I have it set to should work. Its just that when I type it just comes up normal. For example
JP: normal text
Isn't the plugin supposed to make it so its like this
[SA]JP: text
1. I assume those steam id groups are sanitized for the forum and you didn't name those groups like that. I say this because the method used to determine if a steamid was entered is a strcontains on "STEAM_0:" I am not really sure how it would react to group names like that... I would guess it would just skip those entries, but not positive (untested).

2. If you can't get it to work, try removing all groups but just the group that pertains to you. If you are trying to find yourself by steam id, try by flag.

To answer your questions, it does as you suggested. It would color your name and apply a tag. I have done extensive testing on this and have had no errors from a correctly configured .cfg file.
__________________
[my plugins]

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

Last edited by Antithasys; 10-22-2011 at 00:17.
Antithasys is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 10-22-2011 , 00:32   Re: Simple Chat Colors (Redux)
Reply With Quote #62

Quote:
Originally Posted by Antithasys View Post
1. I assume those steam id groups are sanitized for the forum and you didn't name those groups like that. I say this because the method used to determine if a steamid was entered is a strcontains on "STEAM_0:" I am not really sure how it would react to group names like that... I would guess it would just skip those entries, but not positive (untested).

2. If you can't get it to work, try removing all groups but just the group that pertains to you. If you are trying to find yourself by steam id, try by flag.

To answer your questions, it does as you suggested. It would color your name and apply a tag. I have done extensive testing on this and have had no errors from a correctly configured .cfg file.

Well I just removed the steam id's rather the post them on here. From what I gathered from the config file was that you could set it to a steam id and it would work.
jpwanabe is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-22-2011 , 00:37   Re: Simple Chat Colors (Redux)
Reply With Quote #63

Quote:
Originally Posted by jpwanabe View Post
Well I just removed the steam id's rather the post them on here. From what I gathered from the config file was that you could set it to a steam id and it would work.
Yes. That is correct, it will find by steam id. That is why I asked if they were just sanitized (removed) for the post.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 10-22-2011 , 03:33   Re: Simple Chat Colors (Redux)
Reply With Quote #64

Either I'm missing something, or I'm an idiot. Just to make sure.
All I need to make this work is, the zip provided in the first post in this thread; Simple Chat Processor, and a properly configured cfg?

This is what I have it set to now.

Code:
"admin_colors"
{
	""
	{
		"tag"						"[Owner]"
		"tagcolor"				"{R}"
		"namecolor"			"{G}"
	}

	"Super"
	{
		"flag"						"z"
		"tag"						"[SA]"
		"tagcolor"				"{R}"
		"namecolor"			"{G}"
	}


	"Admins"
	{
		"flag"						"a"
		"tag"						"[A]"
		"tagcolor"				"{R}"
		"namecolor"			"{G}"
	}
	"VIP"
	{
		"flag"						"t"
		"tag"						"[VIP]"
		"tagcolor"				"{B}"
		"namecolor"			"{T}"
		"textcolor"			"{OG}"
	}
}

Last edited by jpwanabe; 10-22-2011 at 04:03.
jpwanabe is offline
Jstn7477
Senior Member
Join Date: Mar 2011
Location: Florida, USA
Old 10-22-2011 , 22:40   Re: Simple Chat Colors (Redux)
Reply With Quote #65

I know it's a bit late, but I did ban someone with a custom SourceBans reason and it worked perfectly. No issues with the plugin at all, thanks again.
__________________
Yo , I heard you like , so I put a in your so you can while you .
Jstn7477 is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-22-2011 , 22:51   Re: Simple Chat Colors (Redux)
Reply With Quote #66

Quote:
Originally Posted by Jstn7477 View Post
I know it's a bit late, but I did ban someone with a custom SourceBans reason and it worked perfectly. No issues with the plugin at all, thanks again.
Sweetness. I'm not quite ready to deploy this until I get more other "VIP" plugins set up, but good to know it should be smooth sailing!
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 10-23-2011 , 23:35   Re: Simple Chat Colors (Redux)
Reply With Quote #67

Thanks for this plugin. I decided to try this out, we always used your previous version.

I changed my config file to this:

Code:
"admin_colors"
{
    //Eraserhead    
    "STEAM_0:1:20347237"
    {
        "flag"                ""
        "tag"                    ""
        "tagcolor"        ""
        "namecolor"        "{O}"
        "textcolor"        "{T}"
    }
I wanted to have an orange name and teamcolored chat.

But when i test i get a white name and green chat. Any idea what i did wrong?
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Antithasys
Moderator
Join Date: Apr 2008
Old 10-24-2011 , 00:04   Re: Simple Chat Colors (Redux)
Reply With Quote #68

Quote:
Originally Posted by eraserhead View Post
Thanks for this plugin. I decided to try this out, we always used your previous version.

I changed my config file to this:

Code:
"admin_colors"
{
    //Eraserhead    
    "STEAM_0:1:20347237"
    {
        "flag"                ""
        "tag"                    ""
        "tagcolor"        ""
        "namecolor"        "{O}"
        "textcolor"        "{T}"
    }
I wanted to have an orange name and teamcolored chat.

But when i test i get a white name and green chat. Any idea what i did wrong?
Before we get to in depth... the new parser doesn't require blank fields. Try just doing...

PHP Code:
    //Eraserhead    
    
"STEAM_0:1:20347237"
    
{
        
"namecolor"        "{BLA}"
        "textcolor"        "{T}"
    

Orange isn't supported in TF2, counter to what the chart indicates. Its really a event color. if you want to use that event color, have to stick with {BLA}. I think the blank entries with the invalid colors are causing your issue.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 10-24-2011 , 07:37   Re: Simple Chat Colors (Redux)
Reply With Quote #69

Thanks for the quick response. That worked. Shame orange doesn't work. Why is yellow not in the chart? Since the game itself can use that color for dropped items.
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 10-26-2011 , 11:09   Re: Simple Chat Colors (Redux)
Reply With Quote #70

Quote:
Originally Posted by Bloodlvst View Post
I'm not sure how this helps me...lookin for the config example. I see redblue and bluered but how does that search out the teams vs putting in each steam user ID.


Also is there a way ...anyway to keep the color BLACK cause right now it keeps changing to the colors of a item dropped,found, crafted etc... which means I go from Black, to yellow, to orange to purple etc etc depending on the previous item shown
Horsedick 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 18:30.


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