Go to Page... |
Updated: | 09-02-08 08:09 AM |
Created: | unknown |
Downloads: | 4,594 |
Favorites: | 58 |
MD5: |
Junkie: A DataBroker Plugin
Have you ever wanted an easy way to track the junk in your bag, and to be rid of it on demand? If so, then Junkie is for you. Take a look at the screenshots to see how it works.
To elaborate on what you're seeing there a little; Junkie basically seeks out the cheapest trash (grey coloured) item in your bag and then displays that for you (along with the size of the item's stack and the overall price, taking the stack into account).
Junkie presents a number of options to you for managing grey items:
Clicking Junkie adds the item to a temporary ignore list, this item won't be considered again until the temporary ignore list is cleared or until the current session ends (logout/reload). The way this works is sort of like an inverse shopping list, it checks off the current item and then goes to the next item (on the most worthless list).
Shift-clicking Junkie clears the aforementioned temporary ignore list, going back to the first (and cheapest) trash item it found.
Alt-clicking Junkie destroys the item that's currently being shown to you.
If you want to be able to have Junkie consider certain non-grey items as trash, you can do that. Junkie has an exceptions management mode, which can be toggled on and off by control-clicking.
When in exceptions mode, the click and shift-click functionality remains the same, but alt-clicking an item adds an exception tag to an item. Alt-clicking the same item again removes its exception tag. When an item has an exception tag, it'll be shown amidst the greys in Junkie's default mode.
Once you're done managing exceptions, you can return to Junkie's default mode again by control-clicking.
Just to bring everything together, I'll provide an example of my long-winded explication: Let's say that I want Junkie to be able to consider Shiny Fish Scales for destruction. First, I'd control-click Junkie to put it into exceptions management mode, then I'd click it as many times as needed until Shiny Fish Scales are shown, once they are I'd then do an alt-click to add an exception tag to the Shiny Fish Scales. At this point, I'd reset the temporary ignore list with a shift-click, then I could return to normal mode with a control-click.
This might sound complicated, but give it a go and see for yourself. I really disliked how complicated junk-management systems with long, long fiddly menus were, and this is nothing like that. It does a similar thing, but it's a completely new way to handle it, and once you've used it for a while I feel it becomes really intuitive. All it takes is getting used to the click combinations.
And if you only want to destroy greys, then don't worry, you won't have to fiddle with the exceptions management system at all! It's completely optional.
Things to Consider
If you're after a mod that can sell all grey items, then you might want to check out Haggler (linked below). Haggler also has Junkie interoperability built in, so it can read JunkieDB's list of exceptions. Normally, Haggler just sells all grey items to the vendor whenever its button is clicked at a vendor, but if Junkie is present then it will also sell items from the exceptions list too (this can be toggled on/off, of course).
Haggler: http://www.wowinterface.com/downloads/info10658-Haggler.html
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
Comment Options |
09-01-08, 10:37 PM | |
|
Hm...
I honestly don't know what's wrong, I'm unable to test it at the moment and my brain is far from firing on all of its cylinders at this time. All I can say is that if it works on login/reloadui/item updates, it should work on closing the vendor frame, unless something is messing with the events or the event isn't working properly. The reason I think this is because of the way I set Junkie up... Code:
frame:RegisterEvent"PLAYER_LOGIN" frame:RegisterEvent"BAG_UPDATE" frame:RegisterEvent"MERCHANT_CLOSED" frame:RegisterEvent"TRADE_CLOSED" frame:RegisterEvent"MAIL_CLOSED" frame:RegisterEvent"AUCTION_HOUSE_CLOSED" frame.MERCHANT_CLOSED = scan frame.PLAYER_LOGIN = scan frame.BAG_UPDATE = scan frame.TRADE_CLOSED = scan frame.MAIL_CLOSED = scan frame.AUCTION_HOUSE_CLOSED = scan Does the problem happen if: A.) You sell the item manually? B.) Only Junkie (and your DataBroker handler) is enabled? I'm really hesitant to say it isn't Junkie because of what happened with Bagsy recently. But as I said, all that happens is that when the events are called it initiates the scan, if something isn't working then it seems to go beyond Junkie. The only other thing I could offer you is some new code to try, with MERCHANT_UPDATE registered too. http://pastebin.com/d18f8b460 (There's an editbox on the lower half of the page where you can get the code not numbered.) Paste that into the Junkie.lua you have locally and save it. If that solves the problem then I'll include that in the next official version. I was actually a bit hesitant to include that because it seems to fire for every merchant update, which I was none too sure about (as I said, I'm trying to stay away from spammy events), but if it solves the problem... Well, anyway, let me know! And I'm sorry I couldn't be of more help than this. |
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
break19 |
View Public Profile |
Send a private message to break19 |
Find More Posts by break19 |
Add break19 to Your Buddy List |
09-01-08, 01:56 AM | |||
|
Last edited by VagrantEsha : 09-01-08 at 01:56 AM.
|
||
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
09-01-08, 12:47 AM | |
|
Still noticing that Junkie's not refreshing when my "Reagent Restocker" addon auto-sells my greys..
edit: oh, and big bags dont help much when you're level 15, being run thru VC by your buddy's 70 and ffa loot is on.. I wind up dropping damn near everything except greens and blues, and sometimes have to have my friend hold stuff. lol
Last edited by break19 : 09-01-08 at 12:53 AM.
|
|
break19 |
View Public Profile |
Send a private message to break19 |
Find More Posts by break19 |
Add break19 to Your Buddy List |
08-30-08, 03:45 PM | |
|
No worries, really.
For a moment there I was actually worried that SavedVariablesPerCharacter wasn't working as intended, I'm just relieved that's not the case. I'm glad you're enjoying them though, and I hope you'll continue to. But if you have any further issues, don't hesitate to bring them to me. |
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-30-08, 02:39 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 9
Uploads: 0
|
Upgraded to latest version and everything is hunky dory.
Sorry for wasting your time I could have sworn I was using the current release. Keep up the good work. I'm loving Attrition, Junkie and Haggler. |
|
Hench |
View Public Profile |
Send a private message to Hench |
Find More Posts by Hench |
Add Hench to Your Buddy List |
08-30-08, 09:32 AM | |
|
Are you using the very latest version? I just had to check to be sure, I think the first version of Junkie that had that exceptions DB might've been global, but it's been corrected for a while now. In your toc, the SavedVariables line should read as thus:
## SavedVariablesPerCharacter: JunkieDB If it doesn't, grab the most recent version. If it does, buh? I hate to sound like an idiot but "Buh." is the only response for it. That setting is supposed to imply that it's storing by character-realm. If that's not the case then let me know and I'll set it up so that my mod itself (in the lua) stores things per character. |
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-30-08, 06:56 AM | |
A Kobold Labourer
Forum posts: 0
File comments: 9
Uploads: 0
|
Are Junkie exceptions made on a global or per character basis?
I was under the impression (don't know from where) that exceptions were supposed to be per character. The reason I ask is because I put Shiny Fish Scales and Fish Oil in my exceptions list on my Warrior and when I logged my Shaman they were in the exception list there too. Which wasn't very good for his underwater breathing or water walking. |
|
Hench |
View Public Profile |
Send a private message to Hench |
Find More Posts by Hench |
Add Hench to Your Buddy List |
08-28-08, 04:52 PM | ||||||
|
I respect GarbageFu on a technical/mechanical level, but it was a massive beast of a thing. It was a... a borg mod. I dislike borg mods. This is why I've had to put my foot down in the past with Junkie, I don't want Junkie becoming a borg mod either. There are many users out there who'll use something like GarbageFu and not see the... well, I can't call it bad, but I'll say they can't see the lack of focus in it, and they'll not understand either why I won't simply turn Junkie into a rehash of said mod. But I have to keep my focus or in the end, Junkie will just be GarbageFu; another borg mod filled with features that people think they want but never actually use. And that's the part that irritates me the most, really. At the moment, I'm doing my bestest to keep Junkie sleek, because whilst I can appreciate fat people, and I love Moonkin (who certainly lay into the pies), bloated just isn't beautiful to me where code is concerned. Sleek is. And Junkie must be sleek, or it might aswell not be me writing it. I just thought I'd give you some insight into my thinking anyway, because I think we share a lot of the same kind of development philosophies. I'm not really on your level yet though, as you've done crazy things with some of your mods and libraries that I don't entirely understand. But, I have my focus, and I have my intent to listen and learn!
I have to say though, coming from you tek, that means a lot. I think it should be clear by now that I have no small bloody amount of respect for you as a coder, and really you're a dev's dev, so yeah... that's made my day. Thanks! |
|||||
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-28-08, 04:10 PM | |
|
I'm kinda amused by this whole thing. As I'm sure you're aware GarbageFu was a fork/port/rewrite of my old ItemizedDedutions... a TITAN plugin *shudder*
ID was born of a simple need, bagspace, but with the additional logic of considering auction prices if they were available. Sadly I grew out of that need (I always have tons of bag space now), so the addon was abandoned for the simple reason that it wasn't needed anymore. Then GarbageFu came along and adding in lots of things I never would have put in ID. It was written okey, but I never used the addon, partially cause I didn't need it and partially cause I didn't care for the direction things were headed. Now it seems you're getting things "back on track" with my original design, though you don't appear to use auction prices. I'm certainly not suggesting you do either, removing that keeps the addon super small, which makes me happy. So, even though I have no need for this plugin thanks to cheap large bags these days, I just figured I'd pop in and say "good jorb". |
|
Tekkub |
View Public Profile |
Send a private message to Tekkub |
Find More Posts by Tekkub |
Add Tekkub to Your Buddy List |
08-28-08, 03:03 PM | |
|
Okay, there's now a preview version up for everyone to test.
I would make this an official release considering that I've tested it until the bovines return, but that'd mean I'd have to rewrite the front-page (since the way it works has changed drastically), and I'd have to upload new screenshot(s)... these are things I don't feel up to doing tonight. In fact, I'm going back to bed! Well, soon enough anyway, I'll be updating the description and screenshot tomorrow but I didn't want to make everyone wait. I think I've done a good job with this, I'm satisfied and maybe even a litle pleased with myself. I worked hard on finding the most lightweight solutions to the features I wanted to put in there, and I even found a rather unique way of handling the database of exceptions that Junkie will now have. There might be things I could improve on though, so I'm open to thoughts and opinions here. What do you think of the new Junkie, as far as both the code and functionality are concerned? I'll be back to read the comments and do the appropriate spring cleaning tomorrow. |
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-28-08, 05:18 AM | |
|
Bah, you and your "I can be succinct when I reply to something!"-ness, how I envy that!
Anyway, as far as Junkie goes, I'll get to work on that after I'm done playing the game today. It might not arrive until late tomorrow because looking over Junkie, it'll be a rewrite of a few fundamental things, and I want to make sure I take the time to do that right. Rest assured though, it will happen soon enough, and I've already put my thinking cap on in regards to it. Thanks, Phanx! |
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-28-08, 04:48 AM | |
|
Yeah, that sounds about what I had in mind.
|
|
Phanx |
View Public Profile |
Send a private message to Phanx |
Find More Posts by Phanx |
Add Phanx to Your Buddy List |
08-28-08, 12:44 AM | |||
|
I'm not sure how best to explain what I'm thinking here, but bear with me... First of all, we do away with the default mode. The grey-item mode becomes the only mode. By default, Junkie will only present grey items to the user for consideration and no others. Now instead of switching between the old default (all items) and grey mode, that keybinding switches between three modes. 1.) The default "destroy greys" mode. 2) The "exceptions management" mode. The idea is that exceptions management will work similar to the old mode, you'll be able to scroll through all the items in your bag and either tag or untag them as exceptions with different key + click combinations. For example, "Small Furry Paw" might be added with shift + click, and removed with alt + click. As always, using control + click would reset the cycled list back to the first item. This means that the interface remains entirely with the button, the clicks, and the tooltip (thus keeping the cohesion of the plugin), and it remains easier to deal with than fiddling with a huge menu since the only time an item would be considered is when the player actually has an item. So if a player found later that they didn't want such-and-such a white item to be considered for destruction, they could simply switch back to the other mode, cycle through to the item and then untag it again. One of the main problems I had with the GarbageFu system is that it simply dumps a view of all the items a player ever ignored on them, and that's simply not very user-friendly. But this method you've come up with (or that I've misinterpreted) actually allows one to completely avoid these huge list. The motto of Junkie remains that you deal with the items you have, and only the items you have. And actually working from a greys-only position and adding exceptions from there is a bloody brilliant concept anyway, because that allows the list to be so much smaller. It means adding only a few items here and there that would actually be destroyed, as opposed to adding every damn item under the sun to the ignore list. Yes, this could work because it solves all the problems! As I said, that's bloody brilliant. I'm not sure if this is what you meant though, so I'll leave this here for you to mull over and consider. But it could add all the bits that everyone's always wanted, and at the same time it allows me to be stubborn and stick to the initial vision of Junkie, of a mod which is easy to understand, never overwhelms the user, and doesn't have huge menus or lots of extra files bundled in with it. |
||
|
VagrantEsha |
View Public Profile |
Send a private message to VagrantEsha |
Find More Posts by VagrantEsha |
Add VagrantEsha to Your Buddy List |
08-27-08, 07:37 PM | |||
|
As for the whole ignore-list concept, it occurred to me that it might be simpler to instead add an "un-ignore" list that would work in conjuction with the "destroy only grays" option. There really aren't many white items (and no green or higher items, that I can think of) that you'd ever want to destroy, as anything that isn't gray generally has some other use besides vendoring. |
||
|
Phanx |
View Public Profile |
Send a private message to Phanx |
Find More Posts by Phanx |
Add Phanx to Your Buddy List |