Bagnon

Bagnon

127M Downloads

Doesn't work since 10.1 update just shows blank screen

PirateKain opened this issue ยท 21 comments

commented

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

  • Addon version: v10.0.16
  • Server patch: [e.g. Build 8.0.1.27178] - 10.1.0

Have you read the changelog? (please don't waste our time)
Yes

Describe the bug
When I open the bags via Bagnon it comes up with just an outline of the whole bag window but it is all blank except I can see the individual bags and other options on the top and bottom of bag window, but the item slots are all blank. Not even the item slots boxes are visible. Also no items in the bag can be seen.

To Reproduce
Steps to reproduce the behaviour:
Just have to open the bags no matter how you open them.

Expected behaviour
To see all item slots and all the items within my bags.

Screenshots
If applicable, add screenshots to help explain your problem.

Error Logs
Date: 2023-05-03 05:06:27
ID: 3
Error occured in: Global
Count: 1
Message: ...erface/AddOns/BagBrother/libs/ItemSearch-1.3/API.lua line 53:
attempt to index field 'args' (a nil value)
Debug:
[string "=[C]"]: ?
[string "@Interface/AddOns/BagBrother/libs/ItemSearch-1.3/API.lua"]:53:
...erface/AddOns/BagBrother/libs/ItemSearch-1.3/API.lua:50
[string "@Interface/AddOns/BagBrother/libs/ItemSearch-1.3/API.lua"]:58: IsUnusable()
[string "@Interface/AddOns/BagBrother/addons/core/classes/item.lua"]:243: UpdateBorder()
[string "@Interface/AddOns/BagBrother/addons/core/classes/item.lua"]:206:
...rface/AddOns/BagBrother/addons/core/classes/item.lua:199
[string "=[C]"]: Update()
[string "@Interface/AddOns/BagBrother/addons/core/classes/item.lua"]:134:
...rface/AddOns/BagBrother/addons/core/classes/item.lua:129
[string "=[C]"]: Show()
[string "@Interface/AddOns/BagBrother/addons/core/classes/item.lua"]:47:
...rface/AddOns/BagBrother/addons/core/classes/item.lua:39
[string "=(tail call)"]: ?
[string "@Interface/AddOns/BagBrother/addons/core/classes/itemGroup.lua"]:124: func()
[string "@Interface/AddOns/PetTracker/libs/MutexDelay-1.0/MutexDelay-1.0.lua"]:36:
...ns/PetTracker/libs/MutexDelay-1.0/MutexDelay-1.0.lua:30
Locals:
(*temporary) = defined =[C]:-1

commented

Having same issue.. Log in opened bags and all black screen. Reloaded and a few items showed up but it doesn't last and few items that do show up having issue vendoring and learning etc.

commented

Same/similar issue for me. The first time you open your bag it seems to work, but it kinda doesnt. Whenever you open your bags again it looks like this
image

commented

#1660

apparently some kind of workaround here.

commented

quick fix
image
World of Warcraft_retail_\Interface\AddOns\BagBrother\addons\core\classes\item.lua

This disable red color for border

commented

Replace line 53 with this:

function Lib:IsUnusable(id)
if Unfit:IsItemUnusable(id) then
return true
elseif Lib.Unusable[id] == nil and IsEquippableItem(id) then
Lib.Unusable[id] = (function()
local lines = C.TooltipInfo.GetItemByID(id).lines
for i = #lines-1, 5, -1 do
if lines[i].args ~= nil then -- add this check
local class = lines[i].args[2].stringVal:match(L.CLASS_REQUIREMENT)
if class then
return not class:find(L.PLAYER_CLASS)
end
end
end
end)() or false
end
return Lib.Unusable[id]
end

commented

same issues --
BAGNON SS 2 3MAY2023
BAGNON SS 3 3MAY2023
BAGNON SS 3MAY2023

commented

Replace line 53 with this:
function Lib:IsUnusable(id) if Unfit:IsItemUnusable(id) then return true elseif Lib.Unusable[id] == nil and IsEquippableItem(id) then Lib.Unusable[id] = (function() local lines = C.TooltipInfo.GetItemByID(id).lines for i = #lines-1, 5, -1 do if lines[i].args ~= nil then -- add this check local class = lines[i].args[2].stringVal:match(L.CLASS_REQUIREMENT) if class then return not class:find(L.PLAYER_CLASS) end end end end)() or false end return Lib.Unusable[id] end

In what .lua file?

This is the file you want to put that in "BagBrother\libs\ItemSearch-1.3\API.lua"

commented

Replace line 53 with this:

function Lib:IsUnusable(id) if Unfit:IsItemUnusable(id) then return true elseif Lib.Unusable[id] == nil and IsEquippableItem(id) then Lib.Unusable[id] = (function() local lines = C.TooltipInfo.GetItemByID(id).lines for i = #lines-1, 5, -1 do if lines[i].args ~= nil then -- add this check local class = lines[i].args[2].stringVal:match(L.CLASS_REQUIREMENT) if class then return not class:find(L.PLAYER_CLASS) end end end end)() or false end return Lib.Unusable[id] end

In what .lua file?

commented

Another option is to change the API.lua file to the new one, updated a few hours ago. With that it works again.

BagBrother\libs\ItemSearch-1.3\API.lua

commented

? where do u open it in
b/c i can only open it in windows word

commented

and what if it's not a folder?
pls someone help me

commented

IMG_20230503_163913541

commented

IMG_20230503_163913541

i had the same issue, reinstall the latest version of bagnon, you and I were missing the sub directories there.

commented

and what if it's not a folder? pls someone help me

You can open it with Windows Notepad. 1) Open NotePad 2) Drag and drop the file in NotePad window.

commented

? where do u open it in b/c i can only open it in windows word

i use https://www.wowinterface.com/downloads/info4989

it says its outdated, but it still works

commented

and what if it's not a folder? pls someone help me

You can open it with Windows Notepad. 1) Open NotePad 2) Drag and drop the file in NotePad window.

so i just open and drag the .aip what folder?

commented

@josemendiola what file?

commented

IMG_20230503_175852018

this is what i tooks like after playing for 10 mins

commented

@josemendiola what file?

BagBrother\libs\ItemSearch-1.3\API.lua and BagBrother\libs\ItemSearch-1.3\Filters.lua

You need to apply this solution:
#1660 (comment)

commented

Thanks! that seems to have fixed it.

commented

@Yllelder 's comment worked for me. Can now see items in bags appropriately!