tullaRange icon indicating copy to clipboard operation
tullaRange copied to clipboard

11.0.2 LUA spam

Open vezevez opened this issue 1 year ago • 3 comments

Many errors with the new patch :(

5x tullaRange/actionState.lua:48: attempt to call global 'IsUsableSpell' (a nil value) [string "@tullaRange/actionState.lua"]:48: in function GetPetActionState' [string "@tullaRange/updater.modern.lua"]:158: in function <tullaRange/updater.modern.lua:157> [string "@tullaRange/updater.modern.lua"]:257: in function <tullaRange/updater.modern.lua:248> [string "=[C]"]: ? [string "=[C]"]: in function Update' [string "@Blizzard_ActionBar/Mainline/PetActionBar.lua"]:86: in function <Blizzard_ActionBar/Mainline/PetActionBar.lua:70> [string "=[C]"]: ?

Locals: slot = 4 _ = "Dash" _ = 132120 _ = nil _ = false _ = true _ = true spellID = 61684 checksRange = false inRange = false oor = false (*temporary) = nil (*temporary) = 61684 (*temporary) = "attempt to call global 'IsUsableSpell' (a nil value)"

vezevez avatar Aug 14 '24 01:08 vezevez

Same

11x tullaRange/actionState.lua:48: attempt to call global 'IsUsableSpell' (a nil value) [string "@tullaRange/actionState.lua"]:48: in function GetPetActionState' [string "@tullaRange/updater.modern.lua"]:158: in function <tullaRange/updater.modern.lua:157> [string "@tullaRange/updater.modern.lua"]:257: in function <tullaRange/updater.modern.lua:248> [string "=[C]"]: ? [string "=[C]"]: in function Update' [string "@Blizzard_ActionBar/Mainline/PetActionBar.lua"]:74: in function <Blizzard_ActionBar/Mainline/PetActionBar.lua:70> [string "=[C]"]: ?

Locals: slot = 4 _ = "Bite" _ = 132127 _ = nil _ = false _ = true _ = true spellID = 17253 checksRange = false inRange = false oor = false (*temporary) = nil (*temporary) = 17253 (*temporary) = "attempt to call global 'IsUsableSpell' (a nil value)"

RangerTure avatar Aug 14 '24 02:08 RangerTure

looks like it's fixed with the newest update :) thank you tuller

vezevez avatar Aug 14 '24 03:08 vezevez

still causing problems on Cataclysm Classic.

fixed by changing this local _, oom = (IsSpellUsable or C_Spell.IsSpellUsable)(spellID) to this local _, oom = (IsUsableSpell or C_Spell.IsSpellUsable)(spellID)

not sure if the C_Spell.IsSpellUsable portion is correct. I believe that's just for retail which I haven't got installed

stako avatar Aug 14 '24 21:08 stako