Bagnon

Bagnon

127M Downloads

sorting the bank items, Lua errors

shines77 opened this issue · 0 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 10.1.3
  • Server patch: [e.g. Wrath Build 3.4.2]
  • Realm: Asian TW
  • Locale: zhCN
  • Integration addon package: BigFoot

Describe the bug

When I' use the bank bags, get that Lua errors. But it does not affect normal use.
I don't know if this error occurs and I can't reproduce it again.
Just see it in the addon BugSack.

10x BagBrother/core/classes/bag.lua:257: attempt to call global 'GetBankBagSlotFlag' (a nil value)
[string "@BagBrother/core/classes/bag.lua"]:257: in function "Update"
[string "@BagBrother/core/classes/bag.lua"]:96: in function '?'
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ibs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ibs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function 'SendMessage'
[string "@BagBrother/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function 'SendSignal'
[string "@BagBrother/core/api/events.lua"]:155: in function 'UpdateLocation'
[string "@BagBrother/core/api/events.lua"]:55: in function '?'
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ibs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ibs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@!!!Libs/Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function 'Fire'
[string "@!!!Libs/Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ce!!!Libs/Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
self = CheckButton {
FilterIcon = Frame {
}
slot = 88
owned = true
Count = FontString {
}
itemID = 41599
0 =
frame = BagnonBank1 {
}
Icon = Texture {
}
link = "|cff1eff00|Hitem:41599::::::::80:::::::::|h[霜纹包]|h|r"
}
bag = 5
cached = false
free = 0
icon = 133665
color = 1
id = 5
(for generator) = defined =[C]:-1
(for state) =

{
1 = "bags-icon-equipment"
2 = "bags-icon-consumables"
3 = "bags-icon-tradegoods"
4 = "bags-icon-junk"
5 = "bags-icon-questitem"
}
(for control) = 1
i = 1
atlas = "bags-icon-equipment"
(*temporary) = nil
(*temporary) = 1
(*temporary) = 1
(*temporary) = "attempt to call global 'GetBankBagSlotFlag' (a nil value)"
C =
{
GetContainerItemCooldown = defined =[C]:-1
hooksecurefunc = defined @BagBrother/libs/C_Everywhere/C_Everywhere.lua:37
rawfind = defined @BagBrother/libs/C_Everywhere/C_Everywhere.lua:35
GetContainerItemPurchaseInfo = defined @BagBrother/libs/C_Everywhere/C_Everywhere.lua:45
locate = defined @BagBrother/libs/C_Everywhere/C_Everywhere.lua:36
GetContainerNumSlots = defined =[C]:-1
IsBattlePayItem = false
ContainerIDToInventoryID = defined =[C]:-1
GetContainerNumFreeSlots = defined =[C]:-1
GetContainerItemInfo = defined =[C]:-1
GetContainerItemQuestInfo = defined =[C]:-1
}
Addon =
{
IsKeyring = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:420
FrameTemplate = "BackdropTemplate"
IsRetail = false
GetOwnerID = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:300
InventoryBags =
{
}
Currency =
{
}
InBank = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:397
ItemGroup =
{
}
GeneralOptions = Frame {
}
ContainerItemGroup =
{
}
player =
{
}
RestoreItemData = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:334
Frame =
{
}
OptionsToggle =
{
}
GuildItem =
{
}
Bag =
{
}
IsBank = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:424
RegisterMessage = defined @!!!Libs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
UnregisterMessage = defined @!!!Libs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
IsBagCached = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:321
Base =
{
}
UnregisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
GetOwnerAddress = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:305
DisplayOptions = Frame {
}
RegisterEvent = defined @!!!Libs/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
sets =
{
}
ColorOptions = Frame {
}
None =
{
}
OptionsPanel =
{
}
OnEnable = defined @BagBrother/core/core.lua:34
Name = "Bagnon"
GuildItemGroup =
{
}
Item =
{
}
BrokerCarrousel =
{
}
IterateOwners = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:135
InGuild = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:405
Parented =
{
}
EditFrame =
{
}
Guild =
{
}
GuildMoneyFrame =
{
}
Cacher =
{
}
NewModule = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
NumBags = 4
CurrencyTracker =
{
}
GuildTabGroup =
{
}
RestorePetLinkData = defined @BagBrother/libs/LibItemCache-2.0/LibItemCache-2.0.lua:388
Settings =
{
}
IsClassic = false
BankBags =
{
}
guild =
{
}
Item ..........