Bagnon

Bagnon

132M Downloads

Bags not opening in Classic WoW

sissipher opened this issue ยท 2 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

I am unable to open Bagnon in Classic WoW. Below is the LUA error. I updated the money type info to the string from the other posts which did not work:

function Money:Construct()
local f = self:Super(Money):Construct()
f.trialErrorButton:SetPoint('LEFT', -14, 0)
f:SetScript('OnShow', f.RegisterEvents)
f:SetScript('OnHide', f.UnregisterAll)
f:SetScript('OnEvent', nil)
f:SetHeight(24)

local overlay = CreateFrame('Button', nil, f)
overlay:SetScript('OnClick', function(_,...) f:OnClick(...) end)
overlay:SetScript('OnEnter', function() f:OnEnter() end)
overlay:SetScript('OnLeave', function() f:OnLeave() end)
overlay:SetFrameLevel(f:GetFrameLevel() + 4)
overlay:RegisterForClicks('anyUp')
overlay:SetAllPoints()

f.info = (MoneyTypeInfo and MoneyTypeInfo[f.Type]) or { UpdateFunc = function(self) return self:GetMoney() end }
f.overlay = overlay
return f

end

Below is the LUA that comes up

Date: 2025-04-09 10:06:57
ID: 3
Error occured in: Global
Count: 1
Message: ...rface/AddOns/BagBrother/core/classes/playerMoney.lua line 48:
attempt to index global 'MoneyTypeInfo' (a nil value)
Debug:
[C]: ?
[Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:48: in function 'Construct'
[Interface/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua]:81:
...ace/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:75
[tail call]: ?
[Interface/AddOns/BagBrother/core/classes/parented.lua]:10:
...nterface/AddOns/BagBrother/core/classes/parented.lua:9
[tail call]: ?
[Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:26:
...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:
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:
...terface/AddOns/BagBrother/core/classes/frameBase.lua:24
[tail call]: ?
[Interface/AddOns/BagBrother/frames/inventory/inventory.lua]:27:
...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:
Interface/AddOns/BagBrother/core/api/frames.lua:23
[tail call]: ?
[tail call]: ?
[Interface/AddOns/BagBrother/core/features/autoDisplay.lua]:83: in function 'ToggleBackpack'
[Interface/AddOns/Blizzard_MainMenuBarBagButtons/Classic/MainMenuBarBagButtons.lua]:54: in function 'BackpackButton_OnClick'
[*MainMenuBarBagButtons.xml:118_OnClick]:4:
[string "*MainMenuBarBagButtons.xml:118_OnClick"]:1
Locals:

AddOns:
Swatter, v4.4.7010 (SwimmingSeadragon)
AtlasLootClassic, vv3.2.0
AtlasLootClassicData, vv3.2.0
AtlasLootClassicDungeonsAndRaids, vv3.2.0
Attune, v260
AucAdvanced, v4.4.7010 (SwimmingSeadragon)
AucFilterBasic, v4.4.7010 (SwimmingSeadragon)
AucStatHistogram, v4.4.7010 (SwimmingSeadragon)
AucStatiLevel, v4.4.7010 (SwimmingSeadragon)
AucStatPurchased, v4.4.7010 (SwimmingSeadragon)
AucStatSimple, v4.4.7010 (SwimmingSeadragon)
AucStatStdDev, v4.4.7010 (SwimmingSeadragon)
AucUtilFixAH, v4.4.7010 (SwimmingSeadragon)
BagBrother, v
Bagnon, v11.1.9
BeanCounter, v4.4.7010 (SwimmingSeadragon)
BigWigs, vv381
Capping, vv11.1.1
CharacterStatsClassic, v3.9.2
ClassicAuraDurations, v3.4.5
Decursive, v2.7.27
Enchantrix, v4.4.7010 (SwimmingSeadragon)
EnchantrixBarker, v4.4.7010 (SwimmingSeadragon)
FishingBuddy, v0.9.8
Gargul, v7.6.21
GatherMate2, v1.47.7.1-classic
GlobalIgnoreList, v1.15.5
Grid2, v2.8.77
Grid2LDB, v2.8.77
Grid2RaidDebuffs, v2.8.77
GTFO, v5.16.3
GuildRosterManager, v1.99164
Informant, v4.4.7010 (SwimmingSeadragon)
ItemRack, v4.23
LeatrixPlus, v1.15.82
NovaWorldBuffs, v3.05
OmniCC, v11.0.7
PallyPower, vv1.5.13-classic
Pawn, v2.10.12
Questie, v10.19.3
Ranker, v2025.03.21.01
RareScanner, v1.15.7
Recount, vv1.15.3a
SlideBar, v4.4.7010 (SwimmingSeadragon)
Stubby, v4.4.7010 (SwimmingSeadragon)
TacoTip, v0.4.4
ThreatClassic2, vv2.60
TitanAmmo, v8.2.2
TitanBag, v8.2.2
TitanClassic, v8.2.2
TitanClassicAmmo, v1.3.6.11500
TitanClassicBag, v1.3.6.11500
TitanClassicClock, v1.3.6.11500
TitanClassicGold, v1.3.6.11500
TitanClassicLocation, v1.3.6.11500
TitanClassicLootType, v1.3.6.11500
TitanClassicPerformance, v1.3.6.11500
TitanClassicRegen, v1.3.6.11500
TitanClassicRepair, v1.3.6.11500
TitanClassicVolume, v1.3.6.11500
TitanClassicXP, v1.3.6.11500
TitanClock, v8.2.2
TitanGold, v8.2.2
TitanLocation, v8.2.2
TitanLootType, v8.2.2
TitanPerformance, v8.2.2
TitanRaidLockout, vv1.1.0-classic
TitanRegen, v8.2.2
TitanRepair, v8.2.2
TitanVolume, v8.2.2
TitanXP, v8.2.2
WeakAuras, v5.19.7
ZygorGuidesViewerClassic, v1.1
BlizRuntimeLib v1.15.7.60191(US)
(ck=8a3)

Bagnon Version

Bagnon 11.1.9

World of Warcraft Flavor

Classic Era

World of Warcraft Region

US/NA

Tested with only Bagnon

I got this issue with only Bagnon enabled

Lua Error

Date: 2025-04-09 10:06:57
ID: 3
Error occured in: Global
Count: 1
Message: ...rface/AddOns/BagBrother/core/classes/playerMoney.lua line 48:
   attempt to index global 'MoneyTypeInfo' (a nil value)
Debug:
   [C]: ?
   [Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:48: in function 'Construct'
   [Interface/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua]:81:
      ...ace/AddOns/BagBrother/libs/Poncho-2.0/Poncho-2.0.lua:75
   [tail call]: ?
   [Interface/AddOns/BagBrother/core/classes/parented.lua]:10:
      ...nterface/AddOns/BagBrother/core/classes/parented.lua:9
   [tail call]: ?
   [Interface/AddOns/BagBrother/core/classes/playerMoney.lua]:26:
      ...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:
      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:
      ...terface/AddOns/BagBrother/core/classes/frameBase.lua:24
   [tail call]: ?
   [Interface/AddOns/BagBrother/frames/inventory/inventory.lua]:27:
      ...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:
      Interface/AddOns/BagBrother/core/api/frames.lua:23
   [tail call]: ?
   [tail call]: ?
   [Interface/AddOns/BagBrother/core/features/autoDisplay.lua]:83: in function 'ToggleBackpack'
   [Interface/AddOns/Blizzard_MainMenuBarBagButtons/Classic/MainMenuBarBagButtons.lua]:54: in function 'BackpackButton_OnClick'
   [*MainMenuBarBagButtons.xml:118_OnClick]:4:
      [string "*MainMenuBarBagButtons.xml:118_OnClick"]:1
Locals:

Reproduction Steps

  1. Login to WoW Classic
  2. Open a bag with Bagnon add on installed
  3. Error comes up

Last Working Version

Pre latest wow updated

Screenshots

No response

commented

After reading #2045 and then deleting bagnon, deleting savedvariables, closing game, re-installing bagnon, changing the one line to f.info = (MoneyTypeInfo and MoneyTypeInfo[f.Type]) or { UpdateFunc = function(self) return self:GetMoney() end } and then starting the game. Bagnon works.

commented

Probably duplicate of #2045