frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
109 stars 23 forks source link

Class colored health bars do not work #154

Closed adambowles closed 1 year ago

adambowles commented 1 year ago

Describe the bug Class colored health bars do not work, showing as green

To Reproduce Steps to reproduce the behavior:

Expected behavior Health bar should be colored by class color

Screenshots image

TipTac Reborn (please complete the following information):

WoW (please complete the following information):

Additional context Add any other context about the problem here.

frozn commented 1 year ago

Unfortunately I can't reproduce this issue. Class colored health bars are working fine for me in WotLKC.

For testing purpose please disable all addons except the 4 ones for TipTac. Do they still not work?

adambowles commented 1 year ago

Yep, 4 TipTac addons are the only addons loaded, still happens

frozn commented 1 year ago

Strange...

Only to be shure: Please delete the 4 addon folders for TipTac in \World of Warcraft\_classic_\Interface\AddOns, download the latest release again and place them again in the addons folder.

Works or unchanged?

adambowles commented 1 year ago

Yep, I deleted the addon and downloaded a new copy from the releases on this repo. Still didn't show class colors

I deleted my WTF config file for TipTac and class colors are showing now, do you want a copy of my old config?

frozn commented 1 year ago

Yes, I would like trying to reproduce this behaviour with your settings. 👍

adambowles commented 1 year ago

TipTac_Config = { ["showRealm"] = "none", ["classification_elite"] = "+%s ", ["barHeight"] = 12, ["tipBackdropEdge"] = "Interface\\Buttons\\WHITE8X8", ["backdropEdgeSize"] = 3, ["powerBar"] = true, ["anchorFrameUnitPoint"] = "BOTTOMRIGHT", ["tipBorderColor"] = { 0.5254901960784314, -- [1] 0.5372549019607843, -- [2] 0.5411764705882353, -- [3] 1, -- [4] }, ["powerBarText"] = "percent", ["healthBarClassColor"] = true, ["classification_rare"] = "%s|r (Rare) ", ["colorGuildByReaction"] = false, ["barsCondenseValues"] = true, ["left"] = 1972.563720703125, ["classification_trivial"] = "~%s ", ["iconSize"] = 32, ["manaBar"] = true, ["gradientColor"] = { 0, -- [1] 0, -- [2] 0, -- [3] 0, -- [4] }, ["pixelPerfectBackdrop"] = true, ["fadeTime"] = 5, ["targetYouText"] = "You", ["showGuildRank"] = true, ["gradientTip"] = false, ["gttScale"] = 1, ["iconFaction"] = false, ["overrideFade"] = false, ["hideRealmText"] = false, ["preFadeTime"] = 5, ["hideWorldTips"] = false, ["if_showSpellIdAndRank"] = false, ["if_smartIcons"] = true, ["showTTguildAfter"] = true, ["tipColor"] = { 0, -- [1] 0, -- [2] 0, -- [3] 0.8349610418081284, -- [4] }, ["hideDefaultBar"] = true, ["healthBar"] = true, ["healthBarText"] = "full", ["classification_normal"] = "%s ", ["if_showIcon"] = false, ["reactText"] = false, ["anchorFrameTipPoint"] = "BOTTOMRIGHT", ["showDebuffs"] = false, ["iconCombat"] = false, ["fontSize"] = 12, ["anchorWorldTipType"] = "normal", ["optionsLeft"] = 1397.162475585938, ["fontSizeDeltaHeader"] = 3, ["showBuffs"] = false, ["manaBarText"] = "full", ["fontFlags"] = "OUTLINE", ["if_showItemId"] = false, ["tipBackdropBG"] = "Interface\\Buttons\\WHITE8X8", ["anchorWorldUnitPoint"] = "BOTTOMRIGHT", ["classification_worldboss"] = "%s|r (Boss) ", ["backdropInsets"] = 0, ["classification_rareelite"] = "+%s|r (Rare) ", ["showPlayerGender"] = true, ["if_borderlessIcons"] = false, ["anchorWorldTipPoint"] = "BOTTOMRIGHT", ["colorNameByClass"] = true, ["iconClass"] = false, ["iconAnchor"] = "LEFT", ["anchorWorldUnitType"] = "normal", ["healthBarColor"] = { 0.3019607843137255, -- [1] 0.9019607843137255, -- [2] 0.3019607843137255, -- [3] 1, -- [4] }, ["top"] = 1181.538452148438, ["if_showItemLevel"] = false, ["classColoredBorder"] = true, ["anchorFrameTipType"] = "mouse", ["optionsBottom"] = 795.0685424804688, ["fontSizeDeltaSmall"] = -1, ["modifyFonts"] = true, ["barTexture"] = "Interface\\AddOns\\Quartz\\textures\\Minimalist", ["anchorFrameUnitType"] = "normal", ["classification_minus"] = "-%s ", }

adambowles commented 1 year ago

Cool it's removed all the line breaks

adambowles commented 1 year ago

https://pastebin.ubuntu.com/p/63qB5BRNZZ/

frozn commented 1 year ago

Cool it's removed all the line breaks

😆

I will have a look...

frozn commented 1 year ago

I found the problem: The selected bar texture in options under "Bars->Bar Texture" (Interface\\AddOns\\Quartz\\textures\\Minimalist) doesn't exist (any more). After selecting the default "Blizzard" entry the class colored health bar works fine again.

Unfortunately there's no method to check if a texture exists or not. 🙁