TellMeWhen

TellMeWhen

24M Downloads

"Pet spell autocasting" Condition Results in LUA error

canofbutter opened this issue ยท 1 comments

commented

WoW Version

Retail

TellMeWhen Version

11.0.0

Describe the bug

The condition "Pet spell autocasting" results in the following LUA error:

Message: TellMeWhen: [string "Condition_AUTOCAST_GROUP2_EXISTS_LOC_ZONE_I..."]:3: attempt to call global 'GetSpellAutocast' (a nil value)
Time: Wed Jul 24 02:37:19 2024
Count: 1
Stack: TellMeWhen: [string "Condition_AUTOCAST_GROUP2_EXISTS_LOC_ZONE_I..."]:3: attempt to call global 'GetSpellAutocast' (a nil value)
[string "@Interface/AddOns/TellMeWhen/Components/Core/Utils.lua"]:448: in function `Error'
[string "@Interface/AddOns/TellMeWhen/TellMeWhen.lua"]:2855: in function <Interface/AddOns/TellMeWhen/TellMeWhen.lua:2812>

Locals: self = TMW {
 CovenantIcons = <table> {
 }
 modules = <table> {
 }
 DS = <table> {
 }
 db = <table> {
 }
 ALLOW_LOCKDOWN_CONFIG = true
 operators = <table> {
 }
 isNumber = <table> {
 }
 COMMON = <table> {
 }
 TEXT = <table> {
 }
 EquivFullIDLookup = <table> {
 }
 InitializedDatabase = true
 name = "TellMeWhen"
 Defaults = <table> {
 }
 C = <table> {
 }
 BackupDate = "02:37:19 AM"
 SNIPPETS = <table> {
 }
 OrderedTypes = <table> {
 }
 justifyVPoints = <table> {
 }
 Views = <table> {
 }
 CHANGELOG = "## v11.0.0
* Added the original Lightwell icon type back to Cata Classic
* Fix: dragging a spell to an icon not working in WoW 10.2.7.
* Fix: #2168 floating point errors in alpha animations
* Fix: Icon fade animations not always working on condition icons
* Fix: #2170 specific aura variable indexes 1,2,3 not working on buff/debuff icons

## v10.2.7
* Initial support for WoW 11.0
* Fix GetTalentTabInfo call for SOD Phase 4
* Fix Tooltip Number conditions for Cata

## v10.2.6
* Additional updates for Cataclysm Classic, including handling for new player resource types.

## v10.2.5
* Support for Cata Classic.

## v10.2.4
* Fix: #2154 - Errors when tracking items by slot number when the slot is empty.
* Fix: #2155 - Item cooldown API was broken by Blizzard in 10.2.6.

## v10.2.3
* Fix #2148 - Aura Tracking broken in WoW 1.15.1

## v10.2.2
* Fix #2137 - Tracking active condition broken in Classic Era.

## v10.2.1
* Classic: Modern APIs added back in WoW 1.15.0 are used for buff/debuff durations and s defaultModuleState = true
 CHANGELOG_LASTVER = "7.4.0"
 HELP = <table> {
 }
 UPD_INTV = 0.021000
 Locked = true
 NAMES = <table> {
 }
 GUIDToOwner = <table> {
 }
 InCombat = false
 justifyPoints = <table> {
 }
 GCD = 0
 EventList = <table> {
 }
 EVENTS = <table> {
 }
 EquivOriginalLookup = <table> {
 }
 CONST = <table> {
 }
 indentLib = <table> {
 }
 GroupsToUpdate = <table> {
 }
 GCDSpell = 53
 Classes = <table> {
 }
 isRetail = true
 Group_Defaults = <table> {
 }
 SpellTexturesMetaIndex = <table> {
 }
 performedEvent = "TMW_UPGRADE_PERFORMED"
 UNITS = <table> {
 }
 isWrath = false
 profile = <table> {
 }
 DOGTAG = <table> {
 }
 IconStateArbitrator = <table> {
 }
 time = 1092884.699000
 isCata = false
 baseName = "TellMeWhen"
 TIMERS = <table> {
 }
 Backupdb = <table> {
 }
 strlowerCache = <table> {
 }
 SUG = <table> {
 }
 DD = <table> {
 }
 DROPDOWNMENU = <table> {
 }
 enabledState = true
 points = <table> {
 }
 IE = TellMeWhen_IconEditor {
 }
 CI = <table> {
 }
 CNDT = <table> {
 }
 Icon_Defaults = <table> {
 }
 isClassic = false
 BE = <table> {
 }
 Initialized = true
 EquivFirstIDLookup = <table> {
 }
 EquivFullNameLookup = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 DEFAULT_ICON_SETTINGS = <table> {
 }
 IconEventUpdateEngine = Frame {
 }
 IconsToUpdate = <table> {
 }
 PreviousGUIDToOwner = <table> {
 }
 COUNTERS = <table> {
 }
 L = <table> {
 }
 ValidityCheckQueue = <table> {
 }
 orderedModules = <table> {
 }
 IconDragger = <table> {
 }
 OrderedViews = <table> {
 }
 CompareFuncs = <table> {
 }
 Types = <table> {
 }
 callbackregistry = <table> {
 }
 global = <table> {
 }
}
text = "[string "Condition_AUTOCAST_GROUP2_EXISTS_LOC_ZONE_I..."]:3: attempt to call global 'GetSpellAutocast' (a nil value)"
success = true
result = "[string "Condition_AUTOCAST_GROUP2_EXISTS_LOC_ZONE_I..."]:3: attempt to call global 'GetSpellAutocast' (a nil value)"

Export Strings

^1^T^SType^Sconditionicon ^SConditions^T ^N1^T ^SType^SAUTOCAST ^SName^SGrowl ^t^N2^T ^SType^SGROUP2 ^SChecked^B ^SBitFlags^N1 ^t^N3^T ^SType^SEXISTS ^SUnit^Spet ^t^Sn^N3 ^t^SEnabled^B ^SCustomTex^S2649 ^t^N110001^S~`~| ^Sicon^^
commented

Fixed in 56b179a (typo'd the issue number in the commit message)