Hekili Priority Helper

Hekili Priority Helper

44M Downloads

[BUG] Lua Error on login - 9.2.5-1.0.10-beta1

behub-au opened this issue ยท 8 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.

Describe the Issue

On logging this error pops up:

6x Hekili\Events.lua:1695: bad argument #1 to 'max' (number expected, got nil)
[string "=[C]"]: in function `max'
[string "@Hekili\Events.lua"]:1695: in function <Hekili\Events.lua:1492>
[string "@Hekili\Events.lua"]:1789: in function `handler'
[string "@Hekili\Events.lua"]:51: in function <Hekili\Events.lua:45>

Locals:
(*temporary) = nil
(*temporary) = 0
(*temporary) = "number expected, got nil"

If it helps that line of code is state.gcd.lastStart = max( gcdStart, ( GetSpellCooldown( 61304 ) ) ) and gcdStart seems to not exist elsewhere in that file, but I am no expert. Just trying to speed up the solution :)

How to Reproduce

Log into game on any character running the latest alpha/beta of Hekili.

Player Information (Link)

https://pastebin.com/98cbUenh

Error Messages (Link)

https://pastebin.com/trTjHr3u

Additional Information

No response

Contact Information

Torch#0614

commented

I get this when I login on a ret pally

143x Hekili\Events.lua:1695: bad argument #1 to 'max' (number expected, got nil)
[string "=[C]"]: in function `max'
[string "@Hekili\Events.lua"]:1695: in function <Hekili\Events.lua:1492>
[string "@Hekili\Events.lua"]:1789: in function `handler'
[string "@Hekili\Events.lua"]:51: in function <Hekili\Events.lua:45>

Locals:
(*temporary) = nil
(*temporary) = 0
(*temporary) = "number expected, got nil"
commented

What version of the addon are yo uusing?

commented

My apologies. My addon client is insisting v9.2.5-1.0.10-beta1 is newer than v9.2.5-1.0.10 and had me using the one prior.

commented

Logging into DK then produced no error. I didn't want to sound like a liar when I said "any character". I swear it has been :)

commented

Thanks. I saw the change come through in my RSS Reader :)

commented

Happens on my mage and shaman...

build: v9.2.5-1.0.10-beta1
level: 60 (60)
class: SHAMAN
spec: elemental

talents: aftershock
    echo_of_the_elements
    master_of_the_elements
    natures_guardian
    primal_elementalist
    spirit_wolf
    stormkeeper

pvptalents: none

covenant: necrolord

conduits: astral_protection = 9
   call_of_flame = 11
   spiritual_resonance = 9
   thunderous_paws = 9
   tumbling_waves = 10
   vital_accretion = 9

soulbinds: [plague_deviser_marileth]
   kevins_oozeling = 1
   plagueborn_cleansing_slime = 1
   plagueys_preemptive_strike = 1
   ultimate_form = 1
   undulating_maneuvers = 1
   volatile_solvent = 1

sets: overflowing_anima_cage = 1
    tier28 = 4

gear: boneshatter_gauntlets = 1
    boneshatter_treads = 1
    elegy_of_the_eternals = 1
    entwined_gorger_tendril = 1
    guardstaff_of_the_great_cycle = 1
    ornately_engraved_amplifier = 1
    overflowing_anima_cage = 1
    ritual_commanders_ring = 1
    shadowlace_cloak = 1
    tabard_of_the_dark_iron = 1
    theurgic_starspeakers_adornment = 1
    theurgic_starspeakers_belt = 1
    theurgic_starspeakers_bracers = 1
    theurgic_starspeakers_howl = 1
    theurgic_starspeakers_ringmail = 1
    theurgic_starspeakers_tassets = 1
    tier28 = 4

legendaries: splintered_elements = 1
    windspeakers_lava_resurgence = 1

itemIDs: 161329, 172323, 172324, 173215, 178781, 178848, 178849, 185842, 188270, 188919, 188920, 188921, 188922, 188923, 188924, 189834

settings: aoe = 3
    buffPadding = 0
    combatRefresh = 0.1
    custom1Name = Custom 1
    custom2Name = Custom 2
    cycle = false
    cycle_min = 6
    damage = true
    damageDots = true
    damageExpiration = 8
    damagePets = false
    damageRange = 0
    debuffPadding = 0
    enabled = true
    enhancedRecheck = false
    gcdSync = true
    maxTime = 10
    nameplateRange = 8
    nameplates = false
    noFeignedCooldown = false
    package = Elemental
    petbased = false
    potion = potion_of_spectral_intellect
    potionsReset = 20180919.1
    regularRefresh = 0.5
    throttleRefresh = false
    throttleTime = false
    stack_buffer = 1.1

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

keybinds: 
    astral_shift           = F2  [06]
    chain_heal             = E   [02]
    chain_lightning        = 6   [01]
    cleanse_spirit         = -   [01]
    earth_elemental        = 7   [01]
    earth_shock            = 1   [01]
    earthquake             = F4  [06]
    fire_elemental         = G   [06]
    fireblood              = F5  [06]
    flame_shock            = 5   [01]
    fleshcraft             = F3  [06]
    frost_shock            = 8   [01]
    ghost_wolf             = `   [06]
    healing_surge          = Q   [02]
    hex                    = F12 [06]
    lava_beam              = 6   [01]
    lava_burst             = 3   [01]
    lightning_bolt         = 2   [01]
    overflowing_anima_cage = R   [06]
    primordial_wave        = 4   [01]
    purge                  = =   [01]
    spiritwalkers_grace    = F   [10]
    stormkeeper            = M5  [04]
    thunderstorm           = F6  [06]
    wind_shear             = F1  [06]

commented

This is the error on mage side...

Message: Interface\AddOns\Hekili\Events.lua:1695: bad argument #1 to 'max' (number expected, got nil)
Time: Fri Sep  2 18:42:12 2022
Count: 1
Stack: Interface\AddOns\Hekili\Events.lua:1695: bad argument #1 to 'max' (number expected, got nil)
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:761: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=[C]"]: ?
[string "=[C]"]: in function `max'
[string "@Interface\AddOns\Hekili\Events.lua"]:1695: in function <Interface\AddOns\Hekili\Events.lua:1492>
[string "@Interface\AddOns\Hekili\Events.lua"]:1789: in function `handler'
[string "@Interface\AddOns\Hekili\Events.lua"]:51: in function <Interface\AddOns\Hekili\Events.lua:45>

Locals: errMsg = "Interface\AddOns\Hekili\Events.lua:1695: bad argument #1 to 'max' (number expected, got nil)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = <table> {
 globalNameTranslation = <table> {
 }
 FormatErrorMessageSection = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
 ErrorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
 origErrorHandler = <function> defined @Interface\SharedXML\SharedBasicControls.lua:355
 hitInternalError = false
 CreateErrorFrame = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
 num = 0
 SanitizeString = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
 AddonBlockedHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
 GetStackLevelInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
 ParseLocals = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
 ignoreErrors = false
 errorReports = <table> {
 }
 IsTSMAddon = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
 localLinesTemp = <table> {
 }
 GetStackInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES = <table> {
 1 = "TradeSkillMaster_Accounting"
 2 = "TradeSkillMaster_AuctionDB"
 3 = "TradeSkillMaster_Auctioning"
 4 = "TradeSkillMaster_Crafting"
 5 = "TradeSkillMaster_Destroying"
 6 = "TradeSkillMaster_Mailing"
 7 = "TradeSkillMaster_Shopping"
 8 = "TradeSkillMaster_Vendoring"
 9 = "TradeSkillMaster_Warehousing"
}
commented

Thanks; closed as resolved.