Skip to content

Issue with saving client prefs #70

Open
@Nevvy

Description

@Nevvy

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

  • Game CSGO
  • Sourcemod version 1.10.0.6488
  • Sourcemod plugins list
sm plugins list
[SM] Listing 3 plugins:
  01 "Admin File Reader" (1.10.0.6488) by AlliedModders LLC
  02 "Client Preferences" (1.10.0.6488) by AlliedModders LLC
  03 "hextags" (<TAG>) by Hexah (Latest version from this repo)
  • Your hextags.cfg
"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}"
	}
}

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions