HeroRotation

HeroRotation

5M Downloads

[Warlock] Affliction/Demonology general error

Odysseas68 opened this issue ยท 3 comments

commented

in today's last update of the addon i got

1x HeroRotation_Warlock\Affliction.lua:53: attempt to index field 'ConcentratedFlame' (a nil value)
[string "@HeroRotation_Warlock\Affliction.lua"]:53: in main chunk
[string "=[C]"]: in function `LoadAddOn'
[string "@HeroRotation\Main.lua"]:380: in function `PulseInit'
[string "@HeroRotation\Main.lua"]:292: in function <HeroRotation\Main.lua:289>

Locals:
addonName = "HeroRotation_Warlock"
addonTable = <table> {
}
DBC = <table> {
 ItemRange = <table> {
 }
 AzeriteEssences = <table> {
 }
 SpellTickTime = <table> {
 }
 AzeriteEssenceSpellIDs = <table> {
 }
 SpellRPPM = <table> {
 }
 AzeriteEssenceScaling = <table> {
 }
 ItemSpell = <table> {
 }
 SpellProjectileSpeed = <table> {
 }
 metaTime = "2020-11-22T22:22:18.037730"
 SpellMeleeRange = <table> {
 }
 SpellDuration = <table> {
 }
 SpellEnchants = <table> {
 }
 metaVersion = "9.0.2.36710"
 SpellGCD = <table> {
 }
 SpellConduits = <table> {
 }
}
HL = <table> {
 RegisterForEvent = <function> defined @HeroLib\Events\Main.lua:46
 MAXIMUM = 40
 BossFilteredFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:348
 BuildInfo = <table> {
 }
 Unit = <table> {
 }
 RegisterForSelfCombatEvent = <function> defined @HeroLib\Events\Main.lua:103
 RegisterForPetCombatEvent = <function> defined @HeroLib\Events\Main.lua:118
 Item = <table> {
 }
 Pulse = <function> defined @HeroLib\Main.lua:29
 LiveRealm = <function> defined @HeroLib\Core.lua:34
 RegisterForCombatPrefixEvent = <function> defined @HeroLib\Events\Main.lua:133
 UnregisterForEvent = <function> defined @HeroLib\Events\Main.lua:62
 AddCoreOverride = <function> defined @HeroLib\Misc\Overrides.lua:26
 BetaRealm = <function> defined @HeroLib\Core.lua:44
 Spell = <table> {
 }
 BossFightRemainsIsNotValid = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:333
 GetInstanceInfo = <function> defined @HeroLib\Misc\ToSort.lua:37
 Action = <table> {
 }
 LoadRestores = <function> defined @HeroLib\Misc\Overrides.lua:42
 RegisterForCombatSuffixEvent = <function> defined @HeroLib\Events\Main.lua:148
 MainFrame = HeroLib_MainFrame {
 }
 GUISettings = <table> {
 }
 CombatEnded = 1
 RecoveryTimer = <function> defined @HeroLib\Misc\ToSort.lua:116
 BMPullTime = <function> defined @HeroLib\Misc\ToSort.lua:87
 RegisterForCombatEvent = <function> defined @HeroLib\Events\Main.lua:88
 OutOfCombatTime = <function> defined @HeroLib\Misc\ToSort.lua:82
 UnregisterForSelfCombatEvent = <function> defined @HeroLib\Events\Main.lua:177
 Latency = <function> defined @HeroLib\Misc\ToSort.lua:111
 LastUnitCycled = <table> {
 }
 Utils = <table> {
 }
 UnitNotInFrontTime = 0
 SplashEnemies = <table> {
 }
 GetInstanceDifficulty = <function> defined @HeroLib\Misc\ToSort.lua:72
 LoadOverrides = <function> defined @HeroLib\Misc\Overrides.lua:48
 Print = <function> defined @HeroLib\Core.lua:49
 UnregisterAuraTracking = <function> defined @HeroLib\Events\Aura.lua:37
 TTD = <table> {
 }
 UnitGUIDMap = <table> {
 }
 BuildVersion = <function> defined @HeroLib\Core.lua:29
 MultiSpell = <table> {
 }
 CombatTime = <function> defined @HeroLib\Misc\ToSort.lua:77
 LastUnitCycledTime = 0
 UnitNotInFront = <table> {
 }
 UnregisterForCombatEvent = <function> defined @HeroLib\Events\Main.lua:163
 BossFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:328
 FightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:296
 TTDRefresh = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:53
 RecoveryOffset = <function> defined @HeroLib\Misc\ToSort.lua:124
 FilteredFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:338
 CombatStarted = 0
 SpecID_ClassesSpecs = <table> {
 }
 GuardiansTable = <table> {
 }
 UnregisterForCombatPrefixEvent = <function> defined @HeroLib\Events\Main.lua:205
 GUI = <table> {
 }
 UnregisterForPetCombatEvent = <function> defined @HeroLib\Events\Main.lua:191
 UnregisterForCombatSuffixEvent = <fu

and

1x HeroRotation_Warlock\Demonology.lua:70: attempt to index field 'ConcentratedFlame' (a nil value)
[string "@HeroRotation_Warlock\Demonology.lua"]:70: in main chunk
[string "=[C]"]: in function `LoadAddOn'
[string "@HeroRotation\Main.lua"]:380: in function `PulseInit'
[string "@HeroRotation\Main.lua"]:292: in function <HeroRotation\Main.lua:289>

Locals:
addonName = "HeroRotation_Warlock"
addonTable = <table> {
}
DBC = <table> {
 ItemRange = <table> {
 }
 AzeriteEssences = <table> {
 }
 SpellTickTime = <table> {
 }
 AzeriteEssenceSpellIDs = <table> {
 }
 SpellRPPM = <table> {
 }
 AzeriteEssenceScaling = <table> {
 }
 ItemSpell = <table> {
 }
 SpellProjectileSpeed = <table> {
 }
 metaTime = "2020-11-22T22:22:18.037730"
 SpellMeleeRange = <table> {
 }
 SpellDuration = <table> {
 }
 SpellEnchants = <table> {
 }
 metaVersion = "9.0.2.36710"
 SpellGCD = <table> {
 }
 SpellConduits = <table> {
 }
}
HL = <table> {
 RegisterForEvent = <function> defined @HeroLib\Events\Main.lua:46
 MAXIMUM = 40
 BossFilteredFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:348
 BuildInfo = <table> {
 }
 Unit = <table> {
 }
 RegisterForSelfCombatEvent = <function> defined @HeroLib\Events\Main.lua:103
 RegisterForPetCombatEvent = <function> defined @HeroLib\Events\Main.lua:118
 Item = <table> {
 }
 Pulse = <function> defined @HeroLib\Main.lua:29
 LiveRealm = <function> defined @HeroLib\Core.lua:34
 RegisterForCombatPrefixEvent = <function> defined @HeroLib\Events\Main.lua:133
 UnregisterForEvent = <function> defined @HeroLib\Events\Main.lua:62
 AddCoreOverride = <function> defined @HeroLib\Misc\Overrides.lua:26
 BetaRealm = <function> defined @HeroLib\Core.lua:44
 Spell = <table> {
 }
 BossFightRemainsIsNotValid = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:333
 GetInstanceInfo = <function> defined @HeroLib\Misc\ToSort.lua:37
 Action = <table> {
 }
 LoadRestores = <function> defined @HeroLib\Misc\Overrides.lua:42
 RegisterForCombatSuffixEvent = <function> defined @HeroLib\Events\Main.lua:148
 MainFrame = HeroLib_MainFrame {
 }
 GUISettings = <table> {
 }
 CombatEnded = 1
 RecoveryTimer = <function> defined @HeroLib\Misc\ToSort.lua:116
 BMPullTime = <function> defined @HeroLib\Misc\ToSort.lua:87
 RegisterForCombatEvent = <function> defined @HeroLib\Events\Main.lua:88
 OutOfCombatTime = <function> defined @HeroLib\Misc\ToSort.lua:82
 UnregisterForSelfCombatEvent = <function> defined @HeroLib\Events\Main.lua:177
 Latency = <function> defined @HeroLib\Misc\ToSort.lua:111
 LastUnitCycled = <table> {
 }
 Utils = <table> {
 }
 UnitNotInFrontTime = 0
 SplashEnemies = <table> {
 }
 GetInstanceDifficulty = <function> defined @HeroLib\Misc\ToSort.lua:72
 LoadOverrides = <function> defined @HeroLib\Misc\Overrides.lua:48
 Print = <function> defined @HeroLib\Core.lua:49
 UnregisterAuraTracking = <function> defined @HeroLib\Events\Aura.lua:37
 TTD = <table> {
 }
 UnitGUIDMap = <table> {
 }
 BuildVersion = <function> defined @HeroLib\Core.lua:29
 MultiSpell = <table> {
 }
 CombatTime = <function> defined @HeroLib\Misc\ToSort.lua:77
 LastUnitCycledTime = 0
 UnitNotInFront = <table> {
 }
 UnregisterForCombatEvent = <function> defined @HeroLib\Events\Main.lua:163
 BossFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:328
 FightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:296
 TTDRefresh = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:53
 RecoveryOffset = <function> defined @HeroLib\Misc\ToSort.lua:124
 FilteredFightRemains = <function> defined @HeroLib\Class\Unit\TimeToDie.lua:338
 CombatStarted = 0
 SpecID_ClassesSpecs = <table> {
 }
 GuardiansTable = <table> {
 }
 UnregisterForCombatPrefixEvent = <function> defined @HeroLib\Events\Main.lua:205
 GUI = <table> {
 }
 UnregisterForPetCombatEvent = <function> defined @HeroLib\Events\Main.lua:191
 UnregisterForCombatSuffixEvent = <fu
commented

What version of HeroRotation are you using? Latest one is 9.0.2.05, bfa essences were removed.

commented

HeroRotation 9.0.2.05
HeriLib 9.0.2.04
HeroDBC 9.0.2.02

commented

Fixed in commit 997153a

You can grab the fix from github, or it will be included in the next release.