Bestride Mount Manager

Bestride Mount Manager

57.6k Downloads

Error in patch 10.0.2

walter-hwhite opened this issue ยท 2 comments

commented

WoW Version

Retail (9.2.5)

Bestride Version

2.0.6

Steps to Reproduce

  • Install the Addon
  • Click the Macro or assigned hotkey.
  • Commands tested:
    /click BeStride_ABRegularMount
    /click BeStride_ABRegularMount MouseButton Down

Also tested on a "clean" install of WoW without any other addons loaded.

Observed Behavior

Message: ...ce/AddOns/BeStride/Versions/Common/logic.special.lua:67: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Sun Nov 20 12:52:13 2022
Count: 4
Stack: ...ce/AddOns/BeStride/Versions/Common/logic.special.lua:67: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Interface/AddOns/BeStride/Versions/Common/logic.special.lua"]:67: in function IsRepairable' [string "@Interface/AddOns/BeStride/Versions/Common/mount.lua"]:51: in function Regular'
[string "@Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua"]:45: in function PreClick' [string "@Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua"]:26: in function <...s/BeStride/Versions/Common/BeStride_ActionButton.lua:26> [string "=[C]"]: in function Click'
[string "@Interface/FrameXML/ChatFrame.lua"]:1617: in function ?' [string "@Interface/FrameXML/ChatFrame.lua"]:5204: in function ChatEdit_ParseText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4888: in function ChatEdit_SendText' [string "@Interface/FrameXML/ChatFrame.lua"]:3132: in function <Interface/FrameXML/ChatFrame.lua:3125> [string "=[C]"]: in function UseAction'
[string "@Interface/FrameXML/SecureTemplates.lua"]:364: in function handler' [string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672> [string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697> [string "@Interface/FrameXML/SecureTemplates.lua"]:746: in function SecureActionButton_OnClick'
[string "@Interface/FrameXML/ActionButton.lua"]:1149: in function <Interface/FrameXML/ActionButton.lua:1119>
[string "=[C]"]: ?

Locals: self = {
DruidCanCat = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:279
IsPaladin = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:55
modules =

{
}
AddCommonMount = defined @Interface/AddOns/BeStride/Versions/Common/mount.table.lua:25
IsSpecialZone = defined @Interface/AddOns/BeStride/Versions/Common/logic.zone.lua:75
MonkCanTorpedo = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:388
NeedToRepair = defined @Interface/AddOns/BeStride/Versions/Common/logic.special.lua:20
SetDefaultModulePrototype = defined @Interface/AddOns/BeStride/libs/Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
IsFalling = defined @Interface/AddOns/BeStride/Versions/Common/logic.player.lua:1
IsDemonHunterAndSpecial = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:103
IsEnabled = defined @Interface/AddOns/BeStride/libs/Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
DruidTravelToTravel = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:536
CanBroom = defined @Interface/AddOns/BeStride/Versions/Common/logic.mounts.lua:1
RegisterMessage = defined @Interface/AddOns/BeStride/libs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
PaladinCanDivineSteed = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:408
IsShamanAndSpecial = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:234
IsRepairable = defined @Interface/AddOns/BeStride/Versions/Common/logic.special.lua:39
db =
{
}
MageBlink = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:597
CreateActionButton = defined @Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua:7
DemonHunterCanGlide = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:327
IsUseRepair = defined @Interface/AddOns/BeStride/Versions/Common/logic.special.lua:91
DeathKnightWraithWalk = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:459
SpecialZone = defined @Interface/AddOns/BeStride/Versions/Common

commented

I have the same error. After much testing with my 30 alts, I thought I found the error in a messy WTF file. But after deleting the files in the WTF folder and starting to redo the settings of the individual characters, everything worked fine at first, but then I had to realize that this was not the error after all. The error appeared again.

This is what I did:
First, deleted files in the WTF folder.
Secondly logged in with first hunter.
Third, typed /br -> mount options -> set options according to my account-wide needs (3,5,8,9,12) -> class options -> disabled all options -> profiles -> created new profile (Actinidia) -> copied settings from profile default -> mounts -> flying -> only one mount enabled (Ashes of Al'ar) -> closed the settings window.
Fourth tested /click BeStride_ABRegularMount successfully. No LUA error.

I then did that again with a second alt (Crossandra, Hunter). Also no errors.

As a third character I used my main (Lisann, Priest). Did everything the same, except I checked the Levitate class option. /click BeStride_ABRegularMount did not show any error. Then I checked ALL mounts in all tabs. This then resulted in the error. Disabling all mounts except one does not make the error go away. Logging out and logging in does not help either.

Then I logged in with Actinidia. /click BeStride_ABRegularMount still worked without error. Then I opened the options with /br and clicked all tabs once. Then closed the options window. /click BeStride_ABRegularMount triggered the error.

Then I logged onto Crossandra.
Open options with /br and close it right away, does not trigger the error.
Open options with /br, click on fly and close, does not trigger the error.
Open options with /br, click on auqatic and close, does not trigger the error.
Open options with /br, click on repair and close, triggers the error!!!

Logged in with another character (Araminta, Hunter). Have set everything as in the beginning with Actinidia. /click BeStride_ABRegularMount did not show any error.
Then I opened the options with /br, clicked once on the repair tab and closed it again. /click BeStride_ABRegularMount triggered the error.

Last but not least I logged in with my last Hunter Ione. Set all options back to the same as the other alts.
Then tested all tabs individually. With the result that only the repair tab triggers the error and it does not disappear afterwards.

I then tested a Mage (Bebble) like the others. I activated Slowfall and all mounts except the repair mounts and /click BeStride_ABRegularMount did not show an error. Did not provoke the error!

With Mage Blazing I activated the slowfall, but no mounts. /click BeStride_ABRegularMount worked as intended. After clicking the repair tab, the error came up here too.

My error:

Message: ...ce/AddOns/BeStride/Versions/Common/logic.special.lua:67: attempt to call global 'GetContainerNumSlots' (a nil value)
Time: Mon Nov 21 00:29:20 2022
Count: 17
Stack: ...ce/AddOns/BeStride/Versions/Common/logic.special.lua:67: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Interface/AddOns/BeStride/Versions/Common/logic.special.lua"]:67: in function IsRepairable' [string "@Interface/AddOns/BeStride/Versions/Common/mount.lua"]:51: in function Regular'
[string "@Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua"]:45: in function PreClick' [string "@Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua"]:26: in function <...s/BeStride/Versions/Common/BeStride_ActionButton.lua:26> [string "=[C]"]: in function Click'
[string "@Interface/FrameXML/ChatFrame.lua"]:1617: in function ?' [string "@Interface/FrameXML/ChatFrame.lua"]:5204: in function <Interface/FrameXML/ChatFrame.lua:5170> [string "=[C]"]: ? [string "=[C]"]: in function ChatEdit_ParseText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4888: in function <Interface/FrameXML/ChatFrame.lua:4887>
[string "=[C]"]: in function ChatEdit_SendText' [string "@Interface/FrameXML/ChatFrame.lua"]:3132: in function <Interface/FrameXML/ChatFrame.lua:3125> ... [string "=[C]"]: in function UseAction'
[string "@Interface/FrameXML/SecureTemplates.lua"]:364: in function `handler'
[string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
[string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697>
[string "@Interface/FrameXML/SecureTemplates.lua"]:746: in function <Interface/FrameXML/SecureTemplates.lua:730>
[string "=[C]"]: ?
[string "@Interface/FrameXML/SecureHandlers.lua"]:266: in function <Interface/FrameXML/SecureHandlers.lua:263>
[string "=[C]"]: ?
[string "@Interface/FrameXML/SecureHandlers.lua"]:296: in function <Interface/FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals: self =

{
DruidCanCat = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:279
IsPaladin = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:55
modules =
{
}
AddCommonMount = defined @Interface/AddOns/BeStride/Versions/Common/mount.table.lua:25
IsSpecialZone = defined @Interface/AddOns/BeStride/Versions/Common/logic.zone.lua:75
MonkCanTorpedo = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:388
NeedToRepair = defined @Interface/AddOns/BeStride/Versions/Common/logic.special.lua:20
SetDefaultModulePrototype = defined @Interface/AddOns/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
IsFalling = defined @Interface/AddOns/BeStride/Versions/Common/logic.player.lua:1
IsDemonHunterAndSpecial = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:103
IsEnabled = defined @Interface/AddOns/!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
DruidTravelToTravel = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:536
CanBroom = defined @Interface/AddOns/BeStride/Versions/Common/logic.mounts.lua:1
RegisterMessage = defined @Interface/AddOns/LibSharedMedia-3.0/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
PaladinCanDivineSteed = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:408
IsShamanAndSpecial = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:234
IsRepairable = defined @Interface/AddOns/BeStride/Versions/Common/logic.special.lua:39
db =
{
}
MageBlink = defined @Interface/AddOns/BeStride/Versions/Common/logic.class.lua:597
CreateActionButton = defined @Interface/AddOns/BeStride/Versions/Common/BeStride_ActionButton.lua:7
DemonHunterCanGlide = defined @in

Attached is the WTF file of this test. Maybe this will help to identify the error.
SavedVariables.zip

commented

I looked at the file attached above and noticed that the only character I didn't click the repair tab for has no entry for repair mounts. So I took my old WTF file and deleted all entries for repair mounts. Now I can use BeStride for the time being. I just have to be scrupulous about avoiding the devilish tab.

Attached is my old edited file from the WTF folder. With this, all 30 charakers work as they should. Tested every single one.
SavedVariables.zip

Now I just hope that I could help you with this so far that you can find the actual causing error in the code.