ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
80 stars 11 forks source link

Condition on "Buff - Tooltip Number #1" throws LUA error #2165

Open Malspherus opened 5 days ago

Malspherus commented 5 days ago

WoW Version

Wrath Classic

TellMeWhen Version

10.2.6

Describe the bug

Hi, I'm using Tyrande's Favorite Doll and I'd like to set a condition on the activation border of the icon to only show when the mana is fully charged (and it's ready again, but that part works as intended). My problem is that the number in the buffs tooltip is not recognized, I also get a LUA error message. Did I just set it up incorrectly or is something broken?

The buff Recaptured Mana looks like this ingame (German client): grafik

Message: ...mponents/Core/Conditions/Categories/BuffsDebuffs.lua:325: attempt to index global 'C_TooltipInfo' (a nil value)
Time: Fri Jun 28 14:41:56 2024
Count: 10832
Stack: ...mponents/Core/Conditions/Categories/BuffsDebuffs.lua:325: attempt to index global 'C_TooltipInfo' (a nil value)
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/Categories/BuffsDebuffs.lua"]:325: in function `AuraTooltipNumberPacked'
[string "Condition_ITEMCD_BUFFTOOLTIPSCAN1_ICON"]:4: in function `CheckFunction'
[string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/ConditionObject.lua"]:266: in function `Check'
[string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/UpdateEngine.lua"]:151: in function <...llMeWhen/Components/Core/Conditions/UpdateEngine.lua:146>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/TellMeWhen/TellMeWhen.lua"]:844: in function `Fire'
[string "@Interface/AddOns/TellMeWhen/TellMeWhen.lua"]:2624: in function <Interface/AddOns/TellMeWhen/TellMeWhen.lua:2603>

Locals: 

Thanks in advance!

Export Strings

^1^T^SShowTimer^B ^SType^Sitem ^SShowTimerText^B ^SName^S64645 ^SDurationMaxEnabled^B ^SEvents^T ^N1^T ^SType^SAnimations ^SOnlyShown^B ^SAnimation^SACTVTNGLOW ^SEvent^SWCSP ^SOnConditionConditions^T ^N1^T ^SType^SITEMCD ^SName^S64645 ^t^N2^T ^SType^SBUFFTOOLTIPSCAN1 ^SLevel^N4200 ^SName^S92596 ^t^Sn^N2 ^t^t^Sn^N1 ^t^SStates^T ^N2^T ^SAlpha^N1 ^t^t^SEnabled^B ^SDurationMax^N5 ^t^N102601^S~`~| ^Sicon^^