Download
(7 Kb)
Download
Updated: 05-16-13 06:35 PM
Pictures
File Info
Compatibility:
Thunder Isle (5.2)
Updated:05-16-13 06:35 PM
Created:02-27-09 04:53 PM
Downloads:21,284
Favorites:355
MD5:
Categories:Data Broker, Bags, Bank, Inventory, Character Advancement, Combat Mods, Data Mods, Miscellaneous
Broker Equipment  Popular! (More than 5000 hits)
Version: 50200.21-Release
by: p3lim [More]
Description:
Broker Equipment is a plug-in for DataBroker, and will require a display in order to work.
It displays and lets you use the Equipment Manager much easier.


Features:
- Shows current equipped set by name and icon
- Quickly change sets by using the dropdown
- Right-click to open Equipment Manager
- Update set with current equipment by holding <Shift> and clicking
- Delete set by holding <Ctrl> and clicking
- Equipping a set while in combat will queue it until you leave combat
- Sets colored red lets you know an item is missing
- Detailed tooltip


Issues & Requests
To submit a bug report of feature request, please visit the Issue Tracker on my GitHub page.
Changes in 50200.21-Release
  • Properly update the name in case there is no match
  • Update Interface version
Changes in 40300.20-Release
  • Cleanup and use the updated API
Changes in 40300.19-Release
  • Remove help lines
  • Update license
Changes in 40300.18-Release
  • Let the packager(s) set the version number automaticly
  • Update localization
  • Update game version
Changes in 40200.17-Release
  • Not so temporary as I though, it's the only thing that works
  • Bump TOC version
  • Update version
Changes in 40100.16-Release
  • Merged pull request #7 from Allez/master.
  • Add a temporary fix for the GearManager list
  • Update version
  • ruRU
  • ruRU
  • ruRU
Changes in 40100.15-Beta
  • Remove the sometimes buggy hack, and instead just show the GearManager
  • Add some proper default values to LDB
  • Update for 4.1's ugly change to the PaperDollFrame
  • Bump version and interface version
Changes in 40000.14-Release
  • Show the icon on the right through the default texture frame
  • Make the buttons checkable
  • Color the comment lines, and move some of them so they are not misleading
  • Hide tooltip on click
  • Update version
Changes in 40000.13-Release
  • Replace gitmodules with hard copies
  • Update version
Changes in 40000.12-Release
  • Reworked localization for easier handling through CurseForge
  • Updated version
Changes in 40000.11-Release
  • Fix issues with event arguments
  • Update to 4.0
  • Replace hard-copy libs with external modules
  • Add missing newline
  • Fix gitmodules paths
  • Point to the right directory
  • Add external modules
  • Update TOC file
  • Fix the TOC file
  • Add defaults for fresh configs
  • So I'm a perfectionist, sue me!
  • Remove debug fluff
  • Update version
Changes in 30300.10-Release
  • Re-do localization credits
  • Add Spanish localization
  • Add Latin American Spanish localization
  • Typo
  • Add Russian localization
  • Update deDE localization
  • Some cleaning and minor alterations
  • The info are for "newbs", treat it like that
  • Fix odd issues with the updating
  • Let the addon find out what gear is equipped at load
  • Make sure the toggle works as intended
  • Add simple AddonLoader support
  • Make sure AddonLoader works nicely
  • Update version
Changes in 30300.9-Release
  • Dont rely on InCombatLockdown()
  • Update version
Changes in 30300.8-Beta
  • Fix combat support
  • Minor variable change
  • Update version
Changes in 30300.7-Beta
  • Change the table layout for all localizations
  • Update version
Changes in 30300.6-Beta
  • Move localization to own file
  • Use 3.3's name string
  • Update TOC version
  • Update version
Changes in 30200.5-Beta
  • Update version
Changes in 30200.4-Beta
  • Allow location matching instead of itemid
  • Some cleanup is good
  • Clean up localization system too
  • Replace easymenu with a real system
  • Don't set LDB objects twice
  • More cleanup, will it ever end?
  • Should be avoiding possible conflicts aswell
  • Revert back to blizzard's popup dialog for set updating
  • Update broker info if sets are updated/created/deleted
  • Remove comment
  • Make sure broker getting info on login
  • Item is located until proven otherwise
  • Update version
Changes in 30200.3-Beta
  • Set version back to normal, learning by doing :/
  • Fixed item match on ignored slots
  • Update version
Changes in 30200.2-Beta
  • Update TOC version
  • Update version
Archived Files (16)
File Name
Version
Size
Author
Date
40300.20-Releas
7kB
p3lim
04-29-12 01:26 AM
40300.19-Releas
7kB
p3lim
04-28-12 06:59 PM
40300.18-Releas
9kB
p3lim
02-07-12 09:50 AM
40200.17-Releas
8kB
p3lim
07-10-11 10:08 PM
40100.16-Releas
8kB
p3lim
04-29-11 11:21 AM
40100.15-Beta
8kB
p3lim
04-28-11 11:06 AM
40000.14-Releas
8kB
p3lim
01-14-11 01:37 PM
40000.13-Releas
8kB
p3lim
12-27-10 03:03 PM
40000.12-Releas
4kB
p3lim
12-27-10 02:56 PM
40000.11-Releas
4kB
p3lim
10-14-10 05:16 PM
30300.10-Releas
8kB
p3lim
06-26-10 11:10 PM
30300.9-Release
8kB
p3lim
12-30-09 03:45 PM
30300.8-Beta
8kB
p3lim
12-30-09 01:30 PM
30300.7-Beta
8kB
p3lim
12-15-09 03:29 PM
30300.6-Beta
8kB
p3lim
12-15-09 02:45 PM
30200.5-Beta
8kB
p3lim
10-14-09 05:26 PM


Post A Reply Comment Options
Old 05-23-13, 11:19 AM  
GreyWolfSC
A Murloc Raider

Forum posts: 5
File comments: 84
Uploads: 0
This appears to work fine in 5.3 as well when loaded out-of-date if you're interested.
GreyWolfSC is offline Report comment to moderator  
Reply With Quote
Old 05-16-13, 04:21 PM  
GreyWolfSC
A Murloc Raider

Forum posts: 5
File comments: 84
Uploads: 0
Originally Posted by p3lim
Aside from this, does the addon work like expected?
If yes, I'll drycode Phanx's fix and push an update.
I added Phanx's edits and bumped the TOC and it seems to work like it always did.
GreyWolfSC is offline Report comment to moderator  
Reply With Quote
Old 03-15-13, 02:49 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Aside from this, does the addon work like expected?
If yes, I'll drycode Phanx's fix and push an update.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 09-14-12, 05:38 AM  
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3673
File comments: 1860
Uploads: 38
Originally Posted by Aelorean
I was getting an error while playing an alt that had no equipment sets at all.

This alteration seems to have fixed it:
Code:
local function OnTooltipShow(self)
	if (GetNumEquipmentSets() > 0) then
		self:SetEquipmentSet(LDB.text)
	end
end
The problem is actually that LDB.text is nil; calling :SetEquipmentSet with a string that doesn't match any equipment set's name silently fails without triggering an error, but calling it with a nil value does trigger an error. The same problem also causes the Broker's text and icon to be invisible for characters who don't have any equipment sets yet. The solution is to set the text/icon to UNKNOWN outside of the GetNumEquipmentSets() loop in UpdateDisplay(). The following change solves both problems:

Code:
local function UpdateDisplay()
	if(InCombatLockdown() and pending) then
		LDB.text = '|cffffff00' .. pending
		LDB.icon = 'Interface\\Icons\\' .. GetEquipmentSetInfoByName(pending)
	else
		for index = 1, GetNumEquipmentSets() do
			local name, icon, _, equipped = GetEquipmentSetInfo(index)
			if(equipped) then
				LDB.text = name
				LDB.icon = icon
				return
-			else
-				LDB.text = UNKNOWN
-				LDB.icon = [=[Interface\Icons\INV_Misc_QuestionMark]=]
			end
		end
+		LDB.text = UNKNOWN
+		LDB.icon = [=[Interface\Icons\INV_Misc_QuestionMark]=]
	end
end
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Last edited by Phanx : 09-14-12 at 05:38 AM.
Phanx is offline Report comment to moderator  
Reply With Quote
Old 07-31-12, 02:48 AM  
Aelorean
A Deviate Faerie Dragon

Forum posts: 15
File comments: 11
Uploads: 0
[quote=p3lim]
Originally Posted by Aelorean

I will add a check if there is a set or not, not sure when that will be released though, as I am swamped with all the changes on beta right now.
Which addons are super broken on beta that you work on? Just curious.
Aelorean is offline Report comment to moderator  
Reply With Quote
Old 07-29-12, 08:54 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally Posted by Aelorean
Thanks. I didn't think to look under the widgets -- I had in my mind that it was somehow part of the databroker library (or perhaps something that used to be.)

Anyway, it explains the bug I guess. Probably calling that function with an invalid or nil value raises the exception.

Thanks!
I will add a check if there is a set or not, not sure when that will be released though, as I am swamped with all the changes on beta right now.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 07-29-12, 07:41 PM  
Aelorean
A Deviate Faerie Dragon

Forum posts: 15
File comments: 11
Uploads: 0
Thanks. I didn't think to look under the widgets -- I had in my mind that it was somehow part of the databroker library (or perhaps something that used to be.)

Anyway, it explains the bug I guess. Probably calling that function with an invalid or nil value raises the exception.

Thanks!
Aelorean is offline Report comment to moderator  
Reply With Quote
Old 07-29-12, 05:45 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally Posted by Aelorean
I was getting an error while playing an alt that had no equipment sets at all.

This alteration seems to have fixed it:
Code:
local function OnTooltipShow(self)
	if (GetNumEquipmentSets() > 0) then
		self:SetEquipmentSet(LDB.text)
	end
end
Is GetNumEquipmentSets() an expensive call that would make this inefficient?



Actually, while I'm asking questions, where exactly is self:SetEquipmentSet defined? I did a search for "SetEquipmentSet" in my entire addons directory and searched the addon API and didn't see it anywhere.
http://wowprogramming.com/docs/widge...etEquipmentSet
p3lim is offline Report comment to moderator  
Reply With Quote
Old 07-29-12, 03:45 AM  
Aelorean
A Deviate Faerie Dragon

Forum posts: 15
File comments: 11
Uploads: 0
I was getting an error while playing an alt that had no equipment sets at all.

This alteration seems to have fixed it:
Code:
local function OnTooltipShow(self)
	if (GetNumEquipmentSets() > 0) then
		self:SetEquipmentSet(LDB.text)
	end
end
Is GetNumEquipmentSets() an expensive call that would make this inefficient?



Actually, while I'm asking questions, where exactly is self:SetEquipmentSet defined? I did a search for "SetEquipmentSet" in my entire addons directory and searched the addon API and didn't see it anywhere.
Last edited by Aelorean : 07-29-12 at 03:52 AM.
Aelorean is offline Report comment to moderator  
Reply With Quote
Old 10-03-11, 08:16 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Do you get the same when running BE alone with a launcher?
BE doesn't touch glyphs at all, so there seems to be a taint coming from a different addon.

Originally posted by tinyu
i get this when trying to apply a glyph

Code:
Date: 2011-09-05 19:27:35
ID: 1
Error occured in: AddOn: Broker_Equipment
Count: 1
Message: Error: AddOn Broker_Equipment attempted to call a forbidden function (CastGlyph()) from a tainted execution path.
Debug:
   [C]: CastGlyph()
   ...terface\AddOns\Blizzard_GlyphUI\Blizzard_GlyphUI.lua:583: GlyphFrameSpell_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
p3lim is offline Report comment to moderator  
Reply With Quote
Old 09-05-11, 03:58 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 816
File comments: 335
Uploads: 16
i get this when trying to apply a glyph

Code:
Date: 2011-09-05 19:27:35
ID: 1
Error occured in: AddOn: Broker_Equipment
Count: 1
Message: Error: AddOn Broker_Equipment attempted to call a forbidden function (CastGlyph()) from a tainted execution path.
Debug:
   [C]: CastGlyph()
   ...terface\AddOns\Blizzard_GlyphUI\Blizzard_GlyphUI.lua:583: GlyphFrameSpell_OnClick()
   [string "*:OnClick"]:1:
      [string "*:OnClick"]:1
__________________


"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
tinyu is offline Report comment to moderator  
Reply With Quote
Old 05-03-11, 08:18 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 264
Uploads: 5
Well, seems like the solution was not complete. Though broker element is still in place after reloads it doesn't react on set change and keeps showing the last one.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Old 05-01-11, 01:40 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 264
Uploads: 5
Sooooooo. Changing fire event from PLAYER_LOGIN to PLAYER_ENTERING_WORLD seems to fix the issue. Sorry for so many messages.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Old 05-01-11, 01:29 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 264
Uploads: 5
Also, when PLAYER_ENTERING_WORLD with unknown set fires, bug isn't here, only if you enter it with real set.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Old 05-01-11, 01:26 AM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 264
Uploads: 5
Tested with Broker_EquipSwitch —*no such result. Only yours BE seems to work so odd. Also, I was uncertain about when bugs appears — it mostly happens ON PLAYER_ENTERING_WORLD (also noticed it on equipping some items that doesn't complete an equipment set) and can be cured only by ReloadUI.
__________________
Proud author of IntricateChatMods, Wanderlust and SimplerMount.
ichik is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.