This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?
1. In a 5-man party, have a few boss (and other) drops rolled on.
2. Mouse over the Broker_WhoRoll LDB feed to get the regular tooltip seeing who won rolls on what items.
What is the expected output? What do you see instead?
Expected: it to behave as it did in WoW 4.1. The names of the items to be properly colored and other information to be clear.
Instead: every item name is prefaced with color codes, making the names quite difficult to see; almost impossible to see at a quick glance.
What version of the product are you using?
v1.2.0
Do you have an error log of what happened?
No errors.
Please provide any additional information below.
The problem is a result of a WoW 4.2 change that has affected a large number of mods that show item names in their quality color. As per the above link: The hex string included the leading "|c" until 4.2 when it was removed. If you use the global ITEM_QUALITY_COLORS array instead of this API, the ".hex" field will include the leading escape sequence.
To fix the issue:
In the broker.lua file from Broker_WhoRoll v1.2.0, head to line 50. Replace the existing
itemString = ("%s%s|r"):format(hex, itemName or UNKNOWN)
with
itemString = ("|c%s%s|r"):format(hex, itemName or UNKNOWN)
The only thing I did was to add "|c" before the first "%". That fixes the ticket problem completely.
To post a comment, please login or register a new account.