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

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-23-2013 , 21:23   Re: [Source 2009] Custom Chat Colors
Reply With Quote #601

Quote:
Originally Posted by WildCard65 View Post
I did make it unique(I put it as default for users who aren't admins) but it doesn't get cached by the mysql module(and both the identity is unique and the flag is null)
Post a screenshot of your table.
__________________
Dr. McKay is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 09-24-2013 , 08:22   Re: [Source 2009] Custom Chat Colors
Reply With Quote #602

Edit: Here's link to screenshot: Table screenshot here

Last edited by WildCard65; 09-24-2013 at 16:25.
WildCard65 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-24-2013 , 17:32   Re: [Source 2009] Custom Chat Colors
Reply With Quote #603

Quote:
Originally Posted by WildCard65 View Post
Edit: Here's link to screenshot: Table screenshot here
Would you mind running sm_ccc_mysql_dump when it's not working and post the output here?
__________________
Dr. McKay is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 09-24-2013 , 17:55   Re: [Source 2009] Custom Chat Colors
Reply With Quote #604

Edit: nvm I forgot I had the .cfg file info
Edit2: Hmm seems to have cache'd it now.
Edit3: I now know what was wrong, it was that I editted the id field for the Default when I was adding another entry into the table and must've bugged out the caching process. Why not have the module through out an error if it fails to cache something to help debug it better.
But ya can you fix the part where textcolors not load unless bot the module and the main plugin is unloaded and reloaded?

Last edited by WildCard65; 09-24-2013 at 18:38.
WildCard65 is offline
WaffleMaddness
Junior Member
Join Date: Jan 2013
Old 10-06-2013 , 13:20   Re: [Source 2009] Custom Chat Colors
Reply With Quote #605

Hey im having trouble with trying to get my admins chat colors to work.

Code:
"admin_colors"
{
	"STEAM_0:0:26250409"
	{
		"tag"				"[Owner]"
		"tagcolor"			"#0400FF"
		"textcolor"			"#FF0015"
	}
	"VIP"
	{
		"flag"				"a"
		"tag"				"[VIP] "
		"tagcolor"			"#9EC34FAA"
		"namecolor"			"#00CCFF"
		"textcolor"			"#000000AA"
	}
	"Guest"
	{
		"tag"				"[Visitor]"
		"tagcolor"			"G"
	}
	"Admin"
	{
		"flag"				"b"
		"tag"				"[Admin]"
	}
}
that is my code. Cna you tell me what i am doing wrong?

Last edited by WaffleMaddness; 10-06-2013 at 13:21. Reason: coded
WaffleMaddness is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-06-2013 , 13:47   Re: [Source 2009] Custom Chat Colors
Reply With Quote #606

Quote:
Originally Posted by WaffleMaddness View Post
Hey im having trouble with trying to get my admins chat colors to work.
The "Guest" section doesn't have a flag specified so it will always override the "Admin" section.
__________________
Dr. McKay is offline
WaffleMaddness
Junior Member
Join Date: Jan 2013
Old 10-06-2013 , 13:49   Re: [Source 2009] Custom Chat Colors
Reply With Quote #607

Is there a way to make it not do that?

Edit: It doesnt even work with that out.

Last edited by WaffleMaddness; 10-06-2013 at 14:07.
WaffleMaddness is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 10-07-2013 , 09:28   Re: [Source 2009] Custom Chat Colors
Reply With Quote #608

Quote:
Originally Posted by WaffleMaddness View Post
Is there a way to make it not do that?

Edit: It doesnt even work with that out.
Put the admin section above the guest section, what is happening is that guest is being chosen before the admin section because the plugin reads the file from top to bottom with one above another being prioritized first(with one being at very top of the list being the first one dealt with).
WildCard65 is offline
WaffleMaddness
Junior Member
Join Date: Jan 2013
Old 10-07-2013 , 18:18   Re: [Source 2009] Custom Chat Colors
Reply With Quote #609

Thanks so much. It worked.
WaffleMaddness is offline
Cookedbeefchops
Junior Member
Join Date: Jun 2013
Old 10-09-2013 , 03:32   Re: [Source 2009] Custom Chat Colors
Reply With Quote #610

After I configured the config and entered my server nothing happened!!!!
Cookedbeefchops 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:52.


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