HeroRotation

HeroRotation

5M Downloads

Brewmaster HeroRotation_Monk Bug

Hexus-Proud opened this issue ยท 4 comments

commented
commented

27x HeroRotation_Monk\Events.lua:107: attempt to index field '?' (a nil value)
[string "@HeroRotation_Monk\Events.lua"]:107: in function <HeroRotation_Monk\Events.lua:104>
[string "@HeroRotation_Monk\Events.lua"]:180: in function Handler' [string "@HeroLib\Events\Main.lua"]:235: in function <HeroLib\Events\Main.lua:231> [string "@HeroLib\Events\Main.lua"]:278: in function Handler'
[string "@herolib\Events\Main.lua"]:80: in function <HeroLib\Events\Main.lua:78>

Locals:
Amount = 140
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) =

{
1 = 16.302000
2 = 11
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
IncomingDamage =
{
}
HL =
{
RegisterForEvent = defined @herolib\Events\Main.lua:46
MAXIMUM = 40
BossFilteredFightRemains = defined @herolib\Class\Unit\TimeToDie.lua:371
BuildInfo =
{
}
Unit =
{
}
Pulse = defined @herolib\Main.lua:29
PulseInitialized = true
Item =
{
}
CacheHasBeenReset = false
LiveRealm = defined @herolib\Core.lua:34
RegisterForCombatPrefixEvent = defined @herolib\Events\Main.lua:133
UnregisterForEvent = defined @herolib\Events\Main.lua:62
AddCoreOverride = defined @herolib\Misc\Overrides.lua:26
BetaRealm = defined @herolib\Core.lua:44
Spell =
{
}
BossFightRemainsIsNotValid = defined @herolib\Class\Unit\TimeToDie.lua:356
GetInstanceInfo = defined @herolib\Misc\ToSort.lua:37
Action =
{
}
LoadRestores = defined @herolib\Misc\Overrides.lua:42
RegisterForCombatSuffixEvent = defined @herolib\Events\Main.lua:148
MainFrame = HeroLib_MainFrame {
}
GUISettings =
{
}
CombatEnded = 0
RecoveryTimer = defined @herolib\Misc\ToSort.lua:116
BMPullTime = defined @herolib\Misc\ToSort.lua:87
RegisterForCombatEvent = defined @herolib\Events\Main.lua:88
OutOfCombatTime = defined @herolib\Misc\ToSort.lua:82
UnregisterForSelfCombatEvent = defined @herolib\Events\Main.lua:177
Latency = defined @herolib\Misc\ToSort.lua:111
LastUnitCycled =
{
}
Utils =
{
}
UnitNotInFrontTime = 0
SplashEnemies =
{
}
GetInstanceDifficulty = defined @herolib\Misc\ToSort.lua:72
LoadOverrides = defined @herolib\Misc\Overrides.lua:48
Print = defined @herolib\Core.lua:49
UnregisterAuraTracking = defined @herolib\Events\Aura.lua:37
TTD =
{
}
UnitGUIDMap =
{
}
BuildVersion = defined @herolib\Core.lua:29
MultiSpell =
{
}
CombatTime = defined @herolib\Misc\ToSort.lua:77
LastUnitCycledTime = 0
UnitNotInFront =
{
}
UnregisterForCombatEvent = defined @herolib\Events\Main.lua:163
BossFightRemains = defined @herolib\Class\Unit\TimeToDie.lua:351
FightRemains = defined @herolib\Class\Unit\TimeToDie.lua:319
TTDRefresh = defined @herolib\Class\Unit\TimeToDie.lua:53
RecoveryOffset = defined @herolib\Misc\ToSort.lua:124
FilteredFightRemains = defined @herolib\Class\Unit\TimeToDie.lua:361
CombatStarted = 530452.874000
SpecID_ClassesSpecs =
{
}
RegisterForSelfCombatEvent = defined @herolib\Events\Main.lua:103
UnregisterForCombatPrefixEvent = defined @herolib\Events\Main.lua:205
GUI =
{
}
UnregisterForPetCombatEvent = defined @herolib\Events\Main.lua:191
UnregisterForCombatSuffixEvent = defined @herolib\Events\Main.lua:219
Timer =
{
}
PTRRealm = defined @herolib\Core.lua:39
RegisterForPetCombatEvent = defined @herolib\Events\Main.lua:118
Debug = defined @herolib\Core.lua:56
}
tableremove = defined =[C]:-1
tableinsert =

commented

I made a change to try to fix this issue. Please try again with the changes from commit 2346400

commented

Thank you for the fast answer. I try it and now I get this bug message:

5874x HeroRotation_Monk\Brewmaster.lua:262: attempt to index field 'PustuleEruption' (a nil value)
[string "@HeroRotation_Monk\Brewmaster.lua"]:262: in function `?'
[string "@HeroRotation\Main.lua"]:449: in function <HeroRotation\Main.lua:427>

Locals:
ShouldReturn = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = 528957.557000
(*temporary) = 1
(*temporary) = -0.052000
(*temporary) = 0
(*temporary) = "attempt to index field 'PustuleEruption' (a nil value)"
Enemies5y =

{
1 =
{
}
}
Player =
{
CovenantID = defined @herolib\Class\Unit\Player\Main.lua:58
UseCache = true
ChiDeficitPercentage = defined @herolib\Class\Unit\Player\Power.lua:596
GCDStartTime = defined @herolib\Class\Unit\Player\Stat.lua:70
Race = defined @herolib\Class\Unit\Player\Main.lua:46
Insanityrain = defined @herolib\Class\Unit\Player\Power.lua:648
FocusLossOnCastEnd = defined @herolib\Class\Unit\Player\Power.lua:226
PainMax = defined @herolib\Class\Unit\Player\Power.lua:725
IsInVehicle = defined @herolib\Class\Unit\Player\Main.lua:124
IsInParty = defined @herolib\Class\Unit\Player\Main.lua:33
EnergyDeficit = defined @herolib\Class\Unit\Player\Power.lua:279
Fury = defined @herolib\Class\Unit\Player\Power.lua:698
InstanceInfo = defined @herolib\Class\Unit\Player\Instance.lua:22
RageDeficit = defined @herolib\Class\Unit\Player\Power.lua:139
VersatilityDmgPct = defined @herolib\Class\Unit\Player\Stat.lua:119
ArcaneChargesDeficitPercentage = defined @herolib\Class\Unit\Player\Power.lua:681
MaelstromPercentage = defined @herolib\Class\Unit\Player\Power.lua:554
ArcaneCharges = defined @herolib\Class\Unit\Player\Power.lua:666
IsInDungeonArea = defined @herolib\Class\Unit\Player\Instance.lua:53
ActiveMitigationNeeded = defined @herolib\Class\Unit\Player\Tank.lua:57
UpdateActiveLegendaryEffects = defined @herolib\Class\Unit\Player\Equipment.lua:135
SoulShardsDeficit = defined @herolib\Class\Unit\Player\Power.lua:470
GetEnemiesInRange = defined @herolib\Class\Unit\Player\Enemies.lua:53
IsInWhitelistedVehicle = defined @herolib\Class\Unit\Player\Main.lua:160
PainDeficit = defined @herolib\Class\Unit\Player\Power.lua:740
AttackPower = defined @herolib\Class\Unit\Player\Stat.lua:78
FocusCastRegen = defined @herolib\Class\Unit\Player\Power.lua:208
PainDeficitPercentage = defined @herolib\Class\Unit\Player\Power.lua:745
PrevOffGCD = defined @herolib\Events\Prev_Spell.lua:236
MasteryPct = defined @herolib\Class\Unit\Player\Stat.lua:114
InsanityPercentage = defined @herolib\Class\Unit\Player\Power.lua:633
ManaDeficitPercentageP = defined @herolib\Class\Unit\Player\Power.lua:113
FuryDeficit = defined @herolib\Class\Unit\Player\Power.lua:708
PrevGCD = defined @herolib\Events\Prev_Spell.lua:202
AstralPowerMax = defined @herolib\Class\Unit\Player\Power.lua:482
IsMounted = defined @herolib\Class\Unit\Player\Main.lua:28
EnergyRegenPercentage = defined @herolib\Class\Unit\Player\Power.lua:289
RunicPowerDeficit = defined @herolib\Class\Unit\Player\Power.lua:389
FuryPercentage = defined @herolib\Class\Unit\Player\Power.lua:703
Insanity = defined @herolib\Class\Unit\Player\Power.lua:628
EnergyTimeToMaxPredicted = defined @herolib\Class\Uni

commented

I found it sorry. Everything seems to be working again. Thank you