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

[ANY] HexTags [Tags/Chat Colors & Score Tags]


Post New Thread Reply   
 
Thread Tools Display Modes
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 11-08-2018 , 10:44   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #151

Quote:
Originally Posted by napster_10 View Post
holy shiit thats awesome..if ranking is gonna work im gonna kiss your ass

default rankme or the kento version?
I've implemented the kento's one, but idk which differences are there in the natives.
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
napster_10
Senior Member
Join Date: May 2016
Old 11-08-2018 , 10:58   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #152

ok i wanna test it right now but how to set it up. is there another cfg i didnt find yet?
natives should be all the same as far as i know!

Code:
//	5.	RankMe -> Support for KentoRankme. Required rank to get this tag. The '!' before the time is needed.
i rly need an example i dont understand xD

Code:
"!10"
	{
		"ScoreTag" "[TOP10]" //The scoreboard-tag
	}

"!30"
	{
		"ScoreTag" "[TOP30]" //The scoreboard-tag
	}

"!50"
	{
		"ScoreTag" "[TOP50]" //The scoreboard-tag
	}
like this?? haha im so lost

Last edited by napster_10; 11-08-2018 at 12:13.
napster_10 is offline
napster_10
Senior Member
Join Date: May 2016
Old 11-08-2018 , 12:57   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #153

..but scoreboard still not workin for me...im using this as long right now ;)

Code:
public void OnPluginStart()
{
	CreateTimer(1.0, Timer_SetClanTag, _, TIMER_REPEAT);
}

public Action Timer_SetClanTag(Handle timer)
{
	for (int i = 1; i <= MaxClients; i++) 
    {
		if(IsValidClient(i) && !IsFakeClient(i))
		{
		
		char ip[16], geocode2[3], auth[32], clantag[45];
		
		GetClientIP(i, ip, sizeof(ip));
		GeoipCode2(ip, geocode2);
		GetClientAuthId(i, AuthId_Steam2, auth, sizeof(auth), false);

		Format(clantag, sizeof(clantag), "[%s]", geocode2);
		
		if(geocode2[0] == EOS )
		Format(clantag, sizeof(clantag), "[NA]");
		
		CS_SetClientClanTag(i, clantag);
		
		}
	}
	return Plugin_Continue;
}

public Action OnClientCommandKeyValues(int client, KeyValues kv) 
{ 
	char sCmd[64];

	if (kv.GetSectionName(sCmd, sizeof(sCmd)) && StrEqual(sCmd, "ClanTagChanged", false)) 
	{ 
		if(IsValidClient(client) && !IsFakeClient(client)) 
		{
		
		char ip[16], geocode2[3], auth[32], clantag[45];
		
		GetClientIP(client, ip, sizeof(ip));
		GeoipCode2(ip, geocode2);
		GetClientAuthId(client, AuthId_Steam2, auth, sizeof(auth), false);

		Format(clantag, sizeof(clantag), "[%s]", geocode2);
			
		if(geocode2[0] == EOS )
		Format(clantag, sizeof(clantag), "[NA]");
		
		CS_SetClientClanTag(client, clantag);
		
		}
	}
	return Plugin_Continue;
}

bool:IsValidClient( client ) 
{
    if ( !( 1 <= client <= MaxClients ) || !IsClientInGame(client) ) 
        return false; 
     
    return true; 
}
napster_10 is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 11-08-2018 , 13:23   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #154

Quote:
Originally Posted by napster_10 View Post
ok i wanna test it right now but how to set it up. is there another cfg i didnt find yet?
natives should be all the same as far as i know!

Code:
//	5.	RankMe -> Support for KentoRankme. Required rank to get this tag. The '!' before the time is needed.
i rly need an example i dont understand xD

Code:
"!10"
	{
		"ScoreTag" "[TOP10]" //The scoreboard-tag
	}

"!30"
	{
		"ScoreTag" "[TOP30]" //The scoreboard-tag
	}

"!50"
	{
		"ScoreTag" "[TOP50]" //The scoreboard-tag
	}
like this?? haha im so lost
Right.

Quote:
Originally Posted by napster_10 View Post
..but scoreboard still not workin for me...im using this as long right now ;)

Code:
public void OnPluginStart()
{
	CreateTimer(1.0, Timer_SetClanTag, _, TIMER_REPEAT);
}

public Action Timer_SetClanTag(Handle timer)
{
	for (int i = 1; i <= MaxClients; i++) 
    {
		if(IsValidClient(i) && !IsFakeClient(i))
		{
		
		char ip[16], geocode2[3], auth[32], clantag[45];
		
		GetClientIP(i, ip, sizeof(ip));
		GeoipCode2(ip, geocode2);
		GetClientAuthId(i, AuthId_Steam2, auth, sizeof(auth), false);

		Format(clantag, sizeof(clantag), "[%s]", geocode2);
		
		if(geocode2[0] == EOS )
		Format(clantag, sizeof(clantag), "[NA]");
		
		CS_SetClientClanTag(i, clantag);
		
		}
	}
	return Plugin_Continue;
}

public Action OnClientCommandKeyValues(int client, KeyValues kv) 
{ 
	char sCmd[64];

	if (kv.GetSectionName(sCmd, sizeof(sCmd)) && StrEqual(sCmd, "ClanTagChanged", false)) 
	{ 
		if(IsValidClient(client) && !IsFakeClient(client)) 
		{
		
		char ip[16], geocode2[3], auth[32], clantag[45];
		
		GetClientIP(client, ip, sizeof(ip));
		GeoipCode2(ip, geocode2);
		GetClientAuthId(client, AuthId_Steam2, auth, sizeof(auth), false);

		Format(clantag, sizeof(clantag), "[%s]", geocode2);
			
		if(geocode2[0] == EOS )
		Format(clantag, sizeof(clantag), "[NA]");
		
		CS_SetClientClanTag(client, clantag);
		
		}
	}
	return Plugin_Continue;
}

bool:IsValidClient( client ) 
{
    if ( !( 1 <= client <= MaxClients ) || !IsClientInGame(client) ) 
        return false; 
     
    return true; 
}
What doesn't work? The params parsing or the whole tag?
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 11-08-2018 at 13:23.
Papero is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 11-08-2018 , 13:24   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #155

New version 1.36
  • Added support for custom selector order, check file hextags-order.txt

Get it here: https://github.com/Hexer10/HexTags/releases/tag/1.36
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!

Last edited by Papero; 11-08-2018 at 13:24.
Papero is offline
napster_10
Senior Member
Join Date: May 2016
Old 11-08-2018 , 13:47   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #156

..its just showing [{country}] in the scoreboard..

but i discovered another thing... iwas not even using the rankme tags yet cuz didnt know how to set up properly so my config was like
Code:
"HexTags"
{
     "Default"
	{
		//"ScoreTag" "{country}" 
		"ChatTag" "{yellow}[{country}] " 
	}


	"STEAM_0:1:123124124"
	{
		//"ScoreTag" "{country}" 
		"ChatTag" "{yellow}[{country}] " 
	}

	"@Miniadmin"
	{
		"ScoreTag" "[Admin] " //The scoreboard-tag
		"ChatTag"	"{yellow}[{country}]{darkred}[Admin] " 
		"ChatColor" "{blue}" //The chat color
		"NameColor" "{green}" //The name color
	}


	"@Superadmin"
	{
		"ScoreTag" "[Owner][Admin] " //The scoreboard-tag
		"ChatTag"	"{yellow}[{country}]{green}[Owner]{darkred}[Admin] " 
		"ChatColor" "{blue}" //The chat color
		"NameColor" "{orchid}" //The name color
	}


}
then some time later the server crashed

Code:
L 11/08/2018 - 18:06:57: [SM] Exception reported: Client 14 is not connected
L 11/08/2018 - 18:06:57: [SM] Blaming: hextags.smx
L 11/08/2018 - 18:06:57: [SM] Call stack trace:
L 11/08/2018 - 18:06:57: [SM]   [0] GetClientAuthId
L 11/08/2018 - 18:06:57: [SM]   [1] Line 376, hextags.sp::LoadTags
L 11/08/2018 - 18:06:57: [SM]   [2] Line 339, hextags.sp::RankMe_CheckRank
L 11/08/2018 - 18:06:57: [SM]   [4] Call_Finish
L 11/08/2018 - 18:06:57: [SM]   [5] Line 908, kento_rankme.sp::CallRankCallback
L 11/08/2018 - 18:06:57: [SM]   [6] Line 881, kento_rankme.sp::SQL_GetRankCallback
maybe when someone joins the server who hasnt a rank yet in database?


edit:
ok got it again but this time no servercrash maybe that wasnt causing it who knows xD

Code:
L 11/08/2018 - 20:19:26: [SM] Exception reported: Client 4 is not connected
L 11/08/2018 - 20:19:26: [SM] Blaming: hextags.smx
L 11/08/2018 - 20:19:26: [SM] Call stack trace:
L 11/08/2018 - 20:19:26: [SM]   [0] GetClientAuthId
L 11/08/2018 - 20:19:26: [SM]   [1] Line 376, hextags.sp::LoadTags
L 11/08/2018 - 20:19:26: [SM]   [2] Line 339, hextags.sp::RankMe_CheckRank
L 11/08/2018 - 20:19:26: [SM]   [4] Call_Finish
L 11/08/2018 - 20:19:26: [SM]   [5] Line 908, kento_rankme.sp::CallRankCallback
L 11/08/2018 - 20:19:26: [SM]   [6] Line 881, kento_rankme.sp::SQL_GetRankCallback

Last edited by napster_10; 11-08-2018 at 15:30.
napster_10 is offline
napster_10
Senior Member
Join Date: May 2016
Old 11-08-2018 , 15:01   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #157

ok i tested the rank now like this

Code:
"HexTags"
{

"!50"
	{
		"ScoreTag" "[TOP50]" //The scoreboard-tag
		"ChatTag" "[TOP50]" //The scoreboard-tag
	}

"!30"
	{
		"ScoreTag" "[TOP30]" //The scoreboard-tag
		"ChatTag" "[TOP30]" //The scoreboard-tag
	}

"!10"
	{
		"ScoreTag" "[TOP10]" //The scoreboard-tag
		"ChatTag" "[TOP10]" //The scoreboard-tag
	}

}
but it shows top10 when im rank40



what am i doin wrong?^^
napster_10 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-08-2018 , 16:56   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][27/10/18]
Reply With Quote #158

Quote:
Originally Posted by gildevanaraujo View Post
I followed the tutorial of the post, I think that only need to solve this situation.
I'll send my sm plugins list.

Code:
[SM] Listing 24 plugins:
  01 "Admin File Reader" (1.9.0.6260) by AlliedModders LLC
  02 "Admin Help" (1.9.0.6260) by AlliedModders LLC
  03 "Admin Menu" (1.9.0.6260) by AlliedModders LLC
  04 "Anti-Flood" (1.9.0.6260) by AlliedModders LLC
  05 "Basic Ban Commands" (1.9.0.6260) by AlliedModders LLC
  06 "Basic Chat" (1.9.0.6260) by AlliedModders LLC
  07 "Basic Comm Control" (1.9.0.6260) by AlliedModders LLC
  08 "Basic Commands" (1.9.0.6260) by AlliedModders LLC
  09 "Basic Info Triggers" (1.9.0.6260) by AlliedModders LLC
  10 "Basic Votes" (1.9.0.6260) by AlliedModders LLC
  11 "Chat-Processor" (2.1.5) by Keith Warren (Shaders Allen)
  12 "Client Preferences" (1.9.0.6260) by AlliedModders LLC
  13 "Chat Processor - Simple Chat Processor Wrapper" (1.0.0) by Keith Warren (Shaders Allen)
  14 "[Source 2013] Custom Chat Colors" (3.1.0 CP) by Dr. McKay, Fixed up by Keith Warren (Shaders Allen)
  15 "SM CS:GO Weapon Paints" (2.8.4 public version) by Franc1sco franug
  16 "Fun Commands" (1.9.0.6260) by AlliedModders LLC
  17 "Fun Votes" (1.9.0.6260) by AlliedModders LLC
  18 "hextags" (1.34) by Hexah
  19 "Nextmap" (1.9.0.6260) by AlliedModders LLC
  20 "Player Commands" (1.9.0.6260) by AlliedModders LLC
  21 "Reserved Slots" (1.9.0.6260) by AlliedModders LLC
  22 "ServerAdvertisements3" (3.1.3) by ESK0
  23 "SM CS:GO Franug Knives" (1.5) by Franc1sco franug
  24 "Sound Commands" (1.9.0.6260) by AlliedModders LLC
As you said, you have multiple versions of Chat Processor, disable them all and leave only this plugin enabled chat-processor.smx.

These plugins you disable them:
Code:
cp-scp-wrapper.smx
custom-chatcolors-cp.smx
test-messages.smx
Remember to leave only the chat-processor.smx and hextags.smx enabled.
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 11-08-2018 , 17:11   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #159

Quote:
Originally Posted by Papero View Post
New version 1.36
  • Added support for custom selector order, check file hextags-order.txt

Get it here: https://github.com/Hexer10/HexTags/releases/tag/1.36
I would have a question, I have not tried it yet.

Anyway, I have a Plugin on my JailBreak server that it adds to the TAG in the player automatically when it is chosen.

What I would like to know is if the plugin would be compatible with this plugin or others of the type.

For example, the plugin places the TAG Warden, and it is a player with privileges, then it would have a TAG configured by its plugin, VIP for example, in case it would show the two TAGS, [VIP][Warden] NICK.

Is it possible to do this with your plugin?

If you have not yet it would be a great option to place.
paulo_crash is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 11-10-2018 , 10:34   Re: [ANY] HexTags [Tags/Chat Colors & Score Tags][08/11/18]
Reply With Quote #160

I'm having a problem, I've recently installed sourcebans and I'm setting up admin groups for sourcebans.
But my "Dono" tag is gone and the others are normal. I wanted to know if I have to configure the two, sourcemod and sourcebans. Thank you!

sb_admin_groups.cfg

Code:
"Groups"
{
	"Admin"
	{
		"flags"		"abcdefghijkm"
		"immunity"		"75"
	}
	"Mod"
	{
		"flags"		"acd"
		"immunity"		"30"
	}
}
admins_simple.ini

Code:
"STEAM_0:*:********"		"@Dono"		//DONO DO SERVIDOR.
"STEAM_0:*:*********"		"@Admin"	//ADMIN DO SERVIDOR.	
"STEAM_0:*:*********"		"@Mod"		//MOD DO SERVIDOR.
admin_groups.cfg

Code:
Groups
{	
	"Dono"
	{
		"flags"			"z"
		"immunity"		"99"
	}
	"Admin"
	{
		"flags"			"abcdefghijkm"
		"immunity"		"75"
	}
	"Sub-Admin"
	{
		"flags"			"abcdefhijk"
		"immunity"		"50"
	}
	"Mod"
	{
		"flags"			"acd"
		"immunity"		"30"
	}
	"Colaborador"
	{
		"flags"			"ao"
		"immunity"		"25"
	}
	"Vip"
	{
		"flags"			"ao"
		"immunity"		"15"
	}
}
hextags.cfg

Code:
"HexTags"
{
	"@Dono"
	{
		"ScoreTag" "[DONO] | " //The scoreboard-tag
		"ChatTag"	"{darkred}[DONO] | " //The chat-tag
		"ChatColor" "{random}" //The chat color
		"NameColor" "{orchid}" //The name color
	}
	"@Admin"
	{
		"ScoreTag" "[ADMIN] | " //The scoreboard-tag
		"ChatTag"	"{lightred}[ADMIN] | " //The chat-tag
		"ChatColor" "{orchid}" //The chat color
		"NameColor" "{lightgreen}" //The name color
	}
	"@Mod"
	{
		"ScoreTag" "[MOD] | " //The scoreboard-tag
		"ChatTag"	"{lightred}[MOD] | " //The chat-tag
		"ChatColor" "{default}" //The chat color
		"NameColor" "{green}" //The name color
	}
	"@Vip"
	{
		"ScoreTag" "[VIP] | " //The scoreboard-tag
		"ChatTag"	"{gold}[VIP]" //The chat-tag
		"ChatColor" "{green}" //The chat color
		"NameColor" "{grey2}" //The name color	
	}
}
I wonder if I just need to configure sb_admin_groups.cfg and admin_simple.ini to get the changes.
gildevanaraujo 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 20:35.


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