Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(15 Kb)
Download
Updated: 06-05-09 11:25 AM
Addon for:
ItemRack.
Pictures
File Info
Updated:06-05-09 11:25 AM
Created:unknown
Downloads:14,630
Favorites:158
MD5:
Broker ItemRack  Popular! (More than 5000 hits)
Version: 1.9
by: Tristanian [More]
Minimalistic LDB plugin for Gello's ItemRack addon. Tested with both v2.23 and v2.243 (WoTLK).

The plugin provides two simple functions (so far).

a) Shows your currently equipped ItemRack set (or 'Custom Outfit' if your gear doesn't match a predefined set).

b) Allows you to switch between outfits, via a Left-Click ItemRack frame menu (you may change its orientation) and invokes the ItemRack configuration menu, via a simple Right-Click. You may enable/disable ItemRack events via Alt-Right Click.

Bear in mind that Broker_ItemRack does not provide it's own display, you will need a LDB-based display addon, such as Fortress, Carousel, StatBlockCore, Titan etc. This addon also requires ItemRack in order to do anything (it will warn you accordingly if it does not detect ItemRack).
1.9 [2009.06.05]
- Fixed an issue with the plugin icon not always updating properly when an outfit was changed.
- Updated .toc with proper tags for Minion support.
----------------------------------
1.8b [2009.04.13]
- Updated .toc to 30100.
- AceLocale update.
- Fixed a few global references for code brevity.
----------------------------------
1.8 [2009.02.03]
- Moved saved variables initialization from VARIABLES_LOADED to ADDON_LOADED event for reliability and performance purposes.
- Fixed a bug where the tooltip would not properly reflect the state of Itemrack events (enabled/disabled).
----------------------------------
1.7 [2009.01.05]
- Implemented a workaround for displays using generic frame references. This should (hopefully) fix the issue with the ItemRack menu not appearing on CargoShip and DockingStation.
----------------------------------
1.6 [2008.11.02]
- Removed the "hack" specific to ButtonBin that ensures the ItemRack set frame is properly shown, as it is no longer required with the new ButtonBin version. Special thanks to Neotron for implementing individual button frames.
----------------------------------
1.5 [2008.10.16]
- Implemented proper setting of ItemRack events, across characters.
----------------------------------
1.4 [2008.10.14]
- Specified the DO type as "data source".
- Moved LibDataBroker-1.1 outside libs to properly support no-external version.
- Ace3 lib update.
- Implemented a feature to enable/disable ItemRack events via Alt-Right Click.
- .toc bump for WoW 3.0
----------------------------------
1.3 [2008.09.22]
- The addon will now force a button update whenever you save/update an outfit, by post-hooking the relevant ItemRack_Options function.
----------------------------------
1.2 [2008.09.02]
- Fixed an issue with ButtonBin not displaying the ItemRack frame properly.
----------------------------------
1.1 [2008.09.01]
- Added an option to configure ItemRack frame orientation (Horizontal/Vertical).
- Fixed an error when the addon would attempt to show the ItemRack frame, using an invalid frame reference.
- Modified .toc so that ItemRack is now a ReqDep instead of an OptDep.
----------------------------------
1.0 [2008.08.25]
- Initial release
Archived Files (4)
File Name
Version
Size
Author
Date
1.8b
15kB
Tristanian
04-13-09 01:06 PM
1.8
15kB
Tristanian
02-03-09 03:23 PM
1.7
15kB
Tristanian
01-05-09 11:27 AM
1.6
15kB
Tristanian
11-02-08 01:48 PM


Post A Reply Comment Options
Unread 08-24-08, 06:19 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 323
Uploads: 85
it will warn you accordingly if it does not detect ItemRack
*coughReqDepscough*
Tekkub is online now Report comment to moderator  
Reply With Quote
Unread 08-25-08, 12:40 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by Tekkub
*coughReqDepscough*
Sure, that would be an easy way out, I guess I didn't want to restrict people in such a "harsh way" for something so small, but what the heck, I'll do it on the next version, assuming I find something interested to add or update
Last edited by Tristanian : 08-25-08 at 12:40 AM.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 08-31-08, 02:13 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4400
File comments: 2036
Uploads: 40
Getting this error when left-clicking the plugin:

Code:
Interface\AddOns\ItemRack\ItemRack.lua:780: table index is nil
[C]: ?
Interface\AddOns\ItemRack\ItemRack.lua:780: in function `DockWindows'
Interface\AddOns\Broker_ItemRack\Broker_ItemRack.lua:105: in function <Interface\AddOns\Broker_ItemRack\Broker_ItemRack.lua:88>
I'm on the WotLK beta realms (3.0.2.8885), using ItemRack 2.243 (WotLK), with ButtonBin as my display addon, in case any of that is important.

Originally posted by Tristanian
Sure, that would be an easy way out, I guess I didn't want to restrict people in such a "harsh way" for something so small, but what the heck, I'll do it on the next version, assuming I find something interested to add or update
Well, given that this plugin has no function if ItemRack isn't loaded, it's hardly restricting to make it unable to without ItemRack.
Last edited by Phanx : 09-01-08 at 01:32 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 02:38 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by Phanx
Getting this error when left-clicking the plugin:

Code:
Interface\AddOns\ItemRack\ItemRack.lua:780: table index is nil
[C]: ?
Interface\AddOns\ItemRack\ItemRack.lua:780: in function `DockWindows'
Interface\AddOns\Broker_ItemRack\Broker_ItemRack.lua:105: in function <Interface\AddOns\Broker_ItemRack\Broker_ItemRack.lua:88>
I'm on the WotLK beta realms (3.0.2.8885), using ItemRack 2.243 (WotLK), with ButtonBin as my display addon, in case any of that is important.



Well, given that this plugin has no function if ItemRack isn't loaded, it's hardly restricting to make it unable to without ItemRack.
I must admit I have not tested it with ButtonBin, since it's primarily used for launchers, I suspect I know whats going on, the addon is calling the itemrack frame display function with a nil frame argument for some reason. I will look into it when I can. Btw Phanx if it's not too much trouble, can you test this with another display and confirm that the same error exists or not ? Thanks.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 11:46 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by Tristanian
I must admit I have not tested it with ButtonBin, since it's primarily used for launchers, I suspect I know whats going on, the addon is calling the itemrack frame display function with a nil frame argument for some reason. I will look into it when I can. Btw Phanx if it's not too much trouble, can you test this with another display and confirm that the same error exists or not ? Thanks.
Never mind, I tested it right now in both live and Wotlk Beta. As I suspected, ButtonBin is the only display exhibiting this behavior. For some reason it doesn't "pass" a valid frame to the DO's OnClick function attribute and I believe it doesn't do this for any of its "launchers" (every other single display that I tested: Carousel, Fortress, Titan, StatBlockCore, does so), so when the function is actually called, Broker Itemrack "passes" a bogus frame as an argument to the ItemRack.DockWindows function and the error occurs once Itemrack attempts to index the name of the frame (since it is nil). I have implemented a check to eliminate the error on my side but the plugin will still show nothing when left clicked, in ButtonBin. That's the best I can do, unless there is something I'm terribly missing or someone else comes up with a better idea.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 09-01-08, 11:28 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4400
File comments: 2036
Uploads: 40
Originally posted by Tristanian
I have implemented a check to eliminate the error on my side but the plugin will still show nothing when left clicked, in ButtonBin.
Take a look at Tekkub's MakeRocketGoNow; it is able to show a frame anchored to itself when clicked on in ButtonBin.
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 09-02-08, 02:20 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by Phanx
Take a look at Tekkub's MakeRocketGoNow; it is able to show a frame anchored to itself when clicked on in ButtonBin.
That's likely because MRGN creates that frame. Anyway, I do have an idea that I'm willing to try out today and if it works, it should fix the "issue" in an "ugly" way though.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 09-02-08, 11:51 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
The issue with ButtonBin should be solved in 1.2 (it's a pretty nasty fix but it should be working), hopefully nothing else broke.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 09-03-08, 04:14 PM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4400
File comments: 2036
Uploads: 40
Working fine in ButtonBin now, thanks!
Phanx is offline Report comment to moderator  
Reply With Quote
Unread 10-12-08, 07:07 PM  
FireAllianceNX
A Defias Bandit

Forum posts: 2
File comments: 23
Uploads: 0
Hello, I would like to request to have Alt+Click added to turn off event like ItemRack's mini-map button does.... or was it Alt+RightClick? Either one is fine as long as it's in there and I don't have to go through the config page. This would be awesome
FireAllianceNX is offline Report comment to moderator  
Reply With Quote
Unread 10-13-08, 06:45 AM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by FireAllianceNX
Hello, I would like to request to have Alt+Click added to turn off event like ItemRack's mini-map button does.... or was it Alt+RightClick? Either one is fine as long as it's in there and I don't have to go through the config page. This would be awesome
I will look into it, when I can.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 10-13-08, 02:05 PM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by Tristanian
I will look into it, when I can.
The requested feature has been implemented and you should expect it to be released soon(tm).

Alt-Right Click on the button/block will now either enable or disable events and it will work exactly as the minimap button.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 11-12-08, 06:06 AM  
yaroot
A Kobold Labourer
 
yaroot's Avatar

Forum posts: 1
File comments: 31
Uploads: 0
Doesn't work fine with cargoShip.
Cannot open the set list when left-click.
Can you look into it?
yaroot is offline Report comment to moderator  
Reply With Quote
Unread 11-12-08, 01:52 PM  
Tristanian
Andúril
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 262
Uploads: 7
Originally posted by yaroot
Doesn't work fine with cargoShip.
Cannot open the set list when left-click.
Can you look into it?
Nothing I can do about it, CargoShip creates a frame with a nil name and is setting scripts (including OnClick) on that nameless frame. It's impossible for me to anchor the menu since I need a valid frame reference not to mention showing it. At least with ButtonBin I could use the parent as a workaround, until after a discussion with Neotron, he decided to "fix" this, to avoid future issues like it. This addon was never designed to work in the way CargoShip likes to render LDB objects, at least when it comes to doing something more complicated with clicks than calling some random API function.
Tristanian is offline Report comment to moderator  
Reply With Quote
Unread 12-16-08, 12:44 AM  
Harwel
A Murloc Raider

Forum posts: 5
File comments: 21
Uploads: 0
Same problem with DockingStation, left-click does not work.
Last edited by Harwel : 12-16-08 at 01:21 AM.
Harwel is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: