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

Console error spam with Default Section #37

Closed TandelK closed 4 years ago

TandelK commented 5 years ago

Basically if we use Default section in hextags.cfg and add other config for eg. i have used here "z" flag for the tag of owner of the server , if you join the server and if there is Default tag present as well as "z" flag it will keep on spamming console that [hextags.smx] STEAMID was changed by an external plugin, forcing him back to the HexTags default one!

There are no other plugins that can modify my Tags as with the "z" flag and even i tried changing with different system of rankme . Gave myself 2000 points and kept a config of

"!2000"
{
   "ScoreTag"   "[Rank-{rmRank}|GN3]"
}

I still get the same error saying the above error. So it has something to do with condition checking with default section.

To Reproduce

In hextags.cfg

"HexTags"
{   
    "z"
    {
    "ScoreTag"  "[{country}][OWNER][Rank-{rmRank}]"
    "ChatTag"   "[{country}]{red}[OWNER]|[{green}Rank-{rmRank}][{lime}Points-{rmPoints}]"
    "ChatColor"  "{blue}"
    "NameColor"  "{darkred}"
    }

    "Default"
    {
    "ScoreTag"  "[Rank-{rmRank}]"
    "ChatTag"   "[{green}Rank-{rmRank}][{lightgreen}Points-{rmPoints}]"
    "ChatColor"  "{teamcolor}"
    "NameColor"  "{teamcolor}"
    }
}
TandelK commented 5 years ago

I have used latest pull request of fix of RankMe and than used the following file. This error keeps on spamming console.