Bagnon

Bagnon

132M Downloads

Cannot open any bags in Retail

Closed this issue ยท 18 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

bagnon-11.9.1 Retail:

I just tried to open my bags after playing for approx. an hour. Bagnon is NOT working. I opened CurseForge, changed the bagnon-11.9.1.zip to Release to Alpha, Re-Installed the addon as well. Still no joy! I disabled all addons in WoW, and basic bags open as normal. I have read the other Issues related to this, but I do not understand that "script" text. In my Interface>Addons folder "BagBrother" is there, but it has disappeared from the addons in CurseForge. I assume this means it has something to do with something in that BagBrother folder.
I looked for BagBrother in CurseForge addons to possibly re-install it, but I cannot find it???
I am not getting any LUA errors on my screen either??

Bagnon Version

Bagnon 11.9.1

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

Message: ...rface/AddOns/BagBrother/core/classes/playerMoney.lua:48: attempt to index global 'MoneyTypeInfo' (a nil value)
Time: Wed Apr  9 19:59:43 2025
Count: 1
Stack:
[Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:48: in function 'Construct'
[Interface/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua]:81: in function <...ace/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:75>
[tail call]: ?
[Interface/AddOns/BagBrother/core/classes/parented.lua]:10: in function <...nterface/AddOns/BagBrother/core/classes/parented.lua:9>
[tail call]: ?
[Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:26: in function <...rface/AddOns/BagBrother/core/classes/playerMoney.lua:25>
[tail call]: ?
[Interface/AddOns/BagBrother/core/classes/frameBase.lua]:125: in function 'GetWidget'
[Interface/AddOns/Bagnon/src/frame.lua]:251: in function <Interface/AddOns/Bagnon/src/frame.lua:248>
[tail call]: ?
[Interface/AddOns/Bagnon/src/frame.lua]:54: in function 'Layout'
[Interface/AddOns/BagBrother/core/classes/frameBase.lua]:58: in function 'Update'
[Interface/AddOns/BagBrother/core/classes/frameBase.lua]:32: in function <...terface/AddOns/BagBrother/core/classes/frameBase.lua:24>
[tail call]: ?
[Interface/AddOns/BagBrother/frames/inventory/inventory.lua]:27: in function <...ace/AddOns/BagBrother/frames/inventory/inventory.lua:26>
[C]: in function 'Show'
[Interface/AddOns/BagBrother/core/api/frames.lua]:32: in function 'Show'
[Interface/AddOns/BagBrother/core/api/frames.lua]:24: in function <Interface/AddOns/BagBrother/core/api/frames.lua:23>
[tail call]: ?
[Interface/AddOns/BagBrother/core/features/autoDisplay.lua]:83: in function 'ToggleAllBags'
[OPENALLBAGS]:1: in function <[string "OPENALLBAGS"]:1>

Locals:
self = <table> {
 __super = <table> {
 }
 __base = <table> {
 }
 __index = <table> {
 }
 __name = "BagnonPlayerMoney"
 Type = "PLAYER"
 __frames = <table> {
 }
 __type = "Button"
 __count = 1
 __template = "SmallMoneyFrameTemplate"
 Gray = "%s"
}
f = BagnonPlayerMoney1 {
 GoldButton = BagnonPlayerMoney1GoldButton {
 }
 vadjust = 0
 trialErrorButton = BagnonPlayerMoney1TrialErrorButton {
 }
 CopperButton = BagnonPlayerMoney1CopperButton {
 }
 moneyType = "PLAYER"
 info = <table> {
 }
 staticMoney = 868536881
 SilverButton = BagnonPlayerMoney1SilverButton {
 }
 small = 1
}
overlay = Button {
}
(*temporary) = nil
(*temporary) = "PLAYER"
(*temporary) = "anyUp"
(*temporary) = "attempt to index global 'MoneyTypeInfo' (a nil value)"
Money = <table> {
 __super = <table> {
 }
 __base = <table> {
 }
 __index = <table> {
 }
 __name = "BagnonPlayerMoney"
 Type = "PLAYER"
 __frames = <table> {
 }
 __type = "Button"
 __count = 1
 __template = "SmallMoneyFrameTemplate"
 Gray = "%s"
}

Reproduction Steps

  1. Open WoW Retail - "Ceceliaa" Mage-Frostmourne
  2. Click Keybinding "B" to open bags (All In One)
  3. LUA Errors as stated above.

Last Working Version

No response

Screenshots

No response

commented

I have the Same Bug

2x ...rfaceBagBrother/core/classes/playerMoney.lua:48: attempt to index global 'MoneyTypeInfo' (a nil value)
[BagBrother/core/classes/playerMoney.lua]:48: in function 'Construct'
[BagBrother/libs/Poncho-2.0-5/Poncho-2.0.lua]:81: in function <...aceBagBrother/libs/Poncho-2.0/Poncho-2.0.lua:75>
[tail call]: ?
[BagBrother/core/classes/parented.lua]:10: in function <BagBrother/core/classes/parented.lua:9>
[tail call]: ?
[BagBrother/core/classes/playerMoney.lua]:26: in function <...rfaceBagBrother/core/classes/playerMoney.lua:25>
[tail call]: ?
[BagBrother/core/classes/frameBase.lua]:125: in function 'GetWidget'
[Bagnon/src/frame.lua]:251: in function <Bagnon/src/frame.lua:248>
[tail call]: ?
[Bagnon/src/frame.lua]:54: in function 'Layout'
[BagBrother/core/classes/frameBase.lua]:58: in function 'Update'
[BagBrother/core/classes/frameBase.lua]:32: in function <BagBrother/core/classes/frameBase.lua:24>
[tail call]: ?
[BagBrother/frames/inventory/inventory.lua]:27: in function <...aceBagBrother/frames/inventory/inventory.lua:26>
[C]: in function 'Show'
[BagBrother/core/api/frames.lua]:32: in function 'Show'
[BagBrother/core/api/frames.lua]:24: in function <BagBrother/core/api/frames.lua:23>
[tail call]: ?
[BagBrother/core/features/autoDisplay.lua]:83: in function 'ToggleAllBags'
[OPENALLBAGS]:1: in function <[string "OPENALLBAGS"]:1>

Locals:
self =

{
__super =
{
}
__base =
{
}
__index =
{
}
__name = "BagnonPlayerMoney"
Type = "PLAYER"
__frames =
{
}
__type = "Button"
__count = 4
__template = "SmallMoneyFrameTemplate"
Gray = "|cff999999%s|r"
}
f = BagnonPlayerMoney4 {
GoldButton = BagnonPlayerMoney4GoldButton {
}
vadjust = 0
trialErrorButton = BagnonPlayerMoney4TrialErrorButton {
}
CopperButton = BagnonPlayerMoney4CopperButton {
}
moneyType = "PLAYER"
info =
{
}
staticMoney = 188152041
SilverButton = BagnonPlayerMoney4SilverButton {
}
small = 1
}
overlay = Button {
}
(*temporary) = nil
(*temporary) = "PLAYER"
(*temporary) = "anyUp"
(*temporary) = "attempt to index global 'MoneyTypeInfo' (a nil value)"
Money =
{
__super =
{
}
__base =
{
}
__index =
{
}
__name = "BagnonPlayerMoney"
Type = "PLAYER"
__frames =
{
}
__type = "Button"
__count = 4
__template = "SmallMoneyFrameTemplate"
Gray = "|cff999999%s|r"
}

commented

I removed this from folder: retail> Interface> Addons> BagBrother> core> classes> playerMoney.lua -

f.info = MoneyTypeInfo[f.Type]

The addon now works.... thank f**k!!

commented

That worked for me as well, thanks.

commented

Unfortunately didn't work for me. Any other suggestions?

commented

I removed this from folder: retail> Interface> Addons> BagBrother> core> classes> playerMoney.lua -

f.info = MoneyTypeInfo[f.Type]

The addon now works.... thank f**k!!

Thank you! This worked for me.

commented

Yeah I just did a similar workaround until author updates it.

For the person struggling just go to line 48 in playermoney.lua and add two hypens in from.

Image

Should look like that.

commented

While your fix is correct, I initially followed your verbiage as you said you removed this from the "folder" instead of you removed a line of code from the "file". I initially deleted the entire file and it did nothing. After I restored the file, I also did what WuhbGaming mentioned, and commented out line 48 in the file. Works like a charm.

commented

Yeah I just did a similar workaround until author updates it.

For the person struggling just go to line 48 in playermoney.lua and add two hypens in from.

Image

Should look like that.

Thank you. Worked for me.

commented

Yeah I just did a similar workaround until author updates it.

For the person struggling just go to line 48 in playermoney.lua and add two hypens in from.

Image

Should look like that.

Thanks a lot for the solution!

commented

While your fix is correct, I initially followed your verbiage as you said you removed this from the "folder" instead of you removed a line of code from the "file". I initially deleted the entire file and it did nothing. After I restored the file, I also did what WuhbGaming mentioned, and commented out line 48 in the file. Works like a charm.

I removed this from folder: retail> Interface> Addons> BagBrother> core> classes> playerMoney.lua -

f.info = MoneyTypeInfo[f.Type]

READ IT AGAIN MATE ;)

commented

While your fix is correct, I initially followed your verbiage as you said you removed this from the "folder" instead of you removed a line of code from the "file". I initially deleted the entire file and it did nothing. After I restored the file, I also did what WuhbGaming mentioned, and commented out line 48 in the file. Works like a charm.

I removed this from folder: retail> Interface> Addons> BagBrother> core> classes> playerMoney.lua -

f.info = MoneyTypeInfo[f.Type]

READ IT AGAIN MATE ;)

I did... MATE. Learn better context or instructions. Cheerio! :D

commented

You can also update the same line with this instead: f.info = { UpdateFunc = function(frame) return frame:GetMoney() end }

commented

I removed this from folder: retail> Interface> Addons> BagBrother> core> classes> playerMoney.lua -

f.info = MoneyTypeInfo[f.Type]

The addon now works.... thank f**k!!

Thx works fine

commented

You can also update the same line with this instead: f.info = { UpdateFunc = function(frame) return frame:GetMoney() end }

Yeah Hawk. I found that script line a bit later in another post, and inserted it in that line (48). It certainly does work!!!

commented

replace line 48 in BagBrother> core> classes> playerMoney.lua

f.info = MoneyTypeInfo[f.Type]

with

if MoneyTypeInfo then
		f.info = MoneyTypeInfo[f.Type]
	end

Image

commented

replace line 48 in BagBrother> core> classes> playerMoney.lua

f.info = MoneyTypeInfo[f.Type]

with

if MoneyTypeInfo then
		f.info = MoneyTypeInfo[f.Type]
	end

Image

Thank you, this works, and I'm no longer getting any LUA error.

commented

If you are not familiar with changing the lua code. I've made a quick fix through WeakAura, you can download from https://wago.io/gQijcjxgA.
Importing this WA will fix the addon.

commented