SanityBags Beta 2 Release
View blog reactions Written on May 3, 2007 by Chris Heald
I got my latest commit of SanityBags into SVN last night (at about…oh, 1:30 AM). It’s a massive overhaul of the whole system, and much more closely obeys the MVC design objectives now.
SanityBags is a virtual bags AddOn for World of Warcraft interfaces. I started writing it…oh, 5 months ago, and then got busy and never actually finished it. It’s still unfinished, but it’s a lot further along now.
What makes SanityBags unique is how you set up bags: Each bag has a filter that it uses to determine its contents dynamically. You may invert matches, and combine multiple statements for logical AND and OR.
- bag:
- matches all items in a given bag. “bag:1″ would match all items in your backpack, for example. - name:
- matches all items whose name matches a given string. “name:poison” matches all items with “poison” in their name. - quality:[trash,common,uncommon,rare,epic,artifact] - matches items of a given quality
- tag:
- matches all items that have a given Sanity2 tag. - (cat|category|type):
- matches all items that match a given Sanity2 custom category or default Blizzard categorization. - soulbound:(true|false) - matches items that are or are not soulbound
- tooltip:string - matches all items with a given string in their tooltip.
You can combine terms to create complex queries. For example:
“name:potion quality:common, name:elixir, bandage” is equivalent to (name CONTAINS “potion” AND quality IS “common) OR (name CONTAINS “elixir”) OR (ANYTHING CONTAINS “bandage”).
A bag with no filter is a “catch-all” bag - anything that isn’t handled by another bag will show up there. The backpack bag, by default, serves this purpose. Items may be matched by any number of bags, but an item that is matched by a filter will not show in the catch-all bag(s).
Sanity is no longer a dependency. Instead, there is a new item called SanityItemCache that provides the model to Sanity and SanityBags’ views. It is the new dependency, but is far more lightweight.
- The biggest of the memory leaks has been fixed.
- Lots of bugfixes have gone into the bags
- There’s been an UI overhaul
- Bags are now bindable with single keys now.
- Each bag has an optional “search” field now that lets you search within the bag’s defined contents.
- A new filter “*” is available, which just shows everything without claiming ownership of it. The concept is still ill-defined, but it’s a part of larger workings.
*** If you just want the whole package, grab this: http://wow.tachyonsix.com/sanitybags/Sanity2CompleteBeta2.zip ***
To get the newest individual versions, grab:
http://www.wowace.com/files/SanityBags/SanityBags.zip http://www.wowace.com/files/SanityItemCache/SanityItemCache.zip
Or, check out from SVN:
http://svn.wowace.com/wowace/trunk/SanityBags/ http://svn.wowace.com/wowace/trunk/SanityItemCache/
Please note: Prior versions of Sanity are not compatible with these changes. If you want to run Sanity with these mods, you will need to use my development branch, which may be checked out here:
Posted in 
May 29th, 2007 at 9:27 pm
Amazing addon, thanks for your work.
A couple suggestions, its not that easy to figure out how to customize bag filters, maybe you should think about adding some templates and some docs. Your screenshot here helps though. OmniCC doesnt seem to work with SanityBags’ items - thats an addon that shows cooldowns everywhere. I wonder if it is posible to have original bags displayed too, not that its usefull, but might be handy if i want to have my BaudBags displayed and a couple of Sanity-filtered virtual bags.
Going to experiment more when servers comes back :) Keep it up.
June 13th, 2007 at 11:32 am
omg! Sanity freaken rocks! I do a lot of auctions and am constantly struggling with getting a handle on what i have in my inventory/mailbox/banks. This is the FIRST mod for inventory/bags that actually improves my life (lol), instead of just looking pretty. The ability to see titles without having to hover, as well as the grouping by rarity are tremendous time-savers for me. Please PLEASE do not stop developing this. I am in inventory heaven right now…. Very nice GUI design as well. I am a developer of business apps, myself, and i must say that I really like the overall look and feel as well–very well organized and pleasing to the eye. Excellent work!
July 7th, 2007 at 5:12 am
I stumbled across this and have been poking at it all day. I really love it so far. The one thing I would suggest is an option to make it always open all bags. If there already is and I’ve missed it, I apologize.