View Single Post
02-02-24, 08:08 PM   #3
jlrm365
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 113
Originally Posted by Kanegasi View Post
Go to https://addon.bool.no, name this whatever you want in the top box, and then paste the following code in the big box.

Download and extract this into Interface\AddOns like any other addon.

Code:
local frame=CreateFrame("frame")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent",function()
    for bag=1,99 do
        if _G["ContainerFrame"..bag] then
            for i=1,99 do
                local bagitem=_G["ContainerFrame"..bag.."Item"..i]
                if bagitem and bagitem.IconQuestTexture then
                    hooksecurefunc(bagitem.IconQuestTexture,"Show",function(s)s:Hide()end)
                else
                    break
                end
            end
        else
            break
        end
    end
    for i=1,999 do
        local bankitem=_G["BankFrameItem"..i]
        if bankitem and bankitem.IconQuestTexture then
            hooksecurefunc(bankitem.IconQuestTexture,"Show",function(s)s:Hide()end)
        else
            break
        end
    end
    for i=1,999 do
        local reagentitem=_G["ReagentBankFrameItem"..i]
        if reagentitem and reagentitem.IconQuestTexture then
            hooksecurefunc(reagentitem.IconQuestTexture,"Show",function(s)s:Hide()end)
        else
            break
        end
    end
end)
That looks phenomenal.
I'll be on in an hour or so and get going with that.
I'll edit this with a comment, when I have.
Much appreciated.

EDIT: 100% working, with the default bags.

My next quest is to figure out what it is, about the combined bags addons, that causes it to not work (I've tried LiteBag (my usual), Baganator and Bagnon). It's not a fault of this solution. There's just something odd afoot. I think LiteBag will be the simplest to look at, so I'll start there. (I'd use the default bags, if there was a way to choose the number of columns.)

Thanks very much!

Last edited by jlrm365 : 02-03-24 at 12:07 AM. Reason: results
  Reply With Quote