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

[Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)


Post New Thread Reply   
 
Thread Tools Display Modes
lambofgod
Member
Join Date: Jul 2013
Old 07-01-2017 , 13:57   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #261

Still unable to figure out how to allow Donors access to the chat colors. It only allows them to hide their tags and that is it.
lambofgod is offline
lambofgod
Member
Join Date: Jul 2013
Old 07-01-2017 , 14:30   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #262

I am extremely confused now. I set myself up as a Donor without ANY admin commands or access and the Color Menu worked for me, but it won't for my other Donors.

The only things that ARE working are Hide and Reset tags for all my donors.

Last edited by lambofgod; 07-01-2017 at 14:43.
lambofgod is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-05-2017 , 12:01   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #263

Why is it that when I use this plugin, it hides user's chat tags unless they choose a color?
ThatKidWhoGames is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 08-06-2017 , 09:39   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #264

Quote:
Originally Posted by lambofgod View Post
Still unable to figure out how to allow Donors access to the chat colors. It only allows them to hide their tags and that is it.
Quote:
Command Overrides:
  • sm_ccc_tag (Generic Admin) - Admin flag to change tag colors
  • sm_ccc_name (Generic Admin) - Admin flag to change name colors
  • sm_ccc_chat (Generic Admin) - Admin flag to change chat colors
  • sm_ccc_hidetags (Generic Admin) - Required flag to hide chat tags
ThatKidWhoGames is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 11-05-2017 , 15:51   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #265

Quote:
Originally Posted by ThatKidWhoGames View Post
Why is it that when I use this plugin, it hides user's chat tags unless they choose a color?
I've fixed this, along with a bunch of other issues.

Changes:
Rather than 'Hide Tag' being under the 'Tag Color' Section, it is now on the main menu.
Players with permissions spawn in with tags and set to default color.
Made it so tags can be hidden even without enabling tag colors
Cleaned up menu handler

DiffCheck:
https://www.diffchecker.com/MA6pq6AA

_
Attached Files
File Type: sp Get Plugin or Get Source (custom-chatcolors-menu.sp - 292 views - 30.0 KB)
File Type: zip CCCM(PlusDependencies).zip (70.0 KB, 161 views)

Last edited by JoinedSenses; 11-08-2017 at 22:38.
JoinedSenses is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 11-07-2017 , 04:59   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #266

Regarding the above post:

For now, it isn't reading from the CCC config file for players' set tagcolor, so I've set it to FBECCB in the plugin (default tf2 chat colors). I had trouble getting it to store the proper hex value in the database. I'm not sure if it's the exact cause, but IntToString on the hex value seemed to not work properly, as it kept adding the first 6 of the 7 hex int values into the database, rather than the actual hex code.

If anyone can figure out how to get it to properly store these values in the database, I would be grateful.


-
The above post has been updated and everything should be working correctly. Just make sure you configure your database correctly for mysql via databases.cfg (info in original plugin post) and to set your overrides correctly for the 'Commands,' the 'Command Overrides,' and for the color flags within custom-chatcolors-menu.

Last edited by JoinedSenses; 11-07-2017 at 20:11.
JoinedSenses is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 11-08-2017 , 22:44   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #267

https://forums.alliedmods.net/showpo...&postcount=265

Above post has been updated yet again. Addressed a minor issue with CloseHandle causing invalid handles after modifying the menu to remain open while selecting colors.
JoinedSenses is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 09-16-2018 , 04:23   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #268

This plugin is now being maintained here:
https://github.com/JoinedSenses/TF2-...hatColors-Menu
JoinedSenses is offline
Andrey309a
Junior Member
Join Date: Feb 2017
Old 11-19-2018 , 05:21   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #269

Does anyone have an idea why the changes made are not saved?

I use this config in database.cfg

"cccm"
{
"driver" "mysql"
"host" "îphost"
"database" "cccm"
"user" "user^^"
"pass" "pass"
//"timeout" "0"
//"port" ""
}
Andrey309a is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 11-19-2018 , 21:21   Re: [Source 2009] Custom Chat Colors Menu (v2.2 - 1/27/14)
Reply With Quote #270

Quote:
Originally Posted by Andrey309a View Post
Does anyone have an idea why the changes made are not saved
Are you using the version I posted above?
There were some bugs in the version on the forums that I fixed. If you are using the above version, then verify that you're able to connect to your mysql database. Are you receiving any errors in your logs?
JoinedSenses 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 12:02.


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