Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(29 Kb)
Download
Updated: 07-01-11 08:24 AM
Pictures
File Info
Updated:07-01-11 08:24 AM
Created:02-28-09 11:25 AM
Downloads:11,376
Favorites:140
MD5:
Broker EquipSwitch  Popular! (More than 5000 hits)
Version: 4.2.0
by: lloydbates [More]
What is this?
Broker: EquipSwitch is an Addon using the LibDataBroker Data Display Specifications.
Data display addons provide a LDB “feed” for an always-up addon to display. These addons can be thought of like RSS feeds, where the display addon is similar to an RSS reader. Display addons could include FuBar, Titan Panel, StatBlocks, LegoBlocks, or any other design out there.
What does it do?
With the PTR Patch 3.1.0 Blizzard introduced a new feature, the Equipemt Manager. It was pulled back for the release of 3.1.0 but released shortly after, in a minor content patch.
This Addon tries to increase the accessibility by providing means to switch predefined equipment sets by just a few clicks.

Features:
- Shows currently used Equipment Set with icon and text
- Shows a list of all defined Equipment Sets with icon and text
- Clicking a Set will equip it, in combat swaping is provided by Blizzard
- Right clicking the plugin will open the Blizzard GearManager

Broker: EquipSwitch also comes with Broker: EquipSwitchUI.
It is a small display addon that provides a minimap button, it's completly optional.
If you don't have a display addon, maybe this is just for you!
If you don't want a minimap button, don't load Broker: EquipSwitchUI or delete the folder manually.

What it won't do
This addon will not allow you to add, edit or delete equipment sets.
Use the Blizzard UI for this, it's a one-time task anyway.

Feature request are welcome, but don't hold your breath for it.

Some Display Addons
There are some nice display addons, for a list see http://wiki.github.com/tekkub/libdat...dons-using-ldb
- 4.2.0:
TOC Bump
- 4.1.2:
Fixed showing the Equipment Manager on right clicking the broker
- 4.1.1:
Fixed right clicking on the broker to open the gear manager
Known bug: the first time you open the character window, the manager will be empty
- 4.1.0:
TOC Bump
- 4.0.0:
Big version jump without any new functions, I'm keeping it minimal because I don't need more features.
Updated libraries

- 1.4.1:
Fixed an nil error that happend when no previously saved set was saved for the current character.

- 1.4.0:
Right clicking on the plugin will open the Blizzard GearManager
Now uses the table that is passed by blizzard
Event handling simplyfied, more stuff is moved to the time the addon actualy is loaded
Added support for MMOUI Minion

- 1.3.9:
TOC Bump for patch 3.3
Next release will be refactored for the new parameters blizzard passes to addons

- 1.3.5:
Nobody told me .. it's esES and not enES! :sadface:

- 1.3.4:
Fixed enES translation, thanks PatoDaia
As always, if a translation displays wrong for your local or you want one added/edited, please
submit a lua file.

- 1.3.3:
Added enES, thanks PatoDaia
As always, if a translation displays wrong for your local or you want one added/edited, please
submit a lua file.

- 1.3.2:
Added ruRU, thanks kolod
This translation was c&p from a website, it may not display correct for you if you are on ruRU local.
If this happens, please supply a lua file that I can download to add it again.

- 1.3.1
Added koKR, thanks chkid

- 1.3.0
Updated TOC

- 1.2.0:
Broker_EquipSwitch:
Added zhTW, thanks a9012456
Switched to AceLocal-3.0 for localization, to make it easier for the translators to send me new translations.

Broker_EquipSwitchUI:
Simplyfied the code and removed a redundant callback

- 1.1.0:
If equiping a set fails, the icon will not update.
This happenes when you are on taxi or are casting a spell and try
to switch to a different set.

- 1.0.0:
Release, removed some debug output

- 0.12.0:
TOC Update
Changed VARIABLES_LOADED to ADDON_LOADED
Changed PLAYER_ENTERING_WORLD to PLAYER_LOGIN

- 0.11.1:
Fixed table recycling and some tweaks.

- 0.11.0:
Added Broker_EquipSwitchUI to the package, this provides a minimap icon.
If you don't want a minimap icon, don't load this as an addon.

- 0.10.0:
Feature complete for 3.1.0, waiting for GetEquipmentSetInfoByName API fix

- 0.9.9658-3:
Small update for workaround introduced in 0.9.9658-2
New default icon
Removed redundant queue for switching equipment while in combat,
therefore allowing switching of mainhand, offhand and
ranged weapons. This is handlede by Blizzard within
EquipmentManager_AddPendingEquip(itemId, inventorySlot, location).

- 0.9.9658-2:
Added workaround for Blizzard API bug.

- 0.9.9658:
Some code clean up and tweaks.
Improved table handling and reusing.
Improved the way the items in the menu are created.

- 0.9.9637:
Updated Version
Added german local

- 0.9.9626:
Initial upload
Archived Files (1)
File Name
Version
Size
Author
Date
4.1.2
28kB
lloydbates
04-29-11 09:24 AM


Post A Reply Comment Options
Unread 04-28-11, 09:53 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
I uploaded 4.1.1 which fixes the reported error.

Known bug: the first time you open the character window with right click on the broker, the manager will be empty.
I'll have to look into it to find a function that updates the view...
__________________
Gentlemen, you can't fight in here! This is the War Room!
Last edited by lloydbates : 04-28-11 at 02:52 PM.
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 02:27 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Thanks for the info, I will fix it as soon as I get home.

** Edit **
I think the right way to call it is
Code:
PaperDollFrame_SetSidebar(PaperDollSidebarTab3, PaperDollSidebarTab3:GetID())
Unfortunately this won't work at the first startup. Only after manually switching the tabs away from the equipment manager view and back to it, the sets will be shown.
__________________
Gentlemen, you can't fight in here! This is the War Room!
Last edited by lloydbates : 04-28-11 at 09:35 AM.
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 04-28-11, 12:08 AM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Right clicking the data broker button throws an error since the old Equipment Manager window was rolled into the character screen:
Code:
1x Broker_EquipSwitch-4.1.0\Core.lua:163: attempt to index global 'GearManagerDialog' (a nil value)
LibDBIcon-1.0-18 (BugSack):122: in function <...\AddOns\BugSack\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:122>

Locals:
self = LibDBIcon10_Broker_EquipSwitch {
 0 = <userdata>
 icon = <unnamed> {}
 dataObject = <table> {}
 db = <table> {}
}
b = "RightButton"
Here's the new call to open the equipment sets tab after the character screen is opened:
lua Code:
  1. PaperDollFrame_SetSidebar( PaperDollFrame, 3 );
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 03-08-10, 04:11 AM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1081
Uploads: 7
Okay, great thanks!
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Unread 02-28-10, 03:54 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Originally posted by Kupotek
Wait, so if I don't want the the icon on the minimap I can just delete the folder Broker_EquipSwitchUI?
Well yes, that is one way of getting rid of the minimapicon. I've mentioned it in the addon description:
If you don't want a minimap button, don't load Broker: EquipSwitchUI or delete the folder manually.
__________________
Gentlemen, you can't fight in here! This is the War Room!
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 02-27-10, 03:53 PM  
Kupotek
A Deviate Faerie Dragon
 
Kupotek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 1081
Uploads: 7
"In you character selection screen, press the "Addons" button at the bottom.
Untick the Addon "Broker_EquipSwitchUI" to not load it (for a specific character of for all) and you're done."

Wait, so if I don't want the the icon on the minimap I can just delete the folder Broker_EquipSwitchUI?
__________________
KittyUI | My Home on the Web
Kupotek is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 07:03 PM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Originally posted by 8489
Been getting this error constanly ...
Try 1.4.1 and see if that fixes this error.
If a character did not have a previously saved set, this could happen.
__________________
Gentlemen, you can't fight in here! This is the War Room!
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 01-02-10, 06:07 AM  
8489
A Defias Bandit
 
8489's Avatar

Forum posts: 2
File comments: 35
Uploads: 0
Been getting this error constanly but only on my paladin for some reason this ones a realy odd on. I've deleted all the SV's for all my chars for the addon still with no luck..

Error '1

[2010/01/02 12:02:37-2220-x1]: Broker_EquipSwitch-1.4.0\Core.lua:81: attempt to index upvalue 'bes' (a nil value)
Broker_EquipSwitch-1.4.0\EventHandler.lua:22: in function <Interface\AddOns\Broker_EquipSwitch\EventHandler.lua:9>

---

Error '2

[2010/01/02 12:05:09-2220-x1]: LibDBIcon-1.0-11 (Decursive):215: attempt to index local 'object' (a nil value)
Broker_EquipSwitchUI-1.4.0\Core.lua:25: in function `?'
Broker_EquipSwitchUI-1.4.0\EventHandler.lua:17: in function <...terface\AddOns\Broker_EquipSwitchUI\EventHandler.lua:16>

---
8489 is offline Report comment to moderator  
Reply With Quote
Unread 12-11-09, 12:28 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Originally posted by asdf
The minimap icon is driving me crazy. I use WUU to automatically update my addons, so manually deleting the "UI" folder every time I update is not an acceptable option.

Is there any way we could get a simple option to turn off/on the icon?

I don't have a single other LDB addon that shows a minimap icon (that I can't turn off).
In you character selection screen, press the "Addons" button at the bottom.
Untick the Addon "Broker_EquipSwitchUI" to not load it (for a specific character of for all) and you're done.

As long as WUU does not automatically turns on every addon it updates, this should work just fine.
__________________
Gentlemen, you can't fight in here! This is the War Room!
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 12-09-09, 02:09 PM  
asdf
A Murloc Raider

Forum posts: 9
File comments: 57
Uploads: 0
The minimap icon is driving me crazy. I use WUU to automatically update my addons, so manually deleting the "UI" folder every time I update is not an acceptable option.

Is there any way we could get a simple option to turn off/on the icon?

I don't have a single other LDB addon that shows a minimap icon (that I can't turn off).
Last edited by asdf : 12-09-09 at 02:10 PM.
asdf is offline Report comment to moderator  
Reply With Quote
Unread 12-09-09, 01:43 PM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Re: Feature request

Originally posted by Saiket
It would be nice if right-clicks on the LDB button opened the set manager window to the currently worn set. Definitely not a major thing, but I try to right click the minimap button a lot out of habit from using ItemRack.
Hm, good idea. I'll have a look at it later.
__________________
Gentlemen, you can't fight in here! This is the War Room!
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 12-09-09, 12:06 PM  
Saiket
A Chromatic Dragonspawn
 
Saiket's Avatar
AddOn Author - Click to view AddOns

Forum posts: 152
File comments: 329
Uploads: 21
Feature request

It would be nice if right-clicks on the LDB button opened the set manager window to the currently worn set. Definitely not a major thing, but I try to right click the minimap button a lot out of habit from using ItemRack.
Saiket is offline Report comment to moderator  
Reply With Quote
Unread 10-25-09, 04:36 AM  
8489
A Defias Bandit
 
8489's Avatar

Forum posts: 2
File comments: 35
Uploads: 0
Quque?

Any chance of a queue system so if the set cant equip the items it will get queue'd so that it will when you come out of combat or so forth? (ItemRack Feature)
8489 is offline Report comment to moderator  
Reply With Quote
Unread 08-28-09, 08:21 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 41
Uploads: 3
Originally posted by Danno
I realize this may be beyond the scope of what you want to do with this, but there's a nasty little bug where titan's grip fury warriors can't equip things like, say, an argent lance using the blizzard equipment mananger (and hence, this addon or closetgnome), because the game tries to put the lance (or other 2 handed non-sword/mace/axe in our mainhand before un-equipping the offhand sword/mace/axe), causing it to fail with an "I can't put that there"

Anyway, a check for a guy holding 2 2-handers, then unequipping the offhand prior to putting something in the mainhand would be nice, but once again, I realize that may be beyond the scope for this project.

edit: to clarify, the bug is on the blizzard side of the house, not in this addon.
A valid request. But as you correctly assumed it's beyond what I want this addon to be: A frontend to the Blizzard Equipment Manager for LDB displays (or its own as a button at the minimap).
As anoying as it can be, this is a bug that should be fixed in the implementation from Blizzard.
I'm sorry but I have to decline this requst.
__________________
Gentlemen, you can't fight in here! This is the War Room!
lloydbates is offline Report comment to moderator  
Reply With Quote
Unread 08-27-09, 07:38 PM  
Danno
A Murloc Raider
 
Danno's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 28
Uploads: 2
I realize this may be beyond the scope of what you want to do with this, but there's a nasty little bug where titan's grip fury warriors can't equip things like, say, an argent lance using the blizzard equipment mananger (and hence, this addon or closetgnome), because the game tries to put the lance (or other 2 handed non-sword/mace/axe in our mainhand before un-equipping the offhand sword/mace/axe), causing it to fail with an "I can't put that there"

Anyway, a check for a guy holding 2 2-handers, then unequipping the offhand prior to putting something in the mainhand would be nice, but once again, I realize that may be beyond the scope for this project.

edit: to clarify, the bug is on the blizzard side of the house, not in this addon.
Last edited by Danno : 08-27-09 at 07:39 PM.
Danno is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: