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

Issue with saving client prefs #70

Open Nevvy opened 4 years ago

Nevvy commented 4 years ago

Describe the bug Issue with saving client prefs

To Reproduce

  1. Set your hextags.cfg to this provided one
  2. Enable sm_hextags_enable_tagslist
  3. Give yourself "a" flag
  4. Join to the server and Choose VIP_GREEN tag via sm_tagslist
  5. Leave & Join server again
  6. Your TAG is changed to VIP_RED
    "HexTags"
    {
    "Default"
    {
        "TagName"       "NONE" 
        "ChatColor"     "{DEFAULT}"
        "NameColor"     "{GREY}"
    }
    "a"
    {
        "TagName"       "VIP_RED" 
        "ChatTag"       "{LIGHTRED}VIP | "
        "ChatColor"     "{DEFAULT}"
        "NameColor"     "{GREY}"
    }
    "a"
    {
        "TagName"       "VIP_GREEN" 
        "ChatTag"       "{GREEN}VIP | "
        "ChatColor"     "{DEFAULT}"
        "NameColor"     "{GREY}"
    }
    }

To Fix Don't use sm_hextags_enable_tagslist

Expected behavior Player should have his chosen prefix. Prefix was reset to 1st one from list from specific flag

Screenshots I noticed that value for HexTags_SelectedTag is not changing when you choosing alternative prefix for specific flag raw

System Details

Additional context Add any other context about the problem here.