Help

OpenAllBags

Bags & Inventory Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 28,515 Downloads
  • Supports: 4.3
  • 4 Average Daily Downloads
  • Comments
  • Created 11/24/2007 6:35:22 AM
  • Updated 12/11/2011 9:02:52 AM
  • 128 Favorites
  • Project Site
  • License: All Rights Reserved
  • Release Type: Release
  • Newest File: 8
or

About OpenAllBags

Whenever you interact with a mailbox, the bank, the auction house, a merchant or trade with another player, this add-on opens all your bags.

This was inspired by the existing OpenBags add-on which did not work together with "Soul Pouch".

Please check the main page of OpenAllBags here.

Version 8 * Updated TOC for WoW 4.3.0 * Restored old behaviour because of completely screwed up bag API in 4.3.

Version 7 * Updated TOC for WoW 4.0.1

Version 6 * Updated TOC for WoW 3.3.5 * Removed an unused function. * No longer use an XML file.

Version 5 * Updated TOC for WoW 3.2 * Added license information * Added link to project main page at http://code.google.com/p/open-all-bags/

Version 4 * Updated TOC for WoW 3.1.2

Version 3 * Updated TOC for WoW 3.0.2

Version 2 * Added support for guild bank (reported by Greymalkin) * Removed unused code (reported by Greymalkin)

Version 1

  • Initial release

Comments

First Previous Page 1 of 2 Next Last
  • #19
    Thank you bognari3 for helping figure out a fix for this addon.

    I uploaded a working alternative at WoWInterface for players who are not sure how to integrate bognari3's fix in to OpenAllBags.

    OpenMyBags
    http://www.wowinterface.com/downloads/info19825-OpenMyBags.html
  • #16
    seems to work better :p


    -- Copyright (c) 2009-2010, Sven Kirmess

    local Version = 7
    local Loaded = false

    local function EventHandler(self, event, ...)

    if ( event == "PLAYER_ENTERING_WORLD" ) then
    self:RegisterEvent("AUCTION_HOUSE_SHOW")
    self:RegisterEvent("AUCTION_HOUSE_CLOSED")
    self:RegisterEvent("BANKFRAME_OPENED")
    self:RegisterEvent("BANKFRAME_CLOSED")
    self:RegisterEvent("GUILDBANKFRAME_OPENED")
    self:RegisterEvent("GUILDBANKFRAME_CLOSED")
    self:RegisterEvent("MAIL_SHOW")
    self:RegisterEvent("MAIL_CLOSED")
    self:RegisterEvent("MERCHANT_SHOW")
    self:RegisterEvent("MERCHANT_CLOSED")
    self:RegisterEvent("TRADE_CLOSED")
    self:RegisterEvent("TRADE_SHOW")

    if ( not Loaded ) then
    DEFAULT_CHAT_FRAME:AddMessage(string.format("OpenAllBags %i loaded.", Version))
    Loaded = true
    end
    elseif ( event == "PLAYER_LEAVING_WORLD" ) then
    self:UnregisterEvent("AUCTION_HOUSE_SHOW")
    self:UnregisterEvent("AUCTION_HOUSE_CLOSED")
    self:UnregisterEvent("BANKFRAME_OPENED")
    self:UnregisterEvent("BANKFRAME_CLOSED")
    self:UnregisterEvent("GUILDBANKFRAME_OPENED")
    self:UnregisterEvent("GUILDBANKFRAME_CLOSED")
    self:UnregisterEvent("MAIL_SHOW")
    self:UnregisterEvent("MAIL_CLOSED")
    self:UnregisterEvent("MERCHANT_SHOW")
    self:UnregisterEvent("MERCHANT_CLOSED")
    self:UnregisterEvent("TRADE_CLOSED")
    self:UnregisterEvent("TRADE_SHOW")
    elseif (
    event == "AUCTION_HOUSE_SHOW" or
    event == "GUILDBANKFRAME_OPENED" or
    event == "MAIL_SHOW" or
    event == "MERCHANT_SHOW" or
    event == "TRADE_SHOW"
    ) then
    DEFAULT_CHAT_FRAME:AddMessage("bag open form event = " .. event)
    local i
    for i = 0, NUM_BAG_SLOTS do
    OpenBag(i)
    end
    elseif (event == "BANKFRAME_OPENED") then
    DEFAULT_CHAT_FRAME:AddMessage("bag open form event = " .. event)
    local i
    for i = 0, (NUM_BAG_SLOTS + NUM_BANKBAGSLOTS) do
    OpenBag(i)
    end
    elseif (
    event == "AUCTION_HOUSE_CLOSED" or
    event == "GUILDBANKFRAME_CLOSED" or
    event == "MAIL_CLOSED" or
    event == "MERCHANT_CLOSED" or
    event == "TRADE_CLOSE"
    ) then
    local i
    for i = 0, NUM_BAG_SLOTS do
    CloseBag(i)
    end
    elseif (event == "BANKFRAME_CLOSED") then
    local i
    for i = 0, (NUM_BAG_SLOTS + NUM_BANKBAGSLOTS) do
    CloseBag(i)
    end
    end
    end

    -- main
    local frame = CreateFrame("Frame")
    frame:RegisterEvent("PLAYER_ENTERING_WORLD")
    frame:RegisterEvent("PLAYER_LEAVING_WORLD")
    frame:SetScript("OnEvent", EventHandler)
  • #17
    Thanks, this works.

    But i am now geting spam in chat telling me it is openign bags.
    f.eks:
    "bag open event=BANKFRAME_OPENED"
  • #18
    delete or comment out:
    DEFAULT_CHAT_FRAME:AddMessage("bag open form event = " .. event)

    2 times
  • #15
    Seems to work fine for me (AH handled by Auctinator), except in the bank where is only open my bags and not my bank bags. (OpenAllBags() doesn't seem to trigger the bank bags anymore?) Also, it seems if you try to open the Guild bank immediately upon login before opening anything else you get this error:

    Date: 2011-04-29 21:38:32
    ID: 3
    Error occured in: Global
    Count: 1
    Message: ..\FrameXML\ContainerFrame.lua line 860:
    attempt to index local 'frame' (a boolean value)
    Debug:
    [C]: ?
    ..\FrameXML\ContainerFrame.lua:860: OpenAllBags()
    OpenAllBags\OpenAllBags.lua:48:
    OpenAllBags\OpenAllBags.lua:7
  • #14
    Changing OpenAllBags() to ToggleAllBags() in OpenAllBags.lua fixes it for the AH and Bank but other places it doesn't work correctly.
  • #13
    Does anyone know how to fix this add-on, or any alternative one that does the same thing?
  • #12
    OpenAllBags() seems to be replaced with ToggleAllBags()
    http://wowprogramming.com/utils/xmlbrowser/diff/FrameXML/MainMenuBarBagButtons.lua

    But I guess there is also some events changed.
  • #11
    Brilliant Mod .. just can't do without it as I have a bad arthritic problem with my hands .. so with that in mind .. Thank You.

    Now the niggle .. It won't open my Personal or Guild bank bags since todays patch.

    I logged in to WoW with ONLY OAB as an active addon and get the same result.

    Any ideas on how to get this working again as I am now having to use 2 hands to open the bags.

    Cheers.
  • #10
    Using OpenAllBags v6 and OneBag3 v3.3.12

    Thanks for a great mod - Very useful.

    The only niggle I have though is where I open up the bank/vendor/trade etc.. and already have my backpack open with OneBag3 - it closes the backpack rather than leave it open. Possibly due to the way OneBag3 works but posting here in case it's something that can be tweaked in OpenAllBags.

    Cheers.
  • #9
    it seems it works with current 3.3 live realms with .toc updated to 30300...
  • #8
    Thank you so much for the update! This addon is so very useful.
  • #6
    Love this addon, but since Curse and Interface has chosen to block wowmatrix since 3.1 I won't be using it, having to have 3 different downloaders/updaters to take care of what one can more than adequetly do is 2 more programs on my computer than I want. Please switch to wowmatrix. tyvm
  • #5
    seems to work correctly with 3.1
  • #4
    Works perfectly with 3.x, the author could just update the version on the toc file. It's an amazingly useful little addon, that we've been using for over a year, and wondering why hasn't Blizzard implemented it yet.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!