Download
(9 Kb)
Download
Updated: 11-27-10 11:04 AM
Pictures
File Info
Updated:11-27-10 11:04 AM
Created:unknown
Downloads:4,508
Favorites:69
MD5:
Bagsy
Version: 3.3-1.1
by: xtoq, VagrantEsha
Bagsy: A DataBroker Plugin

"Xtoq has my consent to continue my mod. I'm really happy he's doing so too, because some people seem to like it.

Gave up on WoW a bit ago, doubt I'll be back, good to see the mods were well liked though. If anyone wishes to pick up and maintain any of my other mods, feel free!" - Vagrant

Thanks!

I don't really know much about lua, so anything that needs to be fixed I may or may not be able to fix it. Feel free to post in the comments.

Thanks to Quagm1re for the Inscription bag fix. I spent 2 hours trying to rewrite the damned thing, then saw he posted the fix on the comments. Thanks a lot!
________

Changes:

* Updated LibDataBroker
* Updated ToC to 3.3
* Updated to include inscription bags
________

Original Description:

The screenshot will tell you most of what you'll need to know about this plugin, but basically it's all about bag information (free slots, taken slots, that kind of thing).

Click Options:

Left-Click toggles just your backpack open/closed
Right-Click toggles the backpack and all bags open/closed.
Alt + Left-Click toggles between showing free slots/taken slots.
Alt + Right-Click toggles whether the bag count should be coloured or not.
Shift + Left-Click toggles counting class bags in the overall count display.
Shift + Right-Click toggles whether class bags should have their own, separate count.
Control + Left-Click toggles counting profession bags in the overall count display.
Control + Right-Click toggles whether profession bags should have their own, separate count.

Separate Counts: You may be wondering why this is important, but basically it allows you to show your ammo pouch/soul shard bag, or profession bags separately from the main count.

Take a look at the screenshot to see an example of this; the first count (with the standard backpack icon) is all bags - not counting class or profession bags into that count, the second count is soul shards (accompanied by the icon of the soul shards bag), and the third count is enchanting (accompanied by the icon of the enchanting bag). These are added dynamically, so if you have more than one profession bag they'll be added in the same fashion, one after the other.

So if you like, Bagsy can cover all of your bag-count display needs. It's bagnificent! (I <3 bad puns.)

Important Note: Some bag mods work differently, so you'll have to test to find out whether you should be left-clicking or right-clicking to open your bags.

What is DataBroker?

DataBroker is part of a system that's similar to FuBar and its plugins, what you have here is a plugin but you'll also need something to display the output of the plugin. You have many options for this, and I've listed a number of them below for your perusal, just pick the one that interests you the most.

- Fortress: http://www.wowinterface.com/downloads/info10401-Fortress.html
- ButtonBin: http://www.wowinterface.com/downloads/info10474-ButtonBin.html
- StatBlockCore: http://www.wowinterface.com/downloads/info9221-StatBlockCore.html
- MakeRocketGoNow: http://www.wowinterface.com/downloads/info9771-MakeRocketGoNow.html
- Carousel: http://www.wowinterface.com/downloads/info10295-Carousel.html
- Titan: http://www.wowinterface.com/downloads/info8092-TitanPanel.html

If you want further information, that nice feller tekkub has put together some information on his wiki. And it's good information too, information that you should probably read if you're just getting into DataBroker plugins. (Not to mention that poor old tek puts these pages together and not many people seem to read them, so I thought I'd do my part to help remedy that situation. )

http://github.com/tekkub/libdatabroker-1-1/wikis
3.3-1.1
11/27/2010
xtoq

- Updated ToC to 4.0. I have no issues with this addon, and haven't heard any complaints, so I assume things are fine...?

3.3-1.0
1/9/2010
xtoq

- Updated LibDataBroker
- Updated ToC to 3.3
- Updated to include inscription bags

2.4.3-1.2

- 1.1 introduced a click bug. I think this was due to some reverted code, basically stuff I had changed that I either undid by accident or didn't save. This is why it took me so long to spot it. This should guarantee that the clicking will work again, if not I'll just revert to the click-code I had in 1.0 from the archive. Here's hoping.
- Again, drycoded. You all know why by now though, sorry about that!

2.4.3-1.1

- I adjusted the alignment of the secondary icons (class/profession), they were actually too far down (see the screenshot) and it was so very irritating! So I've corrected them, they should now be aligned with the first icon.
- There was an issue with the sentences, this was amazingly minor but I had to fix it. There was a point where it would say something like "Not included in the count, and shown separately.", but instead it should be "Not included in the count, shown separately." or "Included in the count, and shown separately." See the screenshot to see what I'm talking about here, it was a minor grammatical error but I had to fix it. Yay for dynamically compiling sentences for tooltips!

2.4.3-1.0 (my coupe de gracie!)

- The click functions for toggling bags/backpack now work properly.
- A toggle has been added for whether or not counts should be coloured.
- Counts for different types of bags can now be separated (with neat little icons!), thaks to Frayol for that awesome idea.
- Did some general cleaning up, and obsessing over every last line of code!
- Not drycoded, this one's actually had all of its features tested (as the screenshot shows), huzzah!

2.4.3-0.9

- Thought I'd upload a quick fix for the default bags not toggling properly.
- More to come tomorrow!
- Drycoded, but should be okay (simple change).

2.4.3-0.8

- The original solution to trying to figure out how to deal with different bag mods didn't work, it was buggy and any fixes I might've had would've only been more complicated and I didn't want to bloat the mod like that. Thankfully, Frayol suggested a really simple and elegant solution that had just passed me by; left and right clicking for different types of bag mods. So that's in there now, thanks to Frayol.

2.4.3-0.7

- I've allowed some time for possible bug reports to come in, since I've had none I'm going to upgrade this from a test version to a standard one.

2.4.3-0.7-Test

- I've hopefully got the toggle bag issue sorted out that rears its head with some bag mods.
- Drycoded. It'll be upgraded from test to a normal version after confirmation of the fix.

2.4.3-0.6

- Changed the backpack toggle to work with all bags instead, which really makes most sense. I did that originally with the thought in mind that everyone probably uses some form of bag mod or another, s'not the case though! So Bagsy now toggles all bags on click, which is much more useful to those without bag mods.

2.4.3-0.5

- Added options to include or disclude class bags (such as soul shard bags, ammo pouches, and things of the sort) and profession bags (such as herbalism bags, ore bags, enchanting bags, and the like) from the overall count.

2.4.3-0.4

- The colour has been removed from the toc name, as this caused issues with alphabetical categorisation.

2.4.3-0.3

- I've got a new direction with the tooltips, it took me a while to decide on this. It was discussed with a few people too and it was generally and mutually decided that the new direction I'm taking them in is better. So this is the New Unification of Tooltip Styles for my plugins. NUTS v1! I'm pretty much going to model all my DataBroker plugins after this layout, to try to keep them as easy to understand at a glance as possible. The basic idea is: Keybinds at the bottom, the most important information at the top, and all the straggler-lines cushioned in the middle. Credit where credit is due, too; this all started because of a suggestion by Nyte, so kudos for Nyte for giving me reason to think about all this! This is far too long for a changelog update, I know... but necessary!
- I've corrected the toc-version, I am scared and confused by toc-versions.

2.4.3-0.2

- First release on WoWI.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
3.3-1.0
9kB
12-31-09 05:59 PM
Patch


Archived Files (2)
File Name
Version
Size
Author
Date
3.3-1.0
9kB
xtoq
01-09-10 12:17 PM
2.4.3-1.2
8kB
xtoq
09-01-08 12:17 PM


Post A Reply Comment Options
Unread 11-29-10, 12:02 PM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 96
Uploads: 0
Originally posted by VagrantEsha
Xtoq has my consent to continue my mod. I'm really happy he's doing so too, because some people seem to like it.

Gave up on WoW a bit ago, doubt I'll be back, good to see the mods were well liked though. If anyone wishes to pick up and maintain any of my other mods, feel free!
Thanks for letting Xtoq maintain what is easily the best LDB bag addon! Go well! :-)
Wizardling is offline Report comment to moderator  
Reply With Quote
Unread 03-08-10, 06:36 PM  
VagrantEsha
Token Werewolf Fan
 
VagrantEsha's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 239
Uploads: 41
Xtoq has my consent to continue my mod. I'm really happy he's doing so too, because some people seem to like it.

Gave up on WoW a bit ago, doubt I'll be back, good to see the mods were well liked though. If anyone wishes to pick up and maintain any of my other mods, feel free!
VagrantEsha is offline Report comment to moderator  
Reply With Quote
Unread 12-31-09, 05:46 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
Re: Replicate Bagsy, or anything similar?

Originally posted by Wizardling
I wish I knew how to write an addon, because Bagsy does EXACTLY what I want in a LDB bag addon. Sadly it fails to recognise some of my bags, e.g. 32 slot inscription :-( and it looks as if it will never be updated.

It's a damn shame that here we have the high water mark of LDB bag addons, and nothing else does it all. Or if I've missed an addon that will display free and total space for regular, profession and class bags, has click to open, colours numbers depending on free space, and is as well written as Bagsy, I'd LOVE to know about it!
EDIT: Never mind, figured it out. I'll see if I can post a patch to fix it.

EDIT2: I posted a patch to fix these issues. Its not REALLY a patch; you can just install it instead of the other Bagsy addon. (EDIT3: I have actually just taken over Bagsy, so there's no need for the patch.) I am not really a good coder, I'm learning as I go, so just work with me. And thanks Quagm1re for the inscription bag fix! Download is now available.

@Kerecha: I'm looking into your display request. No promises and if you or anyone else has any insight on how to do it just let me know. I'm not proud, I'll admit. =)
__________________
There is absolutely no evidence to support the theory that life is serious.
Last edited by xtoq : 01-10-10 at 08:54 PM.
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 11-07-09, 04:16 AM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
im missing one small thing in the bagdisplay.

I sometimes use 2 more more of the same proffbag (like 1x32 mining and 2x32 herbing) i then get a display of 32m 32h 32h i would love to be able to get 32h 64m instead to save some space,
Kerecha is offline Report comment to moderator  
Reply With Quote
Unread 07-31-09, 03:51 AM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 96
Uploads: 0
Unhappy Replicate Bagsy, or anything similar?

I wish I knew how to write an addon, because Bagsy does EXACTLY what I want in a LDB bag addon. Sadly it fails to recognise some of my bags, e.g. 32 slot inscription :-( and it looks as if it will never be updated.

It's a damn shame that here we have the high water mark of LDB bag addons, and nothing else does it all. Or if I've missed an addon that will display free and total space for regular, profession and class bags, has click to open, colours numbers depending on free space, and is as well written as Bagsy, I'd LOVE to know about it!
Wizardling is offline Report comment to moderator  
Reply With Quote
Unread 05-31-09, 08:33 AM  
shinx
A Defias Bandit

Forum posts: 2
File comments: 71
Uploads: 0
Re: Re: Doesn't recognise my 32 slot inscription bag

Bagsy Doesn´t work with DockingStation can you please fix this?
shinx is offline Report comment to moderator  
Reply With Quote
Unread 05-10-09, 12:32 PM  
Quagm1re
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Re: Doesn't recognise my 32 slot inscription bag

Originally posted by Wizardling
Any chance of an update to the best LDB bag plugin? :-)
FIX FOR INSCRIPTION BAGS
  1. Open Bagsy.lua in a text editor, such as Notepad.
  2. Go to line 7, which should say "local craft = 8 + 32 + 64 + 128 + 512 + 1024".
  3. Change line 7 to say "local craft = 8 + 16 + 32 + 64 + 128 + 512 + 1024". Basically, you are adding a "16", since that is the ItemFamily for Inscription bags.
  4. Save your changes and restart WoW. You can now view Inscription bags separately.
Quagm1re is offline Report comment to moderator  
Reply With Quote
Unread 03-30-09, 11:54 PM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 96
Uploads: 0
Question Doesn't recognise my 32 slot inscription bag

Any chance of an update to the best LDB bag plugin? :-)
Wizardling is offline Report comment to moderator  
Reply With Quote
Unread 12-12-08, 01:06 AM  
DaemonSambe
A Kobold Labourer
 
DaemonSambe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 152
Uploads: 1
Docking Station

I've been using a new LDB Display system, Docking Station. However, Bagsy and Attrition are both unable to be used by DockingStation because of some problems with plugin creation. I don't know LUA or i'd fix my own copy. Could you please take a look at Docking Station and the author's comments? I don't know which of you is doing things properly or not or whatever, but i'd like to get the mods working.

Regards

---
DaemonSambe is offline Report comment to moderator  
Reply With Quote
Unread 09-20-08, 10:11 PM  
Lullah
A Murloc Raider

Forum posts: 5
File comments: 12
Uploads: 0
Hey Esha

I just found an error in regards to Bagsy (as well as Attrition) in conflict with XRS. If I disable both mods, I get no lua error and XRS will be functioning normally.

If I use both Attrition and Bagsy along with XRS, I get an error message when the game loads that says:

Interface\Addons\XRS\XRS.lua:11: Cannot find a library instance of Crayon-2.0.
I'm not sure if this is XRS' problem or Bagsy/Attrition's problem but I'd love it if you can offer some insight on what's going on!
Lullah is offline Report comment to moderator  
Reply With Quote
Unread 09-02-08, 12:10 PM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 63
Uploads: 0
been a busy day thus far and I can confirm that bagsy does work for me as well. Thanks again
Vytae is offline Report comment to moderator  
Reply With Quote
Unread 09-02-08, 04:12 AM  
VagrantEsha
Token Werewolf Fan
 
VagrantEsha's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 239
Uploads: 41
Hooray! Glad to hear that, indeed I am.
VagrantEsha is offline Report comment to moderator  
Reply With Quote
Unread 09-02-08, 02:08 AM  
Frayol
A Deviate Faerie Dragon
 
Frayol's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 127
Uploads: 4
Did a very quick test before starting work and both left and right clicks work as intended with the default bags. In addition the right click is now also working correctly with BaudBag as it opens all the bags there too (I have a couple of bag groups). Many thanks for that.
Frayol is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 12:11 PM  
VagrantEsha
Token Werewolf Fan
 
VagrantEsha's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 239
Uploads: 41
I see it, I think. It was a change in 1.1, so I'm going to upload a drycoded fix which may not help at all, or may fix it.

Thanks for bearing with me guys, I really appreciate it.

[Edit.]

@Vytae & Frayol

There's a new version up now, and I think I've found the cause of the problem. It was actually a reversion iissue (i.e.: I closed the file at some point without saving, or at some point I performed an undo, saved, and then closed the file for whatever reason) by the looks of it.

@Vytae

I feel like such an arse for putting you through all that, and I really have to say I'm sorry. Were I still playing, I would've spotted that myself and I really want to thank you for the patience you've shown. I very much appreciate it. Once you said that you'd removed the settings, I knew it had to be Bagsy and I went over it with a fine tooth comb to see what it could've been.

I had actually looked at the code before, but I kept overlooking it because it was a reversion and my mind didn't *click* with that. I didn't see it because I was automatically not expecting an issue to be there, and technically the code was correct from a 1.0 perspective but it didn't work with a small change I made in 1.1. I hope you enjoy using Bagsy in the future though, and I'll try not to do that again.

This was a bit of a facepalm moment for me, as I really can't believe I overlooked that so many times. But when one isn't expecting a bug to be there, the mind just white-washes over it. A typo or bad function I would've caught much, much more quickly. I need to be more observant, frankly. So once again, thanks for your patience.
Last edited by VagrantEsha : 09-01-08 at 12:25 PM.
VagrantEsha is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 10:44 AM  
Vytae
A Murloc Raider

Forum posts: 6
File comments: 63
Uploads: 0
Originally posted by Frayol
@Vytae - You are not being a buzzkill at all. In fact I failed to test without BaudBag running so my post only really related to BaudBag working fine. My mistake in not testing fully.

I have now tested fully and found that the issue does exist exactly as described. In order to rule out settings I wiped my addons and WTF folders then ran with nothing, but Fortress and Bagsy. Right-clicking only opens the backpack. I then zapped the folders clean again and tried with Carousel instead of Fortress, same result. Sorry to say that it looks like the issue lies within Bagsy.
same thing here.... backed up my entire wtf folder and addons folder and ran with only fortress and bagsy and reproduced the issue. I did not test any other data broker display unfortunately.
Vytae is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: