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

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


Post New Thread Reply   
 
Thread Tools Display Modes
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 05-18-2018 , 21:27   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #101

Quote:
Originally Posted by Papero View Post
Update 1.30
  • Added Rainbow chat color.
  • Added Random chat color.
This update is already in effect, I accessed the GitHub plugin and update is not yet, or would it be wrong?
paulo_crash is offline
mrkos9i4ok
Member
Join Date: Jul 2016
Location: Russia,Moscow
Old 05-22-2018 , 02:21   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #102

Quote:
Originally Posted by paulo_crash View Post
This update is already in effect, I accessed the GitHub plugin and update is not yet, or would it be wrong?
Hexer10 replied 2 days ago
Actually at the moment it's working only for the chat color, I'm woking to add them for every "param"
mrkos9i4ok is offline
alinF
Junior Member
Join Date: Mar 2018
Old 06-12-2018 , 14:54   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #103

Does this plugin have the function for giving a specific tag to a specific SteamID and not a group?
Edit: It does, I just don't know how to configure it.
__________________

Last edited by alinF; 06-12-2018 at 14:58.
alinF is offline
Obyboby
Veteran Member
Join Date: Sep 2013
Old 06-12-2018 , 16:00   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #104

Quote:
Originally Posted by alinF View Post
Does this plugin have the function for giving a specific tag to a specific SteamID and not a group?
Edit: It does, I just don't know how to configure it.
All the info you need is HERE
__________________
Obyboby is offline
alinF
Junior Member
Join Date: Mar 2018
Old 06-13-2018 , 13:42   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #105

Quote:
"STEAM_0:1xx"
{
"ChatTag" "{grey}[{gold}whatever{grey}] "
"ChatColor" "{grey}"
}
Doesn't work.
__________________
alinF is offline
jenZ
Junior Member
Join Date: May 2013
Old 07-08-2018 , 05:11   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #106

Hello i like this plugin alot so i went ahead and made some small bad modifications to suit my own needs however i caused myself some problems and hope you could help me pinpoint what im doing wrong.

Its about KeyValues and KeyValues.JumpToKey failing for me on random ocassions while working on others.

i have a file called playerprefs.ChatColors.txt which content is:
Quote:
"ChatColors"
{
"STEAM_1:14783317"
{
"color" "orchid"
}
}
on OnClientPostAdminCheck i do the following:

Quote:
g_hChatColor.Rewind();
static char sAuth[32];
GetClientAuthId(client, AuthId_Steam2, sAuth, sizeof(sAuth));

if (g_hChatColor.JumpToKey(sAuth, false))
{
g_hChatColor.GetString("Color", ChatTagColor[client], sizeof(ChatTagColor));
}
else
{
Format(ChatTagColor[client], sizeof(ChatTagColor), "default");
}
With this i read the value from the .txt file to assign a color to each player on connect if they have an stored entry.

CP_OnChatMessage then has the following:
Quote:
Format(sNewName, MAXLENGTH_NAME, "{%s}[%s] %s%s{default}", ChatTagColor[i], ChatTagchat[i], sTags[author][NameColor], name);
Format(sNewMessage, MAXLENGTH_MESSAGE, "%s%s", sTags[author][ChatColor], message);
on average in 4/5 reconnects that i do to the server the keyvalue suceeds with jumptokey (i tested around 3 hours yesterday). But the one other time the jumptokey method fails on me while entry is still untouched.

I feel rather confused about the jumptokey method appearing inconsistent to me right now.

Welp, thanks for reading.

Edit: ohwell nevermind it seems consistent now with jumptokey when values exist. I added ImportFromFile for the keyvalue on OnClientPostAdminCheck and now it seems to work correct everytime.

Last edited by jenZ; 07-08-2018 at 06:07. Reason: Fixed issue myself
jenZ is offline
ElTioRata
Junior Member
Join Date: Jul 2018
Old 07-26-2018 , 16:15   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #107


The colors and the tag doesn't work in the chat, but apparently in the scoreboard it's working.

I have this in the .cfg (I skipped the "tutorial")

{
"ScoreTag" "[OWNER]" //The scoreboard-tag
"ChatTag" "{purple}[OWNER]" //The chat-tag with the colors
"ChatColor" "{darkblue}" //The chat color
"NameColor" "{blue}" //The name color
}

What I did wrong lol
ElTioRata is offline
Kamizun
AlliedModders Donor
Join Date: May 2015
Location: Portugal
Old 07-30-2018 , 09:37   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #108

Could you please just block every other tag that is not in the plugin? Im talking about scoreboard grouptags on CS:GO
Thanks
Kamizun is offline
Lodar
Junior Member
Join Date: Sep 2016
Old 08-10-2018 , 14:03   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #109

I have problem.
Quote:
"HexTags"
{
"f"
{
"ScoreTag" "Head Admin"
"ChatTag" "{orchid}Head Admin "
"ChatColor" ""
"NameColor" ""
}
"b"
{
"ScoreTag" "Admin"
"ChatTag" "{darkblue}Admin "
"ChatColor" ""
"NameColor" ""
}
"o"
{
"ScoreTag" "VIP"
"ChatTag" "{green}VIP "
"ChatColor" "{green}"
"NameColor" ""
}
}
If Head Admin (Admin too) have "fo" flag, then on chat display VIP, not Head Admin.

I know "3. ADMIN FLAGS --> They are selected starting from the last (ztsrqponmlkjihgfedcba). If a client has both 'a' and 'b' flags, the tags of 'b' will be selected.", but i need change this, how?
I want to display VIP if player have only "o" / "ao" flag, and always display Admin/Head Admin if he has "f" or "fo". it is possible?

EDIT:
I solved the problem by using @group

Last edited by Lodar; 08-10-2018 at 14:37.
Lodar is offline
thegunter24
New Member
Join Date: Dec 2015
Location: Germany
Old 08-13-2018 , 12:05   Re: [ANY]HexTags[Chat/Score Colors][08/02/18]
Reply With Quote #110

so far this is working pretty good,
but i have a problem with the "color chat tag".
whatever i set in ""ChatTag" "{grey}[Player]"" it will show in default color.

- is there a way to "fix" this ?
- or is it because the new panorama ui from csgo ?

thx
thegunter24 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 10:06.


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