Hekili Priority Helper

Hekili Priority Helper

44M Downloads

Lua Error when playing Vengeance Demon Hunter in Dragonflight (bad argument #1 to 'IsAzeriteItemEnabled')

TsunamiFM opened this issue ยท 1 comments

commented

Before You Begin

  • I confirm that I have downloaded the latest version of the addon.
  • I am not playing on a private server.
  • I checked for an existing, open ticket for this issue and was not able to find one.
  • I edited the title of this bug report (above) so that it describes the issue I am reporting.

WoW Version

Retail (Dragonflight)

Describe the Issue

When playing Demon Hunter (Vengeance) Lua Error window popups after changing location. Full error message in Error Messages section.

How to Reproduce

  1. Play Demon Hunter (Vengeance).
  2. Change location (use Hearthstone, leave dungeon, etc.).

Player Information (Link)

build: v10.0.2-1.8
level: 54 (54)
class: DEMONHUNTER
spec: vengeance

talents: agonizing_flames
    blazing_path = 1/1
    burning_blood = 2/2
    calcified_spikes = 1/1
    chaos_nova = 1/1
    charred_warblades = 1/1
    consume_magic = 1/1
    darkglare_boon = 2/2
    deflecting_spikes = 1/1
    demonic = 1/1
    fallout = 1/1
    feast_of_souls = 1/1
    fel_devastation = 1/1
    felblade = 1/1
    felfire_haste = 1/1
    fiery_brand = 1/1
    fiery_demise = 2/2
    fracture = 1/1
    frailty = 1/1
    illidari_knowledge = 2/2
    imprison = 1/1
    infernal_armor = 2/2
    perfectly_balanced_glaive = 1/1
    pursuit = 1/1
    revel_in_pain = 1/1
    rush_of_chaos = 1/1
    shattered_restoration = 2/2
    sigil_of_flame = 1/1
    sigil_of_silence = 1/1
    soul_furnace = 1/1
    soul_sigils = 1/1
    unrestrained_fury = 2/2
    vengeful_retreat = 1/1
    void_reaver = 1/1
    volatile_flameblood = 1/1
    will_of_the_illidari = 2/2

pvptalents: none

covenant: none

conduits: none

soulbinds: []

sets: heart_essence = 1

gear: 7th_legionnaires_leather_mantle = 1
    7th_legionnaires_skullcleaver = 1
    7th_legionnaires_visage = 1
    bloody_tideturner = 1
    bubbliest_brightbrew_charm = 1
    darkwood_sentinels_armguards = 1
    dust_devil_leggings = 1
    fathomstalker_footwraps = 1
    gloves_of_haunting_fixation = 1
    heart_essence = 1
    heart_of_azeroth = 1
    mirror_of_truth = 1
    protectors_tangleroot_belt = 1
    renowned_guild_tabard = 1
    ritual_binders_ring = 1
    seal_of_the_regal_loa = 1
    shadow_seekers_tunic = 1
    trashmasters_mantle = 1

legendaries: none

itemIDs: 117391, 129891, 129896, 158075, 159458, 159459, 159635, 163377, 165447, 166336, 166690, 168970, 170372, 170522, 178832, 199360, 69210

settings: aoe = 2
    buffPadding = 0
    combatRefresh = 0.1
    custom1Name = Custom 1
    custom2Name = Custom 2
    cycle = false
    cycle_min = 6
    damage = true
    damageDots = false
    damageExpiration = 8
    damageOnScreen = true
    damagePets = false
    damageRange = 0
    debuffPadding = 0
    enabled = true
    enhancedRecheck = false
    gcdSync = true
    maxRefresh = 10
    maxTime = 33
    nameplateRange = 8
    nameplates = true
    noFeignedCooldown = false
    package = Vengeance
    petbased = false
    potion = phantom_fire
    potionsReset = 20180919.1
    regularRefresh = 0.5
    throttleRefresh = false
    throttleTime = false
    infernal_charges = 1

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

keybinds: 
    chaos_nova         = 0   [01]
    concentrated_flame =
    consume_magic      = SZ  [01]
    demon_spikes       = V   [06]
    disrupt            = X   [06]
    felblade           = 5   [01]
    fiery_brand        = 6   [01]
    fracture           = 2   [01]
    immolation_aura    = C   [06]
    imprison           = SX  [01]
    infernal_strike    = Z   [06]
    metamorphosis      = AX  [06]
    shear              = 2   [01]
    sigil_of_flame     = B   [06]
    sigil_of_silence   = 9   [01]
    soul_cleave        = 3   [01]
    spirit_bomb        =
    throw_glaive       = 4   [01]
    torment            = 7   [01]
    vengeful_retreat   = AZ  [06]

warnings: [#1] Update: Interface/AddOns/Hekili/State.lua:3989: bad argument #1 to 'IsAzeriteItemEnabled' (Usage: local isEnabled = C_AzeriteItem.IsAzeriteItemEnabled(azeriteItemLocation))
[string "=[C]"]: in function `IsAzeriteItemEnabled'
[string "@Interface/AddOns/Hekili/State.lua"]:3989: in function <Interface/AddOns/Hekili/State.lua:3985>
[string "@Interface/AddOns/Hekili/Dragonflight/DemonHunterVengeance.lua"]:221: in function <.../AddOns/Hekili/Dragonflight/DemonHunterVengeance.lua:221>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Hekili/State.lua"]:1040: in function `applyDebuff'
[string "@Interface/AddOns/Hekili/Dragonflight/DemonHunterVengeance.lua"]:853: in function `handler'
[string "@Interface/AddOns/Hekili/State.lua"]:6054: in function `RunHandler'
[string "@Interface/AddOns/Hekili/Core.lua"]:1973: in function <Interface/AddOns/Hekili/Core.lua:1486>

Error Messages (Link)

Message: Interface/AddOns/Hekili/State.lua:3989: bad argument #1 to 'IsAzeriteItemEnabled' (Usage: local isEnabled = C_AzeriteItem.IsAzeriteItemEnabled(azeriteItemLocation))
Time: Tue Nov 22 20:54:01 2022
Count: 1
Stack: Interface/AddOns/Hekili/State.lua:3989: bad argument #1 to 'IsAzeriteItemEnabled' (Usage: local isEnabled = C_AzeriteItem.IsAzeriteItemEnabled(azeriteItemLocation))
[string "=[C]"]: in function `IsAzeriteItemEnabled'
[string "@Interface/AddOns/Hekili/State.lua"]:3989: in function <Interface/AddOns/Hekili/State.lua:3985>
[string "@Interface/AddOns/Hekili/Dragonflight/DemonHunterVengeance.lua"]:221: in function <.../AddOns/Hekili/Dragonflight/DemonHunterVengeance.lua:221>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Hekili/Targets.lua"]:853: in function <Interface/AddOns/Hekili/Targets.lua:837>

Locals: (*temporary) = <table> {
 GetBagAndSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:42
 equipmentSlotIndex = 2
 IsBagAndSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:60
 SetEquipmentSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:46
 HasAnyLocation = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:64
 __rank = 0
 Clear = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:29
 IsEquipmentSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:56
 IsEqualToBagAndSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:72
 SetBagAndSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:35
 IsEqualTo = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:88
 GetEquipmentSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:52
 IsEqualToEquipmentSlot = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:80
 IsValid = <function> defined @Interface/FrameXML/ObjectAPI/ItemLocation.lua:68
}

Additional Information

No response

Contact Information

No response

commented

1.8.1 should've addressed this issue, but honestly it's a weird and annoying issue.