HeroRotation

HeroRotation

6M Downloads

[Bug]: Lua Error on startup

Ragowit opened this issue · 2 comments

commented

What version of HeroRotation are you using?

11.1.0.25

What version of HeroLib are you using?

11.1.0.08

What version of HeroDBC are you using?

11.1.0.04

What is the issue?

Upon login, I always get this error message:

Message: Interface/AddOns/HeroRotation_Priest/Shadow.lua:93: attempt to call global 'Delay' (a nil value)
Time: Mon Mar 17 20:04:40 2025
Count: 1
Stack:
[Interface/AddOns/HeroRotation_Priest/Shadow.lua]:93: in function 'SetTrinketVariables'
[Interface/AddOns/HeroRotation_Priest/Shadow.lua]:116: in main chunk
[C]: ?
[C]: ?
[Interface/AddOns/HeroRotation/Main.lua]:411: in function 'PulseInit'
[Interface/AddOns/HeroRotation/Main.lua]:316: in function <Interface/AddOns/HeroRotation/Main.lua:313>

Locals:
T1 = <table> {
 Excluded = false
 CastTime = 0
 Range = 100
 Object = <table> {
 }
 Usable = false
 ID = 219305
 Level = 0
 Cooldown = 0
 SpellID = 0
}
T2 = <table> {
 Excluded = false
 CastTime = 0
 Range = 100
 Object = <table> {
 }
 Usable = false
 ID = 133304
 Level = 639
 Cooldown = 0
 SpellID = 0
}
(*temporary) = nil
(*temporary) = 5
(*temporary) = "attempt to call global 'Delay' (a nil value)"
Player = <table> {
 UseCache = true
 UnitNPCID = -2
 UnitCanBeAttacked = false
 UnitGUID = "Player-1396-08891A81"
 UnitID = "player"
 UnitExists = true
 TimeToXResourceMap = <table> {
 }
 PredictedResourceMap = <table> {
 }
 UnitName = "Prästjãvel"
}
OnUseExcludes = <table> {
 1 = 212451
 2 = 230191
 3 = 230197
 4 = 168973
 5 = 220202
 6 = 168989
}
VarTrinketFailures = 1
Trinket1 = nil
Trinket2 = nil
VarTrinket1ID = nil
VarTrinket2ID = nil
VarTrinket1CD = nil
VarTrinket2CD = nil
VarTrinket1Range = nil
VarTrinket2Range = nil
VarTrinket1Ex = nil
VarTrinket2Ex = nil
VarTrinket1Buffs = nil
I = <table> {
 FlarendosPilotLight = <table> {
 }
 AberrantSpellforge = <table> {
 }
 NeuralSynapseEnhancer = <table> {
 }
 GeargrindersSpareKeys = <table> {
 }
 HyperthreadWristwraps = <table> {
 }
 IngeniousManaBattery = <table> {
 }
 SpymastersWeb = <table> {
 }
 SignetofthePriory = <table> {
 }
}
VarTrinket2Buffs = nil

A /reload solves the issue and the addon works again.

I've had this error a couple of versions, but I'm reporting it now.

Icon Behavior

None

commented

My trinkets equiped are "Carved Blazikon Wax" and "Gale of Shadows", if that's of importance.

commented

This has now been fixed as of commit 3c08212

The fix will be included in release version 11.1.0.26.