xod-wow / LiteMount

World of Warcraft addon LiteMount
GNU General Public License v2.0
31 stars 10 forks source link

TWW-Not working after last game update #238

Closed meenie-1 closed 5 months ago

meenie-1 commented 5 months ago

Doesn't matter if I'm indoors/outdoors/moving/standing still. Same error as far as I can tell. Here is my LUA error:

Message: Interface/AddOns/LiteMount/LM_ItemSummoned.lua:51: attempt to call global 'IsUsableSpell' (a nil value) Time: Wed Jun 12 11:16:24 2024 Count: 8 Stack: Interface/AddOns/LiteMount/LM_ItemSummoned.lua:51: attempt to call global 'IsUsableSpell' (a nil value) [string "@Interface/AddOns/LiteMount/LM_ItemSummoned.lua"]:51: in function `IsCastable' [string "@Interface/AddOns/LiteMount/Mount.lua"]:103: in function <Interface/AddOns/LiteMount/Mount.lua:97>

[string "@Interface/AddOns/LiteMount/MountList.lua"]:120: in function <Interface/AddOns/LiteMount/MountList.lua:117>

[string "@Interface/AddOns/LiteMount/MountList.lua"]:271: in function <Interface/AddOns/LiteMount/MountList.lua:257>

[string "@Interface/AddOns/LiteMount/Actions.lua"]:429: in function <Interface/AddOns/LiteMount/Actions.lua:419>

[string "@Interface/AddOns/LiteMount/RuleSet.lua"]:65: in function `Run' [string "@Interface/AddOns/LiteMount/ActionButton.lua"]:75: in function <Interface/AddOns/LiteMount/ActionButton.lua:29>

Locals: self =

{ flags =
{ } name = "Loaned Gryphon" family = "Gryphon" itemID = 44221 icon = 294468 spellID = 64749 } (temporary) = nil (temporary) = 64749 (*temporary) = "attempt to call global 'IsUsableSpell' (a nil value)" LM =
{ TravelForm =
{ } Mount =
{ } RuleArguments =
{ } FLAG =
{ } MountRegistry = Frame { } MountList =
{ } UIFilter =
{ } ActionButton =
{ } Actions =
{ } RuleSet =
{ } Rule =
{ } Journal =
{ } Vars =
{ } Conditions =
{ } SPELL =
{ } Soar =
{ } RunningWild =
{ } Nagrand =
{ } GhostWolf =
{ } SecureAction =
{ } RuleContext =
{ } Spell =
{ } RuleBoolean =
{ } MOUNTFAMILY =
{ } Options =
{ } Environment = Frame { } Localize =
{ } ITEM =
{ } MOUNT_TYPES =
{ } ItemSummoned =
{ } }

mbattersby commented 5 months ago

Seems like Blizzard are continuing to move API functions out of the global namespace and into C_Spell, C_Item etc. A bit of a moving target, I'll try to fix them as they come up but I can't anticipate them in advance. Please keep reporting.

mbattersby commented 5 months ago

Should be fixed in beta3 thanks

mbattersby commented 5 months ago

If you get more errors like this

attempt to call global 'BlahBlah' (a nil value)

they will be the same thing, you can put that in the title as what's wrong if you rememeber.

mbattersby commented 5 months ago

(Other than when I have time for addon development I'm not playing the beta so I generally won't pick these up very quickly.)