HeroRotation

HeroRotation

5M Downloads

[Druid]? Runaway error on spec switch

solitha opened this issue ยท 1 comments

commented

Sometimes when I change to Restoration I get an error that just keeps spamming until I reload.

`59x HeroRotation\Main.lua:433: attempt to call field '?' (a nil value)
HeroRotation\Main.lua:433: in function <HeroRotation\Main.lua:411>

Locals:
SpecID = 105
(*temporary) = nil
(*temporary) = "attempt to call field '?' (a nil value)"
HL =

{
UnregisterForCombatPrefixEvent = defined @herolib\Events\Main.lua:198
Tier21_2Pc = false
LoadRestores = defined @herolib\Events\Main.lua:300
MythicDungeon = defined @herolib\Class\Unit\Player\MythicDungeon.lua:47
RegisterForCombatPrefixEvent = defined @herolib\Events\Main.lua:109
GetSplashCount = defined @herolib\Misc\Enemies.lua:207
LiveRealm = defined @herolib\Core.lua:36
UnregisterForEvent = defined @herolib\Events\Main.lua:139
CombatEnded = 2009644.621000
RangeTracker =
{
}
GetInstanceInfo = defined @herolib\Misc\ToSort.lua:32
RegisterForCombatSuffixEvent = defined @herolib\Events\Main.lua:124
MainFrame = HeroLib_MainFrame {
}
OutOfCombatTime = defined @herolib\Misc\ToSort.lua:94
UnregisterForSelfCombatEvent = defined @herolib\Events\Main.lua:170
Latency = defined @herolib\Misc\ToSort.lua:73
Utils =
{
}
LoadOverrides = defined @herolib\Events\Main.lua:306
Pulse = defined @herolib\Main.lua:29
UnregisterForCombatEvent = defined @herolib\Events\Main.lua:156
TTDRefresh = defined @herolib\Class\Unit\TimeToDie.lua:49
SpecID_ClassesSpecs =
{
}
GUI =
{
}
UnregisterForCombatSuffixEvent = defined @herolib\Events\Main.lua:212
Timer =
{
}
OffsetRemains = defined @herolib\Misc\ToSort.lua:116
MAXIMUM = 40
FindKeyBinding = defined @herolib\Events\KeyBinding.lua:142
UnitNotInFront =
{
}
RegisterForPetCombatEvent = defined @herolib\Events\Main.lua:94
CacheHasBeenReset = false
LastUnitCycledTime = 0
BetaRealm = defined @herolib\Core.lua:46
Spell =
{
}
HasTier = defined @herolib\Class\Unit\Player\Equipment.lua:113
Tier19_2Pc = false
Equipment =
{
}
RegisterNucleusAbility = defined @herolib\Misc\Enemies.lua:225
Tier20_2Pc = false
RegisterForCombatEvent = defined @herolib\Events\Main.lua:64
PulseInitialized = true
LastUnitCycled =
{
}
Tier21_4Pc = false
UnitNotInFrontTime = 0
Tier20_4Pc = false
WhitelistKeyBinding = defined @herolib\Events\KeyBinding.lua:138
Tier19_4Pc = false
Print = defined @herolib\Core.lua:60
GetInstanceDifficulty = defined @herolib\Misc\ToSort.lua:67
TTD =
{
}
RegisterForEvent = defined @herolib\Events\Main.lua:48
BuildVersion = defined @herolib\Core.lua:31
MultiSpell =
{
}
CombatTime = defined @herolib\Misc\ToSort.lua:89
RegisterForSelfCombatEvent = defined @herolib\Events\Main.lua:79
GetEquipment = defined @herolib\Class\Unit\Player\Equipment.lua:24
BMPullTime = defined @herolib\Misc\ToSort.lua:99
GetEnemies = defined @herolib\Misc\Enemies.lua:265
BuildInfo =
{
}
Debug = defined @herolib\Core.lua:67
RecoveryOffset = defined @herolib\Misc\ToSort.lua:84
UnregisterForPetCombatEvent = defined @herolib\Events\Main.lua:184
Unit =
{
}
Item =
{
}
ValidateSplashCache = defined @herolib\Misc\Enemies.lua:218
ManuallyFilterItemRanges = defined @herolib\Class\Unit`

commented

I never was able to replicate this issue, but there is now a Resto profile, so this error should no longer occur.