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

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 09-03-2011 , 13:44   Re: Simple Chat Colors
Reply With Quote #471

I've just noticed that you can't view chat from people in the config file in HLSW anymore. It doesn't show my chat or my other Admins/Donators chat, is there a fix for this?
Snaggle is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-03-2011 , 13:53   Re: Simple Chat Colors
Reply With Quote #472

Those systems use the log to view chat. Logging is done with the functions in the loghelper.inc file. My first suggestion is to make sure logging is turned on and if it is, check the log's to see if you can see the chat messages in there. My test server properly logs chat.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 09-03-2011 , 15:19   Re: Simple Chat Colors
Reply With Quote #473

Doesn't appear to be showing in my logs either. Can I also ask what the backup command actually does?
Snaggle is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-03-2011 , 15:22   Re: Simple Chat Colors
Reply With Quote #474

The backup cvar just makes the plugin bug out whenever the first char is a ! or /

I will look at the code, but like I said, it logs on my test server. Will look anyway.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Paparazziv2
Senior Member
Join Date: Feb 2011
Location: Chile, La Serena
Old 09-03-2011 , 19:24   Re: Simple Chat Colors
Reply With Quote #475

an image of this plugin ?
Paparazziv2 is offline
Send a message via MSN to Paparazziv2
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 09-04-2011 , 03:32   Re: Simple Chat Colors
Reply With Quote #476

Quote:
Originally Posted by Snaggle View Post
I've just noticed that you can't view chat from people in the config file in HLSW anymore. It doesn't show my chat or my other Admins/Donators chat, is there a fix for this?
I had the same problem, so I disabled it for now.

Is it now possible to add the chat color yellow ?
because if you get an item it is written in a yellow text.
just wondering if it is possible.
AeroAcrobat is offline
MrDuskling
Member
Join Date: Aug 2011
Old 09-05-2011 , 11:14   Re: Simple Chat Colors
Reply With Quote #477

Can somebody please help me? No tags are showing up, in the console or the regular chat.

Please help!!

This is my config:

Code:
"admin_colors"
{		
	//MrDuskling

	"STEAM_0:1:1234567"
	{
		"flag"					""
		"tag"					"[Owner]"
		"tagcolor"			"red"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}
	
	//Crayons
	
	"STEAM_0:0:20928911"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//psxguyy
	
	"STEAM_0:1:41584154"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//zodiac
	
	"STEAM_0:0:35928227"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//Frenchie
	
	"STEAM_0:1:40622970"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//Ethical
	
	"STEAM_0:1:17485934"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//Some idiot
	
	"STEAM_0:0:29707339"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	//RPD
	
	"STEAM_0:1:27091140"
	{
		"flag"					""
		"tag"					"[Admin]"
		"tagcolor"			"green"
		"namecolor"		"{default}"
		"textcolor"		"{default}"
	}

	"Overrides"
	{
		"rank"					""
		"testcommand"	""
		"rtv"					""
		"nominate"			""
	}
}
MrDuskling is offline
nikedu45
Senior Member
Join Date: May 2011
Old 09-05-2011 , 13:16   Re: Simple Chat Colors
Reply With Quote #478

There is a bug in the translation, the prefix is random.
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-05-2011 , 14:08   Re: Simple Chat Colors
Reply With Quote #479

I am actually going to stop coding for SCC in its current form. I have spent the past week completely rewriting the entire thing. Its now a series of plugins with a core chat processor. I will be adding it to the forums after some testing... so if you want to test it, go for it. It's located here.

Chat colors now uses the smlib and not the colors.inc file. This means there are different tags. You can see how the colors work here. This means you would have to update your .cfg files to the new tags.

In addition, it now works off a different translation system, so be sure to get the new translation files here. You only need the file for your game type... not all of them.

I have had great success in testing and actually feel like it should be really close to a release. There are actually very few cvars now, and multipule !reload commands based upon the plugin. Overall, this is a MAJOR improvement to the current system. I actually do not hook the say and say_team commands anymore. There is no need for an overrides group, trigger backups, or anything like that. There are no log, or event issues either.

What I do now is only change the display of the message. The chat processor provides a forward that other plugins can use, so really anything can be done to a players name, message, or who it is sent to. Another benefit is that when you run a valid command like !admin, your still tagged and colored up.

Try it out and let me know how it goes! I am particularly interested in the dead chat plugin and features... I could not test that properly with just 1 person. Needs many people on both teams, both alive and dead, to properly test to see if they get the message.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 09-05-2011 , 15:51   Re: Simple Chat Colors
Reply With Quote #480

Great news!
will you post it in a new theard or in this one ?
I'll be watching.

I will test later.

Thank you and your hard work!
AeroAcrobat 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 09:37.


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