Hekili / hekili

Hekili Priority Helper for DPS and Tanks (WoW Retail)
420 stars 222 forks source link

Error on load, GetPlayerAuraBySpellID nil #2043

Closed daegalus closed 1 year ago

daegalus commented 1 year ago

Before You Begin

WoW Version

Retail (Dragonflight)

Describe the Issue

The addon is not loading on my Beast Mastery Hunter.

How to Reproduce

  1. Enter game as a Beast Mastery Hunter

Player Information (Link)

build: v9.2.7-1.0.0b
level: 55 (55)
class: HUNTER
spec: beast_mastery

talents: none

pvptalents: none

covenant: none

conduits: none

soulbinds: []

sets: none

gear: none

legendaries: none

itemIDs: none

settings: aoe = 3
    buffPadding = 0
    combatRefresh = 0.1
    custom1Name = Custom 1
    custom2Name = Custom 2
    cycle = false
    cycle_min = 6
    damage = true
    damageDots = false
    damageExpiration = 3
    damagePets = false
    damageRange = 0
    debuffPadding = 0
    enabled = true
    enhancedRecheck = false
    gcdSync = true
    maxTime = 10
    nameplateRange = 8
    nameplates = false
    noFeignedCooldown = false
    package = Beast Mastery
    petbased = false
    potion = spectral_agility
    regularRefresh = 0.5
    throttleRefresh = false
    throttleTime = false
    avoid_bw_overlap = false
    barbed_shot_grace_period = 0.5
    check_pet_range = true

toggles:     cooldowns = false 
    custom1 = false 
    custom2 = false 
    defensives = false 
    essences = true 
    interrupts = false 
    mode = automatic 
    potions = false 

keybinds:

Error Messages (Link)

1x Hekili/Events.lua:745: attempt to call global 'GetPlayerAuraBySpellID' (a nil value)
[string "@Hekili/Events.lua"]:745: in function `updateGear'
[string "@Hekili/Events.lua"]:360: in function `handler'
[string "@Hekili/Events.lua"]:55: in function <Hekili/Events.lua:47>

Locals:
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 tier28_2pc = 364492
 tier28_4pc = 363665
}
(for control) = "tier28_2pc"
bonus = "tier28_2pc"
aura = 364492
(*temporary) = nil
(*temporary) = 364492
(*temporary) = "attempt to call global 'GetPlayerAuraBySpellID' (a nil value)"
Hekili = <table> {
 GetMacroCastTarget = <function> defined @Hekili/Events.lua:1137
 GetTTD = <function> defined @Hekili/Targets.lua:982
 DeserializeStyle = <function> defined @Hekili/Options.lua:10634
 IC = <table> {
 }
 EmbedAbilityOptions = <function> defined @Hekili/Options.lua:4418
 Scripts = <table> {
 }
 GetDeathClockByGUID = <function> defined @Hekili/Targets.lua:967
 GetPetBasedTargetSpells = <function> defined @Hekili/Targets.lua:93
 After = <function> defined @Hekili/Utils.lua:281
 SetDefaultModulePrototype = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 UpdateDisplayVisibility = <function> defined @Hekili/UI.lua:1986
 IsEnabled = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 KeybindInfo = <table> {
 }
 RemoveHold = <function> defined @Hekili/State.lua:6540
 SetMode = <function> defined @Hekili/Options.lua:11447
 currentSpecOpts = <table> {
 }
 GetPetBasedTargetSpell = <function> defined @Hekili/Targets.lua:105
 ToggleHold = <function> defined @Hekili/State.lua:6565
 SpecializationChanged = <function> defined @Hekili/Classes.lua:5837
 Update = <function> defined @Hekili/Core.lua:1477
 AddToStack = <function> defined @Hekili/Core.lua:240
 PLAYER_ENTERING_WORLD = true
 GetNumTargetsAboveHealthPct = <function> defined @Hekili/Targets.lua:1138
 freshFrame = false
 UpdateUseItems = <function> defined @Hekili/Events.lua:685
 SetSpecOption = <function> defined @Hekili/Options.lua:4200
 GetDefaults = <function> defined @Hekili/Options.lua:616
 dumpKeyCache = <table> {
 }
 UpdateDamageDetectionForCLEU = <function> defined @Hekili/Events.lua:1547
 SetEnabledState = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
 GetDisplayByName = <function> defined @Hekili/Core.lua:1448
 Options = <table> {
 }
 ReInitialize = <function> defined @Hekili/Core.lua:158
 npUnits = <table> {
 }
 baseName = "Hekili"
 GetAbilityInfo = <function> defined @Hekili/Classes.lua:5780
 GetOption = <function> defined @Hekili/Options.lua:9508
 State = <table> {
 }
 OnEnable = <function> defined @Hekili/Core.lua:181
 RestoreDefault = <function> defined @Hekili/Classes.lua:995
 DumpProfileInfo = <function> defined @Hekili/Core.lua:2095
 GetNextPrediction = <function> defined @Hekili/Core.lua:1364
 CmdLine = <function> defined @Hekili/Options.lua:9996
 GetPredictionFromAPL = <function> defined @Hekili/Core.lua:668
 IsDisplayActive = <function> defined @Hekili/UI.lua:2091
 GetNumTargetsBelowHealthPct = <function> defined @Hekili/Targets.lua:1162
 SetupPetBasedTargetDetection = <function> defined @Hekili/Targets.lua:119
 ShowDiagnosticTooltip = <function> defined @Hekili/UI.lua:2819
 Notify = <function> defined @Hekili/Options.lua:11408
 OnInitialize = <function> defined @Hekili/Core.lua:61
 NewModule = <function> defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
 GetErrors = <function> defined @Hekili/Utils.lua:44
 ResetThreadClock = <function> defined @Hekili/Core.lua:654
 EmbedItemOption = <function> defined @Hekili/Options.lua:4636
 DumpPetBase

Additional Information

No response

Contact Information

Daegalus#0001

daegalus commented 1 year ago

Seems the Wago Hekili is severely outdated, updated to github and it's fine now.