Download
(29Kb)
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:12,682
Favorites:133
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
Post A Reply Comment Options
Unread 03-12-09, 02:03 AM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 3
Since we had our argument on here, the table handling and menu creating changed.

For this specific case, the menu should realy only be recreated when needed, that is when EQUIPMENT_SETS_CHANGED was fired and a menu is requested again.
After that, till EQUIPMENT_SETS_CHANGED fires again, the same table will be used.
If EQUIPMENT_SETS_CHANGED fired, the old menu table is cleared and put into a table pool for later reuse when needed.

Therefore saving some memory space, and since the usecase of adding/editing/deleting equipment sets does not happen very often once one hast all sets set up, it should be fine.
(These functions, newTable/delTable, are copied from Omen3 with authorization of Xinhuan.)
__________________
Gentlemen, you can't fight in here! This is the War Room!
Last edited by lloydbates : 03-12-09 at 02:04 AM.
Report comment to moderator  
Reply With Quote
Unread 03-11-09, 01:14 PM  
Mera
Retired of WoW, In ESO :)
 
Mera's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 121
Uploads: 7
p3lim means it send a whole table to garbage so even small it participate to longuer the garbage collect, I had already made that error in a mod that uses loops that was really noticable.
__________________
If you need to reach me I'm in ESO, @class101 or "Fathis Ules i"
addons: SpamBayes, BrokerCPU
projects: ThunderBayes
Mera[xeh]? - La CroisadeEcarlate (wow)
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 02:35 PM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 3
Originally posted by p3lim
Creating a new table and populating it even tho its not used every time you change or create a gear set isnt neither..
Its only created and populated once if its requested (by OnClick) and than the same table is used until equipmentsets are added/edited.
If these change the table is recycled.
__________________
Gentlemen, you can't fight in here! This is the War Room!
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 02:14 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by lloydbates
Depends on what you call memory and cpu friendly.
Creating a new table and populating it every time OnClick is requested isn't what I would call memory and cpu friendly, but this is all about choice.

Peace
Creating a new table and populating it even tho its not used every time you change or create a gear set isnt neither..
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 02:06 PM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 3
Originally posted by p3lim
Im 100% sure, most of the equip-specific is and should be done by blizzard.

Though both plug-ins do exactly the same, just that the one I have is a bit more memory and cpu friendly
Depends on what you call memory and cpu friendly.
Creating a new table and populating it every time OnClick is requested isn't what I would call memory and cpu friendly, but this is all about choice.

Peace
__________________
Gentlemen, you can't fight in here! This is the War Room!
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 01:35 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Originally posted by lloydbates
I haven't seen this, sorry.
I had this around and just pushed it to wowinterface because it was the only way I could host it for my guild.

In the end, it's all about choice, isn't it?

Are you sure about 'EquipmentManager_EquipSet' handling in combat queueing?
Haven't seen it in the function itself.
Im 100% sure, most of the equip-specific is and should be done by blizzard.

Though both plug-ins do exactly the same, just that the one I have is a bit more memory and cpu friendly
Last edited by p3lim : 03-04-09 at 01:35 PM.
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 01:22 PM  
lloydbates
A Kobold Labourer
 
lloydbates's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 48
Uploads: 3
I haven't seen this, sorry.
I had this around and just pushed it to wowinterface because it was the only way I could host it for my guild.

In the end, it's all about choice, isn't it?

Are you sure about 'EquipmentManager_EquipSet' handling in combat queueing?
Haven't seen it in the function itself.
__________________
Gentlemen, you can't fight in here! This is the War Room!
Report comment to moderator  
Reply With Quote
Unread 03-04-09, 11:41 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Uhm ive already made a LDB plugin for this

Edit: and FYI, blizzard handles combat queuing themselves
Last edited by p3lim : 03-04-09 at 12:10 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: