Doesn't work since 10.1 update just shows blank screen
PirateKain opened this issue ยท 21 comments
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
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.
apparently some kind of workaround here.
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
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] endIn what .lua file?
This is the file you want to put that in "BagBrother\libs\ItemSearch-1.3\API.lua"
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?
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
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.
? 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
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?
@josemendiola what file?
@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)
@Yllelder 's comment worked for me. Can now see items in bags appropriately!