YssEquipmentBroker
I am gone till august so i will not be able to update any of my addons till then. If something breakes and you think you can patch it feel free the repo should be open to anyone
YssEquipmentBroker is LDB feed that shows you which (if any) Blizzard Equipment Sets you are currently wearing. if clicked it will show you your list of Equipment Sets which you then may click to equip. If the set name is in red some or all items are not in your inventory or bags.
But it does not end here if you equip a set via the dropdown and you are in combat or are dead it will try to equip as many items as possible and then wait till you are out of combat/alive to equip the rest.
As i wanted to keep the addon as small as possible only LDB the dropdown is generated via the UIDropDownMenu methods provided by Blizzard (thanks Xinhuan for your great guide on how to use them)
Excellent Addon! Thank you so much! This saves me a Ton of space on my bars now that I dont have to have a macro on my bar for every equipment set.
I changed:
local BrokerTextDefault = RED_FONT_COLOR_CODE..UNKNOWN..FONT_COLOR_CODE_CLOSE
to:
local BrokerTextDefault = RED_FONT_COLOR_CODE..None..FONT_COLOR_CODE_CLOSE
So that when I have not created an equipment set on a character, it frees up a tiny bit more space on my broker bar. I have so much stuff on my broker bar that I try to save space when I can.
Thanks :) for the feedback
the reason for the UNKOWN in there is because its a global WoW string as such it gets properly translated into other languages :)
i put in a fix for mine should work with yours and all other addons now.
Friikki Thanks for finding this and thanks yssaril for bringing it to my attention
LDB is basically the successor to Fubar but instead of having one display there are several to chose from
i just looked at its code and he indeed replaces the GetNumEquipmentSets function as such it returns the wrong values for other addon not much i can do about that (i did leave him a comment though)
I think ill have to update blizzards frames manually with mine :D
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:90: Usage: GetEquipmentSetLocations("setName" [, returnTable])
Count: 20
Get that when I change weapon in combat, after that the broker button becomes unresponsive.
Count: 1
I get this, logged in with my dps gear but with my tank weapon equipped. I'll do more testing when the servers come bakc up.
could you give me a full stack trace of the error (the entire error report from the in game error window should be multiple lines long (bugsack will also work))
can you run the following slash command and report here exactly what it outputs? (just copy paste the following into your chat editbox and hit enter) also report any errors that occur during this:
/script for i=1, GetNumEquipmentSets() do print(i, GetEquipmentSetInfo(i)) end
[22:41:30]2 DPS Interface\Icons\INV_Trinket_Naxxramas04 1
[22:41:30]3 Healer Interface\Icons\INV_JEWELRY_RING_73 2
[22:41:30]4 PvP Interface\Icons\INV_Jewelry_Necklace_38 3
[22:41:30]5 nil
[22:41:30]6 nil
[22:41:30]7 nil
[22:41:30]8 nil
[22:41:30]9 nil
[22:41:30]10 nil
Gave no errors.
The full error report(when I login) is:
----------------------
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:101: Usage: GetEquipmentSetLocations("setName" [, returnTable])
Count: 1
Call Stack:
[C]: ?
[C]: in function `GetEquipmentSetLocations'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:101: in function `SetEquipped'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:90: in function `GetSet'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:72: in function `UpdateBroker'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:56: in function <...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:21>
(tail call): ?
------------------
and(when I click the button)
------------------
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:118: Usage: GetEquipmentSetLocations("setName" [, returnTable])
Count: 1
Call Stack:
[C]: ?
[C]: in function `GetEquipmentSetLocations'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:118: in function `SetEquipableColor'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:194: in function `initFunction'
Interface\FrameXML\UIDropDownMenu.lua:69: in function `UIDropDownMenu_Initialize'
Interface\FrameXML\UIDropDownMenu.lua:715: in function `ToggleDropDownMenu'
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:41: in function `OnClick'
Interface\AddOns\Fortress\Core.lua:272: in function <Interface\AddOns\Fortress\Core.lua:257>
------------------
I am currently getting this all the time, no matter what I have equipped. The button names set as "Unknown" with red letters.
GetNumEquipmentSets() should return only return how many equipment sets you have in your case this should be 4 but instead it is returning the max amount 10.
do you have any other addon that deals with the equipment manager?
could you try to run YssEquipmentBroker with you display addon(fortress) only to see if it still messes up with all other addons disabled?
Did a bit more testing, and it seems the problem is with http://wow.curse.com/downloads/wow-addons/details/lushgearswap.aspx and your addon running together. Last update to lush seems to have broken yours, I just didn't realize it.
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:43: attempt to index upvalue 'HoverTip' (a nil value)
Count: 1
Call Stack:
[C]: ?
...ace\AddOns\YssEquipmentBroker\YssEquipmentBroker.lua:43: in function `OnClick'
Interface\AddOns\Fortress\Core.lua:272: in function <Interface\AddOns\Fortress\Core.lua:257>