Hexer10 / HexTags

Customize tags & chat colors!
https://forums.alliedmods.net/showthread.php?p=2566623
GNU General Public License v3.0
54 stars 16 forks source link

Tags don't work #86

Closed ForceBlood closed 1 year ago

ForceBlood commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Use the provided config with the 1.11 plugin (ver 2.12) and sourcemod
  2. reload map/ restart server / reload config or whatever.
  3. Tags don't get displayed. Sometimes some get the tag while tohers don't for some reason but never everyone even when they are in the same group

To Fix No fixes found

Expected behavior All users should have their appropriate tags

Screenshots We share the same admin group but only I have the tag image

System Details

officialtezz commented 2 years ago

Same issue happening with my servers!

Hexer10 commented 2 years ago

Sorry for the late reply, please make sure you are using the latest version of sourcemod, if it still happens please send again your hextags.cfg and the plugins list

crashzk commented 1 year ago

@Hexer10 I believe you are having the same problem. I sent the latest version of the plugin and chat-processor, I configured the privilege groups, but nothing, Tags and Color Chat doesn't work.

image

sm plugins list

[SM] Listing 99 plugins:
  01 "Basic Comm Control" (1.11.0.6911) by AlliedModders LLC
  02 "NoBots Enforcer" (1.0) by Nikooo777
  03 "SourceBans++ Discord" (1.7.0-51) by Kotik. Fork of RumbleFrog, SourceBans++ Dev Team.
  04 "[SWGM] Command Listener" (1.2.1) by Someone, crashzk
  05 "eItems" (0.20.3) by ESK0
  06 "[CSGO] Server Exploit Fix [5/28/2021]" (1.10.0.6428) by backwards
  07 "Fix Hint Color Messages" (1.3.0 Franc1sco franug github version) by Phoenix (˙·٠●Феникс●٠·˙)
  08 "SourceBans++ Report Plugin" (1.7.0) by RumbleFrog, SourceBans++ Dev Team
  09 "AFK Manager" (4.3.0) by Rothgar
  10 "SourceTV / GOTV Protector" (1.0) by CrazyHackGUT aka Kruzya
  11 "SourceBans++: SourceComms" (1.7.0) by Alex, SourceBans++ Dev Team
  12 "Fun Commands" (1.11.0.6911) by AlliedModders LLC
  13 "SourceBans++: SourceSleuth" (1.7.0) by ecca, SourceBans++ Dev Team
  14 "Admin File Reader" (1.11.0.6911) by AlliedModders LLC
  15 "Reserved Slots" (1.11.0.6911) by AlliedModders LLC
  16 "[Levels Ranks] Core" (v3.1.7 Beta 1) by RoadSide Romeo & Wend4r
  17 "Steam Works Group Manager" (1.9.1) by Someone, crashzk
  18 "TecnoHard GC Level" (1.0.9) by abnerfs
  19 "Admin Menu" (1.11.0.6911) by AlliedModders LLC
  20 "Dano Só Granadas" (1.5.1) by abnerfs
  21 "Fun Votes" (1.11.0.6911) by AlliedModders LLC
  22 "Nextmap" (1.11.0.6911) by AlliedModders LLC
  23 "Basic Chat" (1.11.0.6911) by AlliedModders LLC
  24 "Default SM Text Replacer" (1.0) by Bacardi & Mitch - Edited: Cruze
  25 "[ ZK Servidores™ ] Block Commands" (1.1) by Geison, crashzk
  26 "TecnoHard TeamSelect Kick" (2.0.4fix) by abnerfs
  27 "Simple Stealth" (1.0) by Potatoz
  28 "CS:GO Disable Agent Models" (1.2) by SAZONISCHE, 8guawong
  29 "[CS:GO] Franug Agents Chooser" (1.2.0) by Franc1sco franug, Romeo, TrueProfessional, Teamkiller324
  30 "No Dupe Account" (1.5.1) by azalty
  31 "[Server-Redirect+] Core" (3.0.1) by Natanel 'LuqS'
  32 "Anti-Flood" (1.11.0.6911) by AlliedModders LLC
  33 "[ANY] Chat Responder" (1.3.4) by Headline
  34 "Discord API" (0.1.107) by Deathknife
  35 "Admin Help" (1.11.0.6911) by AlliedModders LLC
  36 "[Lilac] Little Anti-Cheat" (1.7.3) by J_Tanzanite
  37 "SourceBans++: Main Plugin" (1.7.0) by SourceBans Development Team, SourceBans++ Dev Team
  38 "SwapTeam" (1.2.6fix) by MistaGee, Rogue, crashzk
  39 "SourceBans++: Admin Config Loader" (1.7.0) by AlliedModders LLC, SourceBans++ Dev Team
  40 "TecnoHard No Ready Kicker" (1.4fix2) by abnerfs
  41 "[ ZK Servidores™ ] Help Menu" (1.0.4) by chundo, emsit, joinedsenses, crashzk, biielzk
  42 "[LR] Module - Unusual Kills" (v3.1.6 SR2) by Wend4r
  43 "[LR] Module - Overlays" (v3.1) by RoadSide Romeo
  44 "[LR] Module - TOP by KDR" (v3.1.5) by Wend4r
  45 "[LR] Module - ExStats Maps" (3.1 F1) by RoadSide Romeo
  46 "[LR] Module - ExStats GeoIP" (v3.1.7 Beta 1) by RoadSide Romeo
  47 "[LR] Module - ExStats Hits" (v3.1) by Wend4r
  48 "[LR] Module - ExStats Weapons" (v3.1) by RoadSide Romeo & Wend4r
  49 "Voice of Agents" (2.0) by Romeo
  50 "[ ZK Servidores™ ] High Ping Kicker" (1.1) by Dr. Api, crashzk
  51 "Server Graphic Rotation" (1.1.0) by mukunda
  52 "CSGO Advanced Drop" (1.4.0) by Phoenix (DropsSummoner), oppa, crashzk
  53 "[Lilac] Auto SourceTV Recorder" (1.2.1) by J_Tanzanite
  54 "[CSGO] Server Lag Exploit Fix [3/7/2020]" (1.10.0.6453) by backwards
  55 "[ ZK Servidores™ ] View all skins seeds on the console (!ws)" (1.0.0) by biielzk, crashzk
  56 "Cronjobs" (2.0) by dordnung
  57 "SM Franug Valve Sprays CSGO" (2.0) by Franc1sco franug, Romeo, crashzk
  58 "Fix Competitive Warmup" (1.1) by Ilusion9
  59 "REGEX word filter" (1.2) by Twilight Suzuka
  60 "[VIP] Core" (3.1.0 DEV) by R1KO
  61 "[ ZK Servidores™ ] Console Ads" (1.1) by biielzk, crashzk
  62 "Weapons & Knives" (1.7.7) by kgns | oyunhost.net
  63 "[BFG] WarMod | TecnoHard" (22.09.26.1915 + 4.2.10) by Versatile_BFG, abnerfs, crashzk
  64 "TecnoHard™ Plugins Block" (1.2) by AbNeR @CSB
  65 "Basic Info Triggers" (1.11.0.6911) by AlliedModders LLC
  66 "[Discord] Map Notifications" (1.0.1) by Bara
  67 "AntiDLL Handler" (1.7.1) by JDW
  68 "[ANY] Hide SteamGroup ID" (1.0) by SilverShot
  69 "Basic Votes" (1.11.0.6911) by AlliedModders LLC
  70 "[CS:GO] Disable end match nextmap vote" (30.3.2021) by Bacardi
  71 "[Redirect] Core" (1.0.1 Alpha) by Wend4r
  72 "Chat Logging" (3.1) by R1KO
  73 "Player Analytics" (1.4.2) by Dr. McKay / Bara / sneaK
  74 "[ ZK Servidores™ ] Valve Menu" (1.0) by Franc1sco franug, crashzk
  75 "SourceBans++: Bans Checker" (1.7.0) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  76 "MapChooser Extended" (1.10.2) by Powerlord, Zuko, and AlliedModders LLC
  77 "Sound Commands" (1.11.0.6911) by AlliedModders LLC
  78 "Client Preferences" (1.11.0.6911) by AlliedModders LLC
  79 "[CS:GO] Weapon Stickers" (1.3) by quasemago and z1ntex
  80 "Player Commands" (1.11.0.6911) by AlliedModders LLC
  81 "Console Say" (1.0.1) by abnerfs
  82 "Gloves" (1.0.5) by kgns | oyunhost.net
  83 "[VIP] Admin Privileges" (1.1.4) by R1KO, vadrozh, CrazyHackGUT aka Kruzya
  84 "[VIP] Additional [For VIP_CORE 3.0]" (1.0.1) by Drumanid
  85 "[VIP] Admin" (1.2) by R1KO
  86 "[VIP] FakeRank" (1.0.2) by TiNiK
  87 "[VIP] Skybox" (1.2) by White Wolf, sekac, Rimmer, crashzk
  88 "[VIP] COIN" (2.0.2) by Pheonix (˙·٠●Феникс●٠·˙) & R1KO, pracc
  89 "[VIP] Exp Multiplier" (1.0) by R1KO (skype: vova.andrienko1)
  90 "[VIP] Stats" (2.6) by R1KO 
  91 "[VIP] Music Kit" (1.2) by Pheonix, Felya, crashzk
  92 "ServerAdvertisements3" (3.3.0) by ESK0
  93 "Fix Disconnect Reason" (1.0.0) by FroidGaming.net
  94 "[CS:GO] sv_password - bypass players and reserved cookie check" (23.2.2021) by Bacardi
  95 "Auto Change Map" (1.4) by Mleczam, crashzk
  96 "Tebex™ SourceMod" (0.0.1) by Tebex™
  97 "Basic Commands" (1.11.0.6911) by AlliedModders LLC
  98 "hextags" (2.12) by Hexah
  99 "[ANY] Chat-Processor" (2.3.0) by Drixevel

sm version

 SourceMod Version Information:
    SourceMod Version: 1.11.0.6911
    SourcePawn Engine: 1.11.0.6911, jit-x86 (build 1.11.0.6911)
    SourcePawn API: v1 = 5, v2 = 16
    Compiled on: Aug  6 2022 16:36:14
    Built from: https://github.com/alliedmodders/sourcemod/commit/2f0ba0f3
    Build ID: 6911:2f0ba0f3
    http://www.sourcemod.net/

Config hextags.cfg:

//
// HexTags Configuration file.
// by: Hexah
// https://github.com/Hexer10/HexTags
// 
// Copyright (C) 2017-2020 Mattia (Hexah|Hexer10|Papero)
//
// This file is part of the HexTags SourceMod Plugin.
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License, version 3.0, as published by the
// Free Software Foundation.
// 
// This program is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
// this program. If not, see <http://www.gnu.org/licenses/>.
//
//
//  HexTags - Hexah 
//  Configuration file.
//  
//  All the avaible colors are: https://goo.gl/VgAHbK (colorvariables supported).
//  Custom colors(DON'T MIX THEM):
//      Put them at the "key" start.
//  1. {rainbow} -> Make every character follow the rainbow colors. Must be the only color and at the start of the string.
//  2. {random} -> Make every character random colored. Must be the only color and at the start of the string.
//  
//  NOTE: Using Custom colors the max message length is gonna be half (from 128 to 64)
//  
//  Every tag is selected with insertion order; for example if you place the "Default" selector before the "z" selector, even the players with the "z" flag will get the default tags. Nested tags have the same behavoir.
//  STEAM ID (SteamID) --> Can be STEAM_0 or STEAM_1 .
//  Gang --> Just put Gang as selector, this will target all the players with a gang ( https://goo.gl/YNY5YY ).
//  ADMIN GROUP (AdminGroup) --> It is selected only the first client group. It is required a '@' before the group name.
//  ADMIN FLAGS (AdminFlags) --> Allowed only if the client has any of the tags. It a '&' before the group name, or the selector length must be 1.
//  Warden --> A player is warden. - Warden( https://goo.gl/rXhZCt )/ MyJailBreak( https://goo.gl/NMvq2J )
//  Deputy --> A player is deputy. - MyJailBreak ( https://goo.gl/NMvq2J )
//  (TOTAL)ONLINE TIME (ActiveTime) --> This need mostactive( https://goo.gl/Jk4PWn ) to work. Required time in seconds to get the tags. The '#' before the time is needed.
//  RankMe --> Support for KentoRankme( https://goo.gl/UW6x81 ). Required score to get this tag. The '!' before the time is needed.
//  TEAM (Team) --> Tag for a certain team name. CSGO Team names: CT, Terrorist, Spectator. Get the current team name with: /getteam .
//  NoPrime --> Need to SteamWorks to work ( https://goo.gl/hben3h ). Select only player that have not PrimeStatus in CSGO.
//  Bots/Humans -> "bot" to target only bots and "human" to target only bot players.
//  Default --> All players who don't match any other section.
//  
//  Params (only works from chat tags/colors): 
//  1. {time} --> Replaced with current time, format: HH:MM. This works only with ChatTags
//  2. {country} --> Replaced with player's country: XX (Country code 2 ex: IT, EN, US, ...). This work both with Score/Chat Tags.
//  3. {gang} --> Replaced with player's gang. ( https://goo.gl/YNY5YY )
//  4. {rmPoints} --> Replaced with player's rankme points. ( https://goo.gl/UW6x81 )
//  5. {rmRank} --> Replaced with player's rankme rank. ( https://goo.gl/UW6x81 )
//  
//  
//  Every entry can be removed if for example you want only the 'ScoreTag'. 
//  
//  Examples:
//  
//  
//  "TagName"   "Default" //The tagname (will appear only in the tagslist command)
//  "ScoreTag" "[Default]" //The scoreboard-tag
//  "ChatTag"   "{darkblue}[Default]" //The chat-tag with the colors
//  "ChatColor" "{purple}" //The chat color
//  "NameColor" "{orchid}" //The name color
//  "Force" "1"             //If equal to 1(default if ommited), the tag will be forced, and setted to the hextags' one when another plugin changes the tag, put anyother value to disable di behavoir.
//  
//  "@Admin" //@Admin -> Only players in the admin group will have these tags.
//  {
//      "ScoreTag" "[Admin]" //The scoreboard-tag
//      "ChatTag"   "{rainbow}[Admin]" //The chat-tag
//      "ChatColor" "{darkblue}" //The chat color
//      "NameColor" "{grey2}" //The name color
//  }
//  "a" //a -> Only players with the a flag will have these tags.
//  {
//      "ScoreTag" "[Res]" //The scoreboard-tag
//      "ChatTag"   "{red}[Res]" //The chat-tag
//      "ChatColor" "{rainbow}" //The chat color
//      "NameColor" "{grey}" //The name color
//  }
//  "#43200" //#43200 -> Only players with 12 hours (43200 seconds) will have these tags.
//  {
//      "ScoreTag" "[Senior]" //The scoreboard-tag
//      "ChatTag"   "{red}[Senior]" //The chat-tag
//      "ChatColor" "{random}" //The chat color
//      "NameColor" "{grey}" //The name color
//  }
//  "Terrorist" //Terrorist -> Only players in the terrorist team will have these tags.
//  {
//      "ScoreTag" "[Terrorist]" //The scoreboard-tag
//      "Force" "0"             //Don't force the tag
//  }
//
// Start editing down this line! Inside the "HexTags" section (without removing it).
"HexTags"
{   
    "@DONO"
    {
        "TagName"   "DONO"
        "ChatTag"   "{darkred}[ DONO ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@SUBDONO"
    {
        "ChatTag"   "{darkblue}[ SUB-DONO ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@ADMIN"
    {
        "ChatTag"   "{green}[ ADMIN ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@MOD"
    {
        "ChatTag"   "{orchid}[ MOD ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@MODTRIAL"
    {
        "ChatTag"   "{orchid}[ MOD TRIAL ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@PREMIUM"
    {
        "ScoreTag"  "[ PREMIUM ]"
        "ChatTag"   "{gold}[ PREMIUM ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "@VIP"
    {
        "ScoreTag"  "[ VIP ]"
        "ChatTag"   "{gold}[ VIP ] "
        "ChatColor" "{green}"
        "NameColor" "{teamcolor}"
    }

    "Default"
    {
        "ChatTag"   "{darkred}i ♥ zk "
        "ChatColor" "{default}"
        "NameColor" "{teamcolor}"
    }
}
crashzk commented 1 year ago

I don't know if it helps, but I activated the log cvar for debug and in the console I have this result.

L 10/03/2022 - 16:46:15: [hextags.smx] Force timer

L 10/03/2022 - 16:46:20: [hextags.smx] Force timer

L 10/03/2022 - 16:46:25: [hextags.smx] Force timer

L 10/03/2022 - 16:46:30: [hextags.smx] Force timer

L 10/03/2022 - 16:46:35: [hextags.smx] Force timer

L 10/03/2022 - 16:46:40: [hextags.smx] Force timer

L 10/03/2022 - 16:46:45: [hextags.smx] Force timer

L 10/03/2022 - 16:46:50: [hextags.smx] Force timer

L 10/03/2022 - 16:46:55: [hextags.smx] Force timer

L 10/03/2022 - 16:47:00: [hextags.smx] Force timer

L 10/03/2022 - 16:47:05: [hextags.smx] Force timer

L 10/03/2022 - 16:47:06: [hextags.smx] Current key: @DONO

L 10/03/2022 - 16:47:06: [hextags.smx] ***********SETTINGS TAGS

L 10/03/2022 - 16:47:06: [hextags.smx] Section: default

L 10/03/2022 - 16:47:06: [hextags.smx] Succesfully setted tags

L 10/03/2022 - 16:47:06: [hextags.smx] -- Section end --

L 10/03/2022 - 16:47:10: [hextags.smx] Force timer

L 10/03/2022 - 16:47:15: [hextags.smx] Force timer

L 10/03/2022 - 16:47:20: [hextags.smx] Force timer

L 10/03/2022 - 16:47:25: [hextags.smx] Force timer

L 10/03/2022 - 16:47:30: [hextags.smx] Force timer

L 10/03/2022 - 16:47:35: [hextags.smx] Force timer
crashzk commented 1 year ago

@Hexer10 news about this bug?

Hexer10 commented 1 year ago

@Hexer10 news about this bug?

Just to make sure I get this right, you are in a group (double check with sm_who) but don't get the tag?

If so does it work if instead of tags you try to use admin flags?

crashzk commented 1 year ago

@Hexer10 managed to fix it, Chat-Processor was down.

Now I just have the problem reported in this issues https://github.com/Hexer10/HexTags/issues/60

Anyway, I believe this issue can be closed.