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

bunch of errors while targeting mob #2118

Closed qlesz closed 7 months ago

qlesz commented 7 months ago

WoW Version

Classic/Classic SoM

TellMeWhen Version

10.1.6

Describe the bug

When i set spell cast bar for tracking target spell casts, as soon as i target any mob im not in combat with, i get multiple counts of the same error until i disable spell cast tracker:

1122x .../Components/IconTypes/IconType_cast/cast-Classic.lua:117: attempt to call upvalue 'UnitCastingInfo' (a nil value) [string "@TellMeWhen/Components/IconTypes/IconType_cast/cast-Classic.lua"]:117: in function `UpdateFunction' [string "@TellMeWhen/Components/Core/Icon.lua"]:784: in function <TellMeWhen/Components/Core/Icon.lua:741>

[string "@TellMeWhen/TellMeWhen.lua"]:2633: in function <TellMeWhen/TellMeWhen.lua:2595>

Locals: icon = TellMeWhen_GlobalGroup2_Icon1 { 0 = ShowTimer = false ShowTimerTextnoOCC = false LastUpdate = 4844.774000 DurationMaxEnabled = false Update_Method = "manual" EventHandlersSet =

{ } InvertTimer = false attributes =
{ } DurationMin = 0 BarDisplay_Invert = false chargeCooldown = TellMeWhen_GlobalGroup2_Icon1IconModule_CooldownSweepCooldown2 { } __yieldHandledOnce = false Type = "cast" UpdateFunction = defined @TellMeWhen/Components/IconTypes/IconType_cast/cast-Classic.lua:105 TempGUID = "TMW:icon:1bLHAL2pwW8V" ClockGCD = false Spells =
{ } BarDisplay_Reverse = false Units =
{ } lmbButtonData =
{ } UnitConditions =
{ } Events =
{ } position =
{ } viewData =
{ } Conditions =
{ } Components =
{ } States =
{ } runEvents = true DurationMinEnabled = false BarDisplay_ClassColor = false group = TellMeWhen_GlobalGroup2 { } ComponentsLookup =
{ } TimerBar_CompleteColor = "ff00ff00" CustomTex = "" Modules =
{ } BarDisplay_BarGCD = false TimerBar_StartColor = "ffff0000" ID = 1 UnitSet =
{ } ShowTimerText = false Unit = "target" Enabled = true TimerBar_EnableColors = false NextUpdateTime = 0 BackdropColor = "7f333333" TimerBar_MiddleColor = "ffffff00" BackdropColor_Enable = false BarDisplay_FakeMax = 0 OnEvent = defined @TellMeWhen/Components/IconTypes/IconType_cast/cast-Classic.lua:98 GUID = "" NoPocketwatch = false Name = "" DurationMax = 0 FakeHidden = false typeData =
{ } SettingsPerView =
{ } LastTextures =
{ } } time = 4844.774000 NameFirst = "" NameStringHash =
{ } Units =
{ 1 = "target" } (for index) = 1 (for limit) = 1 (for step) = 1 u = 1 unit = "target" GUID = "Creature-0-5251-1-88-2033-0000551230" (temporary) = nil (temporary) = "target" (*temporary) = "attempt to call upvalue 'UnitCastingInfo' (a nil value)" UnitGUID = defined =[C]:-1 UnitCastingInfo = nil UnitChannelInfo = nil strlowerCache =
{ Swiftmend = "swiftmend" Blackout = "blackout" Shadow Word: Pain = "shadow word: pain" Windfury Totem = "windfury totem" Eye for an Eye = "eye for an eye" Weapon Mastery = "weapon mastery" Berserker Rage = "berserker rage" Hammer of Justice = "hammer of justice" Frostbite = "frostbite" Heroic Strike = "heroic strike" Blood Frenzy = "blood frenzy" Raptor Strike = "raptor strike" Blind = "blind" Improved Pummel = "improved pummel" Dampen Magic = "dampen magic" Sinister Strike = "sinister strike" Two-Handed Weapon Specialization = "two-handed weapon specialization" Deadliness = "deadliness" Firebolt = "firebolt" Precision = "precision" Teleport: Thunder Bluff = "teleport: thunder bluff" Fireball = "fireball" Arcane Intellect = "arcane intellect" Wound Poison II = "wound poison ii" Improved Corruption = "improved corruption" Endurance Training = "endurance training" Improved Mark of the Wild = "improved mark of the wild" Fire Blast = "fire blast" Improved Starfire = "improved starfire" Shield Block = "shield block" Purge = "purge" Sentry Totem = "sentry totem" Ritual of Doom = "ritual of doom" Track Giants = "track giants" Camouflage = "camouflage" Improved Scorpid Sting = "improved scorpid sting" Fire Resistance = "fire resistance" Improved Curse of Agony = "improved curse of agony" Charge Stun = "charge stun" Improved Regrowth = "improved regrowth" Furor = "furor" Critical Mass = "critical mass" Wing Clip = "wing clip" Detect Lesser Invisibility = "detect lesser invisibility" Summon Imp = "summon imp" Aspect of the Hawk = "aspect of the hawk" Serpent Sting = "serpent sting" Frost Resistance Totem = "frost resistance totem" Challenging Shout = "challenging shout" Demoralizing Roar = "demoralizing roar" Summon Dreadsteed = "summon dreadsteed" Frost Shock = "frost shock" Lay on Hands = "lay on hands" DR-Root = "dr-root" Killer Instinct = "killer instinct"

Export Strings

^1^T^SUnit^Starget ^SType^Scast ^SEnabled^B ^t^N101600^S~`~| ^Sicon^^