Bagnon

Bagnon

127M Downloads

New error 10.0.2

Mithras2801 opened this issue · 18 comments

commented

48x ...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:34: QuickKeybindTooltip doesn't have a "OnTooltipSetItem" script
[string "=[C]"]: in function HookScript' [string "@Bagnon/common/Wildpants/features/tooltipCounts.lua"]:34: in function Hook'
[string "@Bagnon/common/Wildpants/features/tooltipCounts.lua"]:25: in function ?' [string "@Bagnon/common/Wildpants/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:20: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Bagnon/common/Wildpants/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:56: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:53> [string "=[C]"]: ? [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function Fire'
[string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function LoadAddOn' [string "@FrameXML/UIParent.lua"]:536: in function UIParentLoadAddOn'
[string "@FrameXML/UIParent.lua"]:587: in function `CombatLog_LoadUI'
[string "@FrameXML/UIParent.lua"]:1484: in function <FrameXML/UIParent.lua:1362>
[string "=[C]"]: ?

commented

These are the 3 errors I got from latest version.

1x Bagnon/addons/main/brokerPlugin.lua:38: attempt to call global 'GetContainerNumFreeSlots' (a nil value)
[string "@Bagnon/addons/main/brokerPlugin.lua"]:38: in function ?' [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:114: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:114> [string "=[C]"]: ? [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function Fire'
[string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>

------------------------------------------------------------------------------------------------------------------------

2x Bagnon/common/Wildpants/api/events.lua:91: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Bagnon/common/Wildpants/api/events.lua"]:91: in function UpdateSize' [string "@Bagnon/common/Wildpants/api/events.lua"]:33: in function ?'
[string "@Bagnon/common/Wildpants/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:20: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:18>
[string "@Bagnon/common/Wildpants/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:56: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:53>
[string "=[C]"]: ?
[string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20>
[string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function Fire' [string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in function LoadAddOn'
[string "@FrameXML/UIParent.lua"]:536: in function UIParentLoadAddOn' [string "@FrameXML/UIParent.lua"]:587: in function CombatLog_LoadUI'
[string "@FrameXML/UIParent.lua"]:1484: in function <FrameXML/UIParent.lua:1362>

----------------------------------------------------------------------------------------------------------------------

1x BagBrother/Code/API.lua:20: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@BagBrother/Code/API.lua"]:20: in function SaveBag' [string "@BagBrother/Code/Events.lua"]:27: in function BAG_UPDATE'
[string "@BagBrother/Code/Startup.lua"]:74: in function UpdateData' [string "@BagBrother/Code/Startup.lua"]:30: in function ?'
[string "@BagBrother/Code/Startup.lua"]:20: in function <BagBrother/Code/Startup.lua:20>

Locals:
self = BagBrother {
BANKFRAME_OPENED = defined @BagBrother/Code/Events.lua:54
ParseItem = defined @BagBrother/Code/API.lua:47
SetupEvents = defined @BagBrother/Code/Startup.lua:49
VOID_STORAGE_CLOSE = defined @BagBrother/Code/Events.lua:80
PLAYER_INTERACTION_MANAGER_FRAME_HIDE = defined @BagBrother/Code/Events.lua:45
SaveBag = defined @BagBrother/Code/API.lua:19
PLAYER_EQUIPMENT_CHANGED = defined @BagBrother/Code/Events.lua:31
SaveEquip = defined @BagBrother/Code/API.lua:40
GUILDBANKFRAME_OPENED = defined @BagBrother/Code/Events.lua:95
Realm =

{
}
PLAYER_INTERACTION_MANAGER_FRAME_SHOW = defined @BagBrother/Code/Events.lua:39
PLAYER_MONEY = defined @BagBrother/Code/Events.lua:35
BANKFRAME_CLOSED = defined @BagBrother/Code/Events.lua:58
GUILDBANKFRAME_CLOSED = defined @BagBrother/Code/Events.lua:99
VOID_STORAGE_OPEN = defined @BagBrother/Code/Events.lua:76
GUILDBANKBAGSLOTS_CHANGED = defined @BagBrother/Code/Events.lua:107
Player =
{
}
RemoveEvent = defined @BagBrother/Code/Startup.lua:92
StartupCache = defined @BagBrother/Code/Startup.lua:33
0 =
GUILD_ROSTER_UPDATE = defined @BagBrother/Code/Events.lua:103
UpdateData = defined @BagBrother/Code/Startup.lua:72
BAG_UPDATE = defined @BagBrother/Code/Events.lua:25
}
bag = 0
onlyItems = true
saveSize = true
(*temporary) = nil
(*temporary) = 0
(*temporary) = "attempt to call global 'GetContainerNumSlots' (a nil value)"

commented

There I fixed it somewhat
Dunno if all functions are working, thus far I have no issues with it
https://mega.nz/file/jIkiBbgR#O428clwKppqMEwfQhc87Hn3vtx2AisI8sgpA5oZbq8g

commented

My errors on latest version, hope the stacktraces help ya fix it. Thanks for the addon 👍

Error 1: GetContainerNumSlots (a nil value) Message: ...erface/AddOns/Bagnon/common/Wildpants/api/events.lua:91: attempt to call global 'GetContainerNumSlots' (a nil value) Time: Thu Nov 24 13:07:06 2022 Count: 1 Stack: ...erface/AddOns/Bagnon/common/Wildpants/api/events.lua:91: attempt to call global 'GetContainerNumSlots' (a nil value) [string "=(tail call)"]: ? [string "@Interface/AddOns/Bagnon/common/Wildpants/api/events.lua"]:91: in function `UpdateSize' [string "@Interface/AddOns/Bagnon/common/Wildpants/api/events.lua"]:33: in function `?' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua"]:20: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua"]:56: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:53> [string "=[C]"]: ? [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...nts/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25> [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in function `LoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:536: in function `UIParentLoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:667: in function `TimeManager_LoadUI' [string "@Interface/FrameXML/UIParent.lua"]:1482: in function

Locals:

Error 2: QuickKeybindTooltip doesn't have a "OnTooltipSetItem" script Message: ...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:34: QuickKeybindTooltip doesn't have a "OnTooltipSetItem" script Time: Thu Nov 24 13:07:06 2022 Count: 1 Stack: ...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:34: QuickKeybindTooltip doesn't have a "OnTooltipSetItem" script [string "=(tail call)"]: ? [string "=[C]"]: in function `HookScript' [string "@Interface/AddOns/Bagnon/common/Wildpants/features/tooltipCounts.lua"]:34: in function `Hook' [string "@Interface/AddOns/Bagnon/common/Wildpants/features/tooltipCounts.lua"]:25: in function `?' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua"]:20: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua"]:56: in function <...ommon/Wildpants/libs/WildAddon-1.0/WildAddon-1.0.lua:53> [string "=[C]"]: ? [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...nts/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25> [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua:119> [string "=[C]"]: in function `LoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:536: in function `UIParentLoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:587: in function `CombatLog_LoadUI' [string "@Interface/FrameXML/UIParent.lua"]:1484: in function

Locals:

Error 3: GetContainerNumFreeSlots (a nil value) Message: Interface/AddOns/Bagnon/addons/main/brokerPlugin.lua:38: attempt to call global 'GetContainerNumFreeSlots' (a nil value) Time: Thu Nov 24 13:07:06 2022 Count: 1 Stack: Interface/AddOns/Bagnon/addons/main/brokerPlugin.lua:38: attempt to call global 'GetContainerNumFreeSlots' (a nil value) [string "=(tail call)"]: ? [string "@Interface/AddOns/Bagnon/addons/main/brokerPlugin.lua"]:38: in function `?' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119: in function <...nts/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119> [string "=[C]"]: ? [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...nts/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25> [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire' [string "@Interface/AddOns/Bagnon/common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../common/Wildpants/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:

commented

Confirmed working here aswell. Maybe you can contribute a PR to this repo with the relevant changes?

commented

Just notices the stacksize indicator is missing.

Can't see that this is a stack of 1000
image

commented

kép
I've got you fam, fixed the border colros too, & void storage aswell
Made PR & posted pull requests for Wildpants, Bagnon & BagBrother

commented

Just notices the stacksize indicator is missing.

Can't see that this is a stack of 1000 image

Gonna have a look at it

commented

Hey, I downloaded your .zip from the Mega link, what do I have to change to get the stacksizes?

just download the files from my repo:
https://github.com/AHigi

commented

kép I've got you fam, fixed the border colros too, & void storage aswell Made PR & posted pull requests for Wildpants, Bagnon & BagBrother

Hey, I downloaded your .zip from the Mega link, what do I have to change to get the stacksizes?

commented

Which of the changes is responsible for proper item icons for the bags?
My own attempt of forward porting this failed somewhere and i had working bags but no rendered items, just tooltips on seemingly empty slots ;)

commented

The latest version https://mega.nz/file/uUdhgThY#iDxFlTcICmUliwBVKF6yL3iv19TfjsMYDrJIe91hUDo

Works for me, thank you!

Happy to help out

commented

Hey
First of all a big Merci :) Not found any way to easily download the files from your repo, happy to hear / read that I am a clear noob in using github^^

commented

I found another bug, will fix it and create a pull request & post another mega download :)

commented
commented
commented

The latest version https://mega.nz/file/uUdhgThY#iDxFlTcICmUliwBVKF6yL3iv19TfjsMYDrJIe91hUDo

Works for me, thank you!

Happy to help out

Works perfectly so far, only issue I have right now is that if you select to mark poor items, all empty spots contain a coin.

The other issue I have, which is a personal one, is I'd like to be able to separate the reagent bag completely, without having to select the option to split bags (eg split only the reagent bag).

commented

The latest version https://mega.nz/file/uUdhgThY#iDxFlTcICmUliwBVKF6yL3iv19TfjsMYDrJIe91hUDo

Works for me, thank you!

Happy to help out

It's working great!

Thanks very much!