OneBag3
OneBag3 is part of a long line of bag replacements for the default game bags that will combine all of your bags into one frame.
OneBag has a long history of minimalism and OneBag3 will continue to uphold the standard of easy of use and simplicity it's predecessors set. Like the earlier versions, OneBag3 will continue to offer powerful options for those who wish to delve a little deeper.
Also in the vein of earlier iterations I've kept to the philosophy of doing as little work as possible, as a result the code base is very small, and most of it is in the OneCore library. As of the time of writing there are only 268 lines of code unique to OneBag3, and only 1804 lines of code in OneCore itself. LoC is a horrible stat in general, but it's fun none the less, and I cheat horribly since I build off the powerful Ace3 libraries.
Features
- Now with Search
- Combines all of your bags into one.
- Customizable number of columns
- Inherent support for addons that interact with the default bags
- Color coded slots by item rarity or bag type
- Will automatically open and close for you when visiting the auction house, bank, mailbox, merchant or when trading with another player.
- Allows only certain bags to be displayed, either by slot or type
- Custom bag bar which will highlight it's associated slots on mouseover. This highlighting can be locked in place by clicking.
- Customizable scale, background color, alpha, and more.
- Clean and powerful graphical configuration
- Exposes WoW's built in bag sorting
Search Syntax
Search inside of OneBag3 is powered by the LibItemSearch library by Jalibroc. As a result it supports many advanced search options.
Advanced Filters:
- Quality: q:[quality] or quality:[quality]. Example: q:epic
- Level: l:[level], lvl:[level] or level:[quality]. Example lvl:30
- Type or Subtype: t:[search], type:[search] or slot:[search]. Example t:weapon
- Name: n:[name] or name:[name]. Example: n:lockbox
- Sets: s:[set] or set:[set]. Example: s:fire
- Tooltip Info: tt:[term], tip:[term] or tooltip:[term]. Example: tt:binds
Search Operators
- Logical NOT: "!q:epic" matches items that are NOT epic.
- Logical OR: "q:epic | q:rare" matches items that are either epic OR rare.
- Logical AND: "q:epic & t:weapon" matches items that are epic AND weapons.
- Greater Than: "lvl: > 30" matches items that are higher than level 30.
- Less Than: "lvl: < 30" matches items that are less than level 30.
- Greater or Equal to: "lvl: => 30" matches items that are lvl 30 or greater.
- Lesser or Equal to: "lvl: <= 30" matches items that are lvl 30 or less.
Special Keywords
- soulbound, bound, bop - Bind on pickup items.
- bou - Bind on use items.
- boe - Bind on equip items.
- boa - Bind on account items.
- quest - Quest bound items.
The Family
- OneCore
- The brains and the brawn of the outfit, Core does all the heavy lifting both logic and layout wise. This is embedded in OneBag by default, and you shouldn't need to worry about installing it unless you're running no-lib builds.
- On WowAce
- On Curse
- OneBank3
- OneBag's brother who always like the safety of town, Bank does pretty much the exact same job for your bankslots as OneBag does for your character's bags.
- On WowAce
- On Curse
Localization
Localization is powered by WowAce's built in translation system. Please use the following links to contribute to localization.
Bug Reports & Suggestions
Please report all bug reports to my tracker on WowAce.
I want to thank all the users who've been using OneBag and OneBank for so long.
I don't think it's an error in the addon.
I think some time ago Blizzard implemented a feature where new items in your bag get a slight glow around them until you mouse over them.
Reporting bug
from BugGrabber+Bugsack
The korean below means "Addon tried to call the protected function"
12x [ADDON_ACTION_FORBIDDEN] 애드온 'OneBag3' 보호된 함수 호출 'UNKNOWN()'.
!BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573>
[C]: ?
[C]: in function `UseContainerItem'
FrameXML\ContainerFrame.lua:1071: in function `ContainerFrameItemButton_OnClick'
[string "*:OnClick"]:12: in function <[string "*:OnClick"]:1>
Locals:
This can happen sometimes and it's either the result of another addon or some race condition that I've not been able to fully discover.
OneBag does not call that function directly so it's been hard to figure out the exact cause :(
Legion is already out and there are new ressources. Could you please add an option for showing them on the bag?
Also, it looks to only do in-bag sorting instead of actually "treating all bags as one". It would be nice if the sorting worked in such a way that it moved items out of bags to accomplish the sort, instead of just sorting within each bag individually.
Ideally, a lot like ElvUI's sorting. I know that you can find their sorting algorithm in their sort.lua file. Is there a way to plug in to OneBag3, or perhaps provide an option to use this kind of sort instead of the default?
I was just going to ask for the same thing. This kind of sorting would be awesome!
As I'm playing through legion I'm also frustrated by it.
The sort it uses right now is the in-game one. I'll look into options to see if there's something better I can do.
Hi! New user of your mod. I'm having a bit of an... interesting problem with it. It is affected by the addon Aurora in an odd way. Here's what I mean: http://puu.sh/qURWU/ae12bb2c44.jpg
Do you know how I can fix this? I'll also be posting to the Aurora page about this.
That's pretty odd.... o.0
Never seen anything quiet like, what did the Aurora author say about it?
I got an error when trying to eat or drink something by right clicking the item in the bag
Date: 2016-08-25 01:00:49
ID: 1
Error occured in: AddOn: OneBag3
Count: 7
Message: Error: AddOn OneBag3 attempted to call a forbidden function (UNKNOWN()) from a tainted execution path.
Debug:
[C]: ?
[C]: UseContainerItem()
..\FrameXML\ContainerFrame.lua:1029: ContainerFrameItemButton_OnClick()
[string "*:OnClick"]:12:
[string "*:OnClick"]:1
This can happen under certain circumstances if you have the bag open and interact with it during combat. Easiest fix is to just do a /reload ui
I've not found a solid fix on how to prevent this state.
Could you please add an option for showing emblems on the bag?
Thanks for all your hard work Kaelten.
Hey Kaelten, I'm still having that weird bug where the text of items and stuff drops below the black box, like this: http://imgur.com/a/FnBAa
OneBag doesn't touch the tooltips size or contents so I suspect this is likely an issue with another mod trying to show info for that. :/
That is probably an issue with TipTac.
Ok, took me a few to figure out what the hell happened, should be fixed in v3.8.5
Thanks for the reports all!
Ok, took me a few to figure out what the hell happened, should be fixed in v3.8.5
Thanks for the reports all!
Thank you for the update!
(I could make OneBag and OneBank work earlier with a method inspired by @Rapean, although it was enough to replace the embedded OneCore libraries instead of installing OneCore itself.)
Could you please do something about OneBank (and OneCore) not being available at Curse and WowAce sites, as well? The reason behind it I think that they are flagged abandoned -- even though you uploaded new commits.
Fixed it last night :)