OneBag
NOTICE
<big>This version is no longer maintained! I'm working as fast as I can to get the new version to a better state but it does have base line functionality.
Check out the new true OneBag as it's being developed! </big>
END NOTICE
OneBag is a replacement for the default game bags that combines all the bags into one frame. There are already addons out there that do this, so why OneBag? Mainly because I wanted a simpler, more system-friendly bag. OneBag doesn't entirely rewrite the bag-handling interface like others do. It simply rearranges the bags into one and allows the default UI to continue managing the bag slots. This means that addons such as KC_Items, ItemSync, LootLink, and SellValue should be inherently supported. As long as an addon is compatible with the default game bags, it should work with OneBag. This was my goal, anyway. For my uses OneBag has succeeded. Hopefully you will have similar results.
Features
- Combines all your character bags into one.
- Customizable number of columns.
- Displays the total number of slots, by slots used and type. Types being that ammo, soul bags, and professions bags all get a seperate count.
- Inherent support for addons such as KC_Items, ItemSync, LootLink, and SellValue, with no need for special code.
- Color coded slots by item rarity or bag type.
- Will automatically open for you when you visit the auction house, bank, mailbox, merchant, or when entering a player trade.
- Customizable display of only certain bags, either but slot number, or by type.
- Gives you a bag bar for easy manipulation of your bags.
- You can mouseover the bags on the bar to highlight the slots from that bag. You can also lock this highlight by clicking.
- Customize the scale and alpha of the frame.
- Provides an easy to use graphical config menu.
I really love the mods you and Rowne are cranking out, they're truly innovative, and onebag is great because it doesn't interfere with my other mods, but I was wondering if it would be possible to add a couple things that MyInventory had. I really liked being able to change the size of the bag so it didn't take up a good chunk of my screen, and the quality borders on stuff made it a lot easier for me to discern vendor trash from AH trash or stuff that I wear. Also, it would be nice if you could change the transparency so you can see behind it, also. Thanks for the great mod. =D
you can find a preview copy of KC_Items at http://kaelcycle.wowinterface.com
I'll be posting a new version of KC_Items there soon, and I'll be posting it on all sites in the next week or two.
@xel
Like a certain Doctor, I either always end up in exactly the right place at the best possible time or the right place at the worst possible time, it's always the right place however and regardless of how the events turn, the timing is impeccable, whilst not intentional.
As one might say; luck of the draw. You'll be luckier next time and you might even beat me to this one that I'm typing up right now!
@Eraphine / Kael
Kael is a very competent coder, I trust him to do this and if I were playing Warcraft still I'd happily dump my current bank-remembering system for whatever he came up with. Kael as a developer and an upholder of good coding ethos has my respect. I'm sure that whatever solution he comes up with will be worth the wait.
@Painstorm
OneBankBag is more simple than that. Just like the way it replaces your bag with a cleaner interface, it also replaces your bank with a cleaner one too. What's different then between the standard bag and OneBankBag (which I think is the question you'd want answered)? The bags of the bank are now in the same 'bag' per se as the main bank. So if you have three bags in there, their slots will be added to the main window.
As for remembering, it doesn't do that as that's not what it was designed for. However, Kael is working on a solution for that and I'm sure it'll be really good.
@Painstorm
The OneBag addon simply replaces the default UI bag and bank frames. There is no remote functionality for OBB. Any time you would regularly open an inventory or a bank bag, you will see this front-end instead.
Kaelten is planning on implementing remote (from bank and from character) viewing of bags in KC_Items.
All together, Ace / OneBag / KC_Items should be able to replace AIOI/MyInventory, and MyBank with more efficient and resource-friendly counterparts.
What exactly does that do? Does it work like BankItems/MyBank, so that you at any time can see bank items for all your chars?
Thanks for the swift reply,
I didn't realize you were the author of the PinkyTradeSkillWindow rewrite. As far as I can tell, that is the only place where I can find KC_Items? Would it be possible (if this is planned) for Pakrat to continue handling all price-related tooltip management and for KC_Items to handle descriptions? It might save on some memory, although I'm not sure how intensive pulling values out of 2 arrays at once would be on tooltip updates.
Also, any expected alpha/beta release dates? I'd be more than happy to be a tester.
Turan, sorry for taking up space here, I'll move the conversation to KC_Items once there is a page setup for it here on cursed.
OBB is in the OneBag download, its also just as clean.
Okay, I believe you since I know you from other add-ons and not to mention the AutoTravel discussion :-) Don't know Turan yet, but you convinced me to try this add-on. What's that "OneBankBag" you mention.... looks interesting?
KC_Items, will be using the OneBag code as a base to setup both a away from bank bank veiwer, and a inventory viewer for your alts.
As KC_Items already stores this information, I believe that is the best place to put it.
Turan,
Thanks for looking for additional ways for the common addon-user to save memory and resources!
Are there or could there be any plans to extend the bank window to work away from the bank, like MyBank does, but still retain the sleek code of OneBag?
I understand that OneBag doesn't actually store tooltips, so there'd be an increase in the memory storage space needed to save those banks. Viewing other character's inventories would also be a bonus, but being able to view the bank is by far more useful.
It's just that after reinstalling MyBank, and reading Rowne's comments about MyBank, I wonder if you might come up with some highly efficient optimizations of its functionality.
Oh, and I got a nil global error when I disabled OneBagBank using /obb disabled, however, the disable function did work.
I've been using this for the last few months.
One that I will say is that as an addon author I won't use another allin one bag type mod.
If I wanted to use AIOI I would have to write a special set of code just for it. However Turan's doese not, it slides in perfectly and I've not incountered any bugs related to using it over the default stock.
@Pain
I believe the answer to that is simple. One might either wear an overcoat cut roughly from an old burlap bag or one might decide instead to wear a silk gown. The difference is in the underlying quality and how the end result makes the person feel.
I'm not going to beat around the bush, AIOI is a memory sink. Even Sarf admitted that, he's even tried to play down the resource leaks in an effort to convince people they don't know what they're talking about. MyInventory is nice on the outside but the underlying code is very haphazard, the code there has the feel of "if it gets the job done".
Turan's ethos however is much like my own.
"I won't stop until it's beautiful," and that's all there is to it. You see, the underlying code is a major issue and if you actually take a look at OneBag's code, it's very clean. It won't cause you problems and it'll play nice with your client and resources. Further, it has a nicely laid-out slash-command which as far as I know, none of the others have.
Finally, OneBag and OneBankBag share their resources so you get a two-in-one, the bank can be replaced too using much of the same code. Sure MyBank exists but it does so by repeating much of the code of MyInventory, that's two sets of lots of haphazard functions loaded into memory at once.
There are just so many reasons to use OneBag but the simple fact that as far as coding quality goes, it's one of the best should be enough.
It's not boasting. Turan really does care about his work and by looking at the code you can see that, it's not something that can be easily tossed aside.
So if you want an answer to "Why OneBag?", that's the best one I can give you.
@Shaolin
I've tried OneBag/OneBankBag with MoveAnything and the two play wonderfully together. Both of them scale exactly as you'd expect them to.
Probably a nice mod, but it has all been done before. Why not just use a fine existing bag mod like: http://www.curse-gaming.com/mod.php?addid=269
i used aioi once for a little while and it didnt seem to get on with moveanything. has these been tried n tested with it? i would try it out but last time my ui went pete tong it took me ages to figure how to fix it
Errr I was wondering about the alpha channel/transparency.... Does Onebag, for the inventory, let you change the transparency value?
thanks for the cool addon btw =)
You can change the number of columns. You have a command for each bag, /ob (OneBag) and /obb (OneBankBag). The cols parameter is available to both. You can set the columns to a number from 6 to 20. So if you type /ob cols 6 then your bag will display in 6 columns and likely be much taller than wide.
See the README.txt file for a full list of commands or just type /ob or /obb in game.
Is there anyway that you can change the layout so it is more vertical like AIOI?