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

[CSGO] RainbowChat - 2017/06/02


Post New Thread Reply   
 
Thread Tools Display Modes
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 06-02-2017 , 12:31   Re: [CSGO] RainbowChat
Reply With Quote #11

Quote:
Originally Posted by ichiballs View Post
I meant if it would be possible to make custom chat colors plugin for Chat-processor, like the one for SCP.
Check the Chat-Processor repository, I ported a version of CCC to use it.
Drixevel is offline
LeNoXX
Junior Member
Join Date: Dec 2016
Location: EU
Old 06-03-2017 , 12:56   Re: [CSGO] RainbowChat - 2017/06/02
Reply With Quote #12

Hey guys,

Is there a command or way to auto enable it for everyone that joins the server?

Because i checked after enabling it, then leaving and rejoining its gone.

Otherwise its quite cool
__________________
LeNoXX is offline
ichiballs
Member
Join Date: Oct 2016
Old 06-03-2017 , 18:45   Re: [CSGO] RainbowChat
Reply With Quote #13

Quote:
Originally Posted by Drixevel View Post
Check the Chat-Processor repository, I ported a version of CCC to use it.
But that only allows the 3 default colors.
ichiballs is offline
whtevrwt
AlliedModders Donor
Join Date: Apr 2015
Old 10-15-2017 , 16:43   Re: [CSGO] RainbowChat - 2017/06/02
Reply With Quote #14

For some reason, I have these set:

sm_cvar src_name_flag "b"

But when I go in game and try to change my name, it says I don't have access. But, when I change "b" to "z", it works. That doesn't make sense since I'm root and I have access to all the flags.
__________________
whtevrwt is offline
mlov420
Senior Member
Join Date: May 2013
Old 12-04-2017 , 21:16   Re: [CSGO] RainbowChat - 2017/06/02
Reply With Quote #15

Plugin seems to be putting team color dots randomly throughout the chat messages and name tag, it's strange. Took a screenshot of what I'm talking about. This is using the most recent zephstore version of your plugin: https://imgur.com/a/to8z2

Edit - The fix is relatively easy. I just removed the teamcolor option from the .sp, adjusted randomint from 16 to 14 options, and recompiled. I forgot zephstore does this too if you use the {teamcolor} tag.

Before:

Code:
int RandomColor()
{
	switch(GetRandomInt(1, 16))
	{
		case  1: return '\x01';
		case  2: return '\x02';
		case  3: return '\x03';
		case  4: return '\x03';
		case  5: return '\x04';
		case  6: return '\x05';
		case  7: return '\x06';
		case  8: return '\x07';
		case  9: return '\x08';
		case 10: return '\x09';
		case 11: return '\x10';
		case 12: return '\x0A';
		case 13: return '\x0B';
		case 14: return '\x0C';
		case 15: return '\x0E';
		case 16: return '\x0F';
		default: return '\x01';
	}

	return '\x01';
}
After:

Code:
int RandomColor()
{
	switch(GetRandomInt(1, 13))
	{
		case  1: return '\x0F';
		case  2: return '\x02';
		case  3: return '\x0E';
		case  4: return '\x0C';
		case  5: return '\x04';
		case  6: return '\x05';
		case  7: return '\x06';
		case  8: return '\x07';
		case  9: return '\x08';
		case 10: return '\x09';
		case 11: return '\x10';
		case 12: return '\x0A';
		case 13: return '\x0B';
		default: return '\x07';
	}
return '\x07';
}

Last edited by mlov420; 12-04-2017 at 21:57.
mlov420 is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 03-31-2020 , 07:35   Re: [CSGO] RainbowChat - 2017/06/02
Reply With Quote #16

how to do it by steam id?
edit:
plugin is loading but now working
] sm_rainbowname
Unknown command: sm_rainbowname
__________________
PEACE FROM MOLDOVA

Last edited by eliteroyal; 04-01-2020 at 06:48.
eliteroyal 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 07:49.


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