
PlayerMoney & GetContainerNumSlots throwing errors
Stankydots opened this issue ยท 0 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues.
Description
Just updated to 11.2.4 and started to get the GetContainerNumSlots error. I have since 11.2 been getting the PlayerMoney error when I hover over my currency in the bottom right of bagnon.
Bagnon Version
11.2.4
World of Warcraft Flavor
Retail
World of Warcraft Region
US/NA
Tested with only Bagnon
I got this issue with only Bagnon enabled
Lua Error
2x BagBrother/core/features/caching.lua:189: bad argument #1 to 'GetContainerNumSlots' (Usage: local numSlots = C_Container.GetContainerNumSlots(containerIndex))
[C]: in function 'GetContainerNumSlots'
[BagBrother/core/features/caching.lua]:189: in function 'PopulateBag'
[BagBrother/core/features/caching.lua]:185: in function 'SaveBag'
[BagBrother/core/features/caching.lua]:55: in function <BagBrother/core/features/caching.lua:19>
[C]: ?
[BagBrother/libs/WildAddon-1.1-10/WildAddon-1.1.lua]:59: in function <...dOns/BagBrother/libs/WildAddon-1.1/WildAddon-1.1.lua:56>
[BagBrother/libs/WildAddon-1.1-10/WildAddon-1.1.lua]:94: in function <...dOns/BagBrother/libs/WildAddon-1.1/WildAddon-1.1.lua:92>
[BagBrother/libs/WildAddon-1.1-10/WildAddon-1.1.lua]:166: in function <...dOns/BagBrother/libs/WildAddon-1.1/WildAddon-1.1.lua:164>
[tail call]: ?
[tail call]: ?
[C]: ?
[AdvancedInterfaceOptions/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua]:19: in function <...ons/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[AdvancedInterfaceOptions/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua]:54: in function <...ons/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:49>
Locals:
(*temporary) = nil
This next one is the PlayerMoney
60x Blizzard_SharedXML/FormattingUtil.lua:72: attempt to perform arithmetic on local 'money' (a boolean value)
[Blizzard_SharedXML/FormattingUtil.lua]:72: in function 'GetMoneyString'
[BagBrother/core/classes/playerMoney.lua]:96: in function 'OnEnter'
[BagBrother/core/classes/playerMoney.lua]:43: in function <...rfaceBagBrother/core/classes/playerMoney.lua:43>
Locals:
money = false
separateThousands = true
checkGoldThreshold = nil
goldString = nil
silverString = nil
copperString = nil
(*temporary) = 10000
(*temporary) = 100
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'money' (a boolean value)"
COPPER_PER_SILVER = 100
SILVER_PER_GOLD = 100
Reproduction Steps
Just log in and even when reloaded, after updating to 11.2.4 started to get the GetContainerNumSlots error
Since the start of 11.2, If you hover over the currency in bagnon - bag window. Will give error PlayerMoney. If I do not hover over the currency in bag window (bagnon) I will not get this error
Last Working Version
pre 11.2
Screenshots
The first image is GetContainerNumSlots

This one is the PlayerMoney
