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

[CS:GO]Chat Colors (Custom Chat Colors)


Post New Thread Reply   
 
Thread Tools Display Modes
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 06-07-2017 , 15:58   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #21

Quote:
Originally Posted by Mitchell View Post
You're missing an ending quote or bracket, like the error states. please read the error.
I am getting this missing KeyValue error as well and I am definately not missing a {

I know how to look out for these (Zeph Store Items.txt anyone). I think something else is wrong. It also doesn't like my "" around @z. God knows why. I am using Sublime Text with UTF-8 encoding.

Code:
KeyValues Error: LoadFromBuffer: missing { in file addons/sourcemod/configs/chat_colors_csgo.ini

KeyValues Error: RecursiveLoadFromBuffer:  got NULL key in file addons/sourcemod/configs/chat_colors_csgo.ini
chat_colors_csgo, @z, 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/sourcemod/configs/chat_colors_csgo.ini
chat_colors_csgo, (*@z*),
Just in case here is my file After the Comments:
Code:
//--------------------------------------
"chat_colors_csgo"
{
	"@z"
        {
		"tag"			"[OWNER]"
		"tag_Color"		"RED"
		"name_Color"		"TEAM"
		"chat_Color"		"RED"
	}
	"@b"
	{
		"tag"			"[ADMIN]"
		"tag_Color"		"BLUE"
		"name_Color"		"TEAM"
		"chat_Color"		"BLUE"  
	}
}

Last edited by TrappaTroopa; 06-07-2017 at 16:06.
TrappaTroopa is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-07-2017 , 20:15   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #22

I don't really trust that this is the full config file.
__________________
Mitchell is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 06-07-2017 , 23:25   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #23

Quote:
Originally Posted by Mitchell View Post
I don't really trust that this is the full config file.
Here is the Full File
Attached Files
File Type: ini chat_colors_csgo.ini (2.2 KB, 399 views)
TrappaTroopa is offline
ichiballs
Member
Join Date: Oct 2016
Old 06-08-2017 , 07:18   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #24

Quote:
Originally Posted by Mitchell View Post
I don't really trust that this is the full config file.
This thing happens to pretty much everybody, its the reason why very few people are using it. Barely working for anybody.
ichiballs is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-08-2017 , 11:34   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #25

Quote:
Originally Posted by TrappaTroopa View Post
Here is the Full File
Your encoding is UTF-8-BOM, it needs to be UTF-8 then it will load fine.
I also had to edit the plugin because the chat-processor he linked to wasn't using the right forward...
__________________

Last edited by Mitchell; 06-08-2017 at 11:34.
Mitchell is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 06-08-2017 , 15:56   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #26

Quote:
Originally Posted by Mitchell View Post
Your encoding is UTF-8-BOM, it needs to be UTF-8 then it will load fine.
I also had to edit the plugin because the chat-processor he linked to wasn't using the right forward...
Mind sharing your changed version of Chat-Processor then please? Or at least tel me what lines to change so I can do the same? Thanks!

Also I fixed the encoding and it is working now!

Edit: Well the plugin loads but as soon as someone types in chat the server crashes.

Last edited by TrappaTroopa; 06-08-2017 at 16:45.
TrappaTroopa is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-08-2017 , 16:59   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #27

Quote:
Originally Posted by TrappaTroopa View Post
Mind sharing your changed version of Chat-Processor then please? Or at least tel me what lines to change so I can do the same? Thanks!

Also I fixed the encoding and it is working now!

Edit: Well the plugin loads but as soon as someone types in chat the server crashes.
That's weird, sure I'll add everything to a zip, hopefully i didn't miss anything, I didn't see any crashes, however it was just me in my test server.
Attached Files
File Type: zip chatplugin.zip (53.3 KB, 496 views)
__________________

Last edited by Mitchell; 06-08-2017 at 16:59.
Mitchell is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 06-08-2017 , 18:55   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #28

Quote:
Originally Posted by Mitchell View Post
That's weird, sure I'll add everything to a zip, hopefully i didn't miss anything, I didn't see any crashes, however it was just me in my test server.
Well your version worked flawlessly. I had zero issues adding my own things to the cfg file. I wonder why yours works better. Is it the edited Chat-Processor? Or did you do something to the Chat Colors plugin too?
TrappaTroopa is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 06-08-2017 , 19:25   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #29

Quote:
Originally Posted by TrappaTroopa View Post
Well your version worked flawlessly. I had zero issues adding my own things to the cfg file. I wonder why yours works better. Is it the edited Chat-Processor? Or did you do something to the Chat Colors plugin too?
I don't think I edited the chat-processor, i just downloaded the latest from Drixevel's github.
I just changed the forward this chat color plugin used to match Drixevel's version, I'm not sure why it was different.
__________________

Last edited by Mitchell; 06-08-2017 at 19:25.
Mitchell is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 06-08-2017 , 19:29   Re: [CS:GO]Chat Colors (Custom Chat Colors)
Reply With Quote #30

Quote:
Originally Posted by Mitchell View Post
I don't think I edited the chat-processor, i just downloaded the latest from Drixevel's github.
I just changed the forward this chat color plugin used to match Drixevel's version, I'm not sure why it was different.
Well thanks! This is awesome. I had made a custom section of my store for custom admin tags and colors because I couldn't get any other chat color plugins to work. Now I can use this and it is fully automated. Just add a new Mod/Admin into Sourcebans and BOOM they have the right colors

Last edited by TrappaTroopa; 06-08-2017 at 19:30.
TrappaTroopa 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 01:28.


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