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

Enemy counter lua error #2133

Closed willzbear closed 6 months ago

willzbear commented 6 months ago

WoW Version

Classic/Classic SoM

TellMeWhen Version

latest version for classic sod

Describe the bug

Lua errors with enemy count

Export Strings

Message: ...ace/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua:53: IsSpellInRange(): Invalid spell slot
Time: Thu Dec 21 07:08:51 2023
Count: 6754
Stack: ...ace/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua:53: IsSpellInRange(): Invalid spell slot
[string "=[C]"]: in function `IsSpellInRange'
[string "@Interface/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua"]:53: in function <...ace/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua:48>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua"]:98: in function <...ace/AddOns/TMW_Script_Tools/modules/EnemyCounter.lua:78>
[string "=(tail call)"]: ?
[string "Condition_SPELLCD_TMWSTENEMYCOUNT_RAGE_ABS_SPELLRANGE"]:4: in function `CheckFunction'
[string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/ConditionObject.lua"]:266: in function `Check'
[string "@Interface/AddOns/TellMeWhen/Components/Core/Icon.lua"]:770: in function <Interface/AddOns/TellMeWhen/Components/Core/Icon.lua:741>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/TellMeWhen/TellMeWhen.lua"]:2640: in function <Interface/AddOns/TellMeWhen/TellMeWhen.lua:2602>

Locals: (*temporary) = nil
(*temporary) = "nameplate1"
willzbear commented 6 months ago

i updated the enemy count in the module folder from 777 to a different ability i now no longer get the enemy count error but i now get this one on tracking auras

Message: ...face/AddOns/TMW_Script_Tools/modules/AuraTracker.lua:154: attempt to index local 'updates' (a nil value) Time: Thu Dec 21 09:11:50 2023 Count: 21 Stack: ...face/AddOns/TMW_Script_Tools/modules/AuraTracker.lua:154: attempt to index local 'updates' (a nil value) [string "@Interface/AddOns/TMW_Script_Tools/modules/AuraTracker.lua"]:154: in function <...face/AddOns/TMW_Script_Tools/modules/AuraTracker.lua:153>

[string "@Interface/AddOns/AI_VoiceOver/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ver/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/AI_VoiceOver/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@Interface/AddOns/AI_VoiceOver/Libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...dOns/AI_VoiceOver/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: event = "UNIT_AURA" unit = "player" updates = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index local 'updates' (a nil value)"