View Single Post
enderandrew
Senior Member
Join Date: Jun 2020
Old 07-04-2020 , 16:08   Re: [Source 2009, CS:GO] Stamm 2.28 - VIP Level Ranking
Reply With Quote #1911

Code:
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l1'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l1'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l2'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l2'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l3'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l3'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l4'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l4'
L 07/04/2020 - 14:52:36: [stamm\stamm.smx] [ STAMM ] [stamm_chatcolors] Couldn't find block 'l5'
Chatcolors:

Code:
// Here you can define the available colors and tags.
//
// Colors are defined by a color name, a hex string representing the color and a block on that a VIP get that color.
// Blocks have to be defined in the stamm_chatcolors.txt.
// You can generate colors here: http://hexcolorgenerator.com/
//
// The second part are the tags.
// They are defined by a tag name and a block on that a VIP get that tag.
//
"chatcolors"
{
	"colors"
	{
		// This is the name of the color
		"blue"
		{
			// This is the hex string of the color
			"color"     "99CCFF"
			
			// This is the name of the block on that a VIP get the color
			"block"     "l1"
		}
		
		"beige"
		{
			"color"     "F5F5DC"
			"block"     "l1"
		}
		
		"green"
		{
			"color"     "3EFF3E"
			"block"     "l2"
		}
		"lime"
		{
			"color"     "00FF00"
			"block"     "l2"
		}
		
		"orange"
		{
			"color"     "FFA500"
			"block"     "l3"
		}
		
		"pink"
		{
			"color"     "FFC0CB"
			"block"     "l3"
		}
		
		"silver"
		{
			"color"     "C0C0C0"
			"block"     "l4"
		}
		
		"yellow"
		{
			"color"     "FFFF00"
			"block"     "l4"
		}
		
		"white"
		{
			"color"     "FFFFFF"
			"block"     "l5"
		}
	}
	
	"tags"
	{
		"Iron"			"11"
		"Bronze"		"11"
		"Silver"		"12"
		"Gold"			"12"
		"VIP"			"13"
		"Platinum"		"13"
		"Diamond"		"14"
		"Master"		"14"
		"Grand Master"	"15"
		"John Wick"		"15"		
	}
}
stamm_chatcolors.txt:

Code:
// Here you can add the blocks for the chatcolor configuration
// You need them in the cfg/stamm/features/chatcolors.txt file.

"LevelSettings"
{
	// Block for e.g colors blue, beige and tag Player
	"11"	"Iron"
	"11"	"Bronze"
	"12"	"Silver"
	"12"	"Gold"
	"13"	"VIP"	
	"13"	"Platinum"
	"14"	"Diamond"
	"14"	"Master"
	"15"	"Grand Master"
	"15"	"John Wick"	
}
I'm not sure what I'm doing wrong because the blocks appear to be there. Can someone post a sample of their working config files perhaps?

Thanks!
enderandrew is offline