Download
(319Kb)
Download
Updated: 10-14-20 04:21 PM
Pictures
File Info
Compatibility:
Shadowlands pre-patch (9.0.1)
Updated:10-14-20 04:21 PM
Created:02-05-09 05:35 PM
Downloads:12,567
Favorites:43
MD5:

OpenContainer  Popular! (More than 5000 hits)

Version: 1.1.19
by: Vrul [More]

Provides options for changing the default appearance and behavior of Blizzard's container frames (opened bags).

There are also options to have selected bags automatically open and/or close with choosen UI windows:
- Auction House
- Bank
- Black Market
- Guild Bank
- Item Upgrade
- Mailbox
- Merchant
- Reforging
- Socketing
- Trade
- Tradeskill
- Transmogrify
- Void Storage

Note: It is recommended that you delete the folder(s) for an existing addon when updating to a different version. This is to keep files that are no longer used from taking up space.

Version 1.1.19 (10/14/2020)
- Updated for 9.0

Version 1.1.18 (01/30/2020)
- Fixed a couple invalid 'self' references

Version 1.1.17 (01/29/2020)
- Undid a couple of optimizations to facilitate compatibility with other addons

Version 1.1.16 (01/14/2020)
- Fix for backpack staying highlighted after opening it the first time

Version 1.1.15 (03/12/2019)
- Updated for 8.1.5

Version 1.1.14 (07/21/2018)
- Library update

Version 1.1.13 (06/09/2018)
- Updated for 8.0

Version 1.1.12 (01/21/2018)
- Fix for auto vendoring junk when using the theme "None"
- Made the preview of the expanded backpack consistent across themes
- Always hide the expand slots help text

Version 1.1.11 (01/17/2018)
- Updated for 7.3.5

Version 1.1.10 (12/10/2017)
- Modified the Auto Open/Close options to be able to select individual bags for each UI window

Version 1.1.9 (09/02/2017)
- Fix for PlaySound change in 7.3

Version 1.1.8 (08/28/2016)
- Corrected an issue with auto opening bank bags on first visit
- Fix for an issue when adding/removing bags to bag bar

Version 1.1.7 (07/23/2016)
- Library update

Version 1.1.6 (06/25/2016)
- Fixed an issue with automatically closing windows

Version 1.1.5 (05/14/2016)
- Updated for 7.0

Version 1.1.4 (04/06/2015)
- Fixed an error when automatically vendoring items flagged as junk and not all bag slots have a bag
- Automatically vendoring junk items should no longer leave items behind if there was an excessive amount

Version 1.1.3 (10/29/2014)
- Added an option to change when the junk icons are shown
- Fixed a display issue when switching between a non-standard bag (i.e. 1-slot bag) and a regular bag
- Corrected the way alternate currency tracking is handled when the Hide Money option is enabled
- Minor code cleanup and optimization

Version 1.1.2 (10/21/2014)
- Added an option to automatically vendor items flagged as junk when visiting a merchant
- Corrected an issue with the new item glow and flash resetting

Version 1.1.1 (10/15/2014)
- Fixed bugs with the backpack not opening and with empty bags not having a name displayed on initial login

Version 1.1 (10/14/2014)
- Updated for 6.0
- Added the Black Market and Item Upgrade UI windows to the auto open/close options
- The options for auto open/close now have "Check All" and "Uncheck All" buttons

Version 1.0.18 (10/05/2012)
- Added options for positioning container frames by dragging them with the mouse
- Changed the "Shrink Bags" option to allow a user chosen scale

Version 1.0.17 (09/30/2012)
- Corrected a potential issue with event processing after changing some options with bags open
- Minor performance tweaks

Version 1.0.16 (09/14/2012)
- Corrected an issue with event processing
- Minor performance tweaks

Version 1.0.15 (09/13/2012)
- Config support reincluded

Version 1.0.14 (09/09/2012)
- Slight change to the options for bag positioning
- Updated for MoP

Version 1.0.13 (12/05/2011)
- Added auto open/close options for transmogrification and void storage

Version 1.0.12 (07/03/2011)
- Corrected an issue with opening bags and their positioning

Version 1.0.11 (07/02/2011)
- Added an auto open/close option for socketing
- Fixed some issues with auto open/close
- Updated for 4.2

Version 1.0.10 (04/27/2011)
- Fixed a bug with auto open and patch 4.1

Version 1.0.9 (01/22/2011)
- Removed the throttling on updateContainerFrameAnchors for compatibility with other addons

Version 1.0.8 (01/21/2011)
- Rewrote my rewrite of Blizzard's global function updateContainerFrameAnchors to be more optimized, throttled, and to no longer taint the global variables CONTAINER_OFFSET_X and CONTAINER_OFFSET_Y

Version 1.0.7 (01/20/2011)
- Added an auto open/close option for reforging

Version 1.0.6 (12/26/2010)
- Fix for auto open/close with trade skills

Version 1.0.5 (12/03/2009)
- Fixed a bug with setting a theme's color/alpha without having first selected that theme

Version 1.0.4 (07/29/2009)
- Corrected an issue with setfenv() being used on functions that were previously hooked by this addon

Version 1.0.3 (07/26/2009)
- Added MMOUI Minion support to TOC file (X-WoWI-ID)
- Configuration is now load on demand
- Separated the option "Auto Open/Close" into "Auto Open" and "Auto Close"

Version 1.0.2 (04/28/2009)
- Library update

Version 1.0.1 (04/19/2009)
- Code clean up

Version 1.0 (02/05/2009)
- Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 01-21-20, 10:29 PM  
wowhunter99
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
This addon is great!

But since Patch 8.3 I have one problem:
The Icons of "Can I mog it" shown on top of the items wont get updated, if i move items within my bags.
So if I have an item in first slot of an bag and it has an icon from Can i mog it, and then I move this item to zhe slot next to it, the icon stays at the old place and no icon is shown at the new place.
It works without OpenContainer. But if I activate OpenContainer it does not work anymore.

Is there any redraw or update event missing in your addon?

Last edited by wowhunter99 : 01-21-20 at 10:44 PM.
Report comment to moderator  
Reply With Quote
Unread 12-11-19, 08:16 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Originally Posted by Vrul
It looks more like space is being left for the two unopened bags. Do the bags always open in the spots they would if all of them were open?
Yes. Locked into position regardless what other bags are open.

Originally Posted by Vrul
If any of those commands got different results then another addon is manipulating bag behavior.
It seems to be MoveAnything

Edit:
Fixed it. Just incase someone stumbles over this problem here. For some reason some checkboxes in MoveAnything in bags are now required to be checked for the bags to properly stack on each other when opening them out of order. Same for the bank bags. Last update is months ago yet only now it changed. Wierd. Fixed but wierd.
Last edited by Zasz : 12-18-19 at 03:36 AM.
Report comment to moderator  
Reply With Quote
Unread 12-08-19, 09:42 AM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally Posted by Zasz
Hey, me again
For a few days now the behavior changed again. There are no errors when it happens. Open bags are now opened at a very specific location instead of stacking on each...
I opened the main bag, the third and fifth. They should be right on top of each other. Is that from a setting from OC? Or is that another addon again?
If you have Allow Dragging enabled under the Position tab that can happen. However, they default to two rows of bags that you then move where you want them and I think you would remember doing that.

It looks more like space is being left for the two unopened bags. Do the bags always open in the spots they would if all of them were open?

Open your bags like in that picture again and enter the following into chat:
Code:
/run print(unpack(ContainerFrame1.bags))
That should show "ContainerFrame1 ContainerFrame3 ContainerFrame5" in chat (order doesn't matter).
Code:
/run ContainerFrame5:ClearAllPoints() ContainerFrame5:SetPoint('CENTER', UIParent, 'CENTER', 0, 0)
That should move your fifth bag to the center of your screen.
Code:
/run UpdateContainerFrameAnchors()
That should move the three opened bags to where you would expect them to be.

If any of those commands got different results then another addon is manipulating bag behavior.
Report comment to moderator  
Reply With Quote
Unread 12-06-19, 07:51 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Hey, me again
For a few days now the behavior changed again. There are no errors when it happens. Open bags are now opened at a very specific location instead of stacking on each other like this:

I opened the main bag, the third and fifth. They should be right on top of each other. Is that from a setting from OC? Or is that another addon again?
Report comment to moderator  
Reply With Quote
Unread 09-06-19, 02:24 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
Hey, I totally forgot and ignored this issue. So I did some testing and as it turns out its "extended vendor ui" thats causing the issue of opening all bags when talking to a merchant instead of only the selected bags. I just updated it to the latest version but the problem persists.
Report comment to moderator  
Reply With Quote
Unread 08-24-18, 01:30 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
It does not happen with only OpenContainer open. I dont get any errors with most addons enabled. I work through the addons over the weekend. Not much time for wow at the moment. I let you know how it turns out.
Report comment to moderator  
Reply With Quote
Unread 08-23-18, 07:43 AM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally Posted by Zasz
For me its every merchant. I only have one low level char under 20 and he encountered the bug in thunder bluff where he is located as my bank char. Should happen on every merchant there aswell for you.
I cannot reproduce the problem. Does it happen with only OpenContainer running? This addon modifies a lot of Blizzard's ContainerFrame functions so if another addon is also messing with them or calling a pre-modified version of them then that would explain your issue.
Report comment to moderator  
Reply With Quote
Unread 08-22-18, 04:31 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
For me its every merchant. I only have one low level char under 20 and he encountered the bug in thunder bluff where he is located as my bank char. Should happen on every merchant there aswell for you.
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 06:09 PM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally Posted by Zasz
As of this week the guild bank and most vendors open all bags instead of just selected bags. I tested to auto close the other bags when I close a merchant and that works. So it seems the auto open function doesnt work properly at the moment.
I do not have access to a guild bank and the few merchants in Orgrimmar I tried opened only the bags I had selected. Can you provide a merchant that this happens with in an area accessible to a starter account for me to test this on (if I can't reproduce the problem I cannot fix it)?
Report comment to moderator  
Reply With Quote
Unread 08-18-18, 12:08 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
As of this week the guild bank and most vendors open all bags instead of just selected bags. I tested to auto close the other bags when I close a merchant and that works. So it seems the auto open function doesnt work properly at the moment.
Report comment to moderator  
Reply With Quote
Unread 01-21-18, 01:04 PM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally Posted by capcanuk
I notice that I can get rid of the nagging "you gained 4 backpack slots" message if OpenContainer is not loaded, but when it is, the message reappears and will not go away.
It doesn't do this on my end but I set that message to be hidden in the latest version since I can't imagine anyone cares about it.
Report comment to moderator  
Reply With Quote
Unread 01-21-18, 09:05 AM  
capcanuk
A Kobold Labourer

Forum posts: 0
File comments: 68
Uploads: 0
I notice that I can get rid of the nagging "you gained 4 backpack slots" message if OpenContainer is not loaded, but when it is, the message reappears and will not go away.

I don't have SMS Protect, so the stupid message is wrong, to start with... meaning I don't get the 4 extra backpack slots - I don't have a cell phone.
It would be nice not to have a constant daily reminder of this fact.

Might there be a line in the OpenContainer configuration file that I could change to remove this?
Last edited by capcanuk : 01-21-18 at 09:06 AM.
Report comment to moderator  
Reply With Quote
Unread 12-10-17, 10:43 AM  
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view AddOns

Forum posts: 404
File comments: 322
Uploads: 33
Originally Posted by Zasz
Is it possible to just have a specific container opening automatically when talking to a specified NPC/bank?
I just uploaded a new version (1.1.10) that lets you select which bags to open/close with each UI window.
Report comment to moderator  
Reply With Quote
Unread 11-27-17, 12:28 PM  
Zasz
A Kobold Labourer
 
Zasz's Avatar

Forum posts: 0
File comments: 89
Uploads: 0
I really love this addon because it provides a great inventory experience unlike the blizzard default crap that was obviously coded by some monkey. Closing automatically when closing a NPC window. What are they thinking??
Is it possible to just have a specific container opening automatically when talking to a specified NPC/bank? I only need my main backpack to open but it opens all packs.
Report comment to moderator  
Reply With Quote
Unread 10-30-14, 11:20 AM  
JohnDoe03
A Kobold Labourer

Forum posts: 1
File comments: 81
Uploads: 0
Re: Re: Re: Re: Error (deDE client) - bags do not open

Originally Posted by Vrul
Originally Posted by JohnDoe03
With other addons enabled - if only open container is enabled, no error occurs
The issue causing the error can be easily fixed on my end, however, since you have to be using another bag modifying addon to have gotten that error I'm sure you will just encounter other issues with it fixed.

This addon completely changes how bags work behind the scenes. Several Blizzard functions are completely rewritten to work more efficiently and to allow some of the features of this addon to work. The other bag addon you are using has to have overwritten at least one of those same functions in order for the default UI to not throw that error.

You can try to have your other bag addon's author make this addon an optional dependency so that it can override the functions it needs to correctly. After that you can see if you are getting what you want out of both.
Ok, thanks for the feedback - will try to sort this out on my end (checking if the other addon is needed)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: