Download
(4 Kb)
Download
Updated: 05/30/19 08:47 AM
Pictures
File Info
Compatibility:
Elsweyr (5.0.5)
Wrathstone (4.3)
Updated:05/30/19 08:47 AM
Created:03/05/19 11:22 AM
Monthly downloads:27
Total downloads:3,277
Favorites:6
MD5:
Custom Quality Colors
Version: 1.12
by: DonRomano [More]
Custom Quality Colors is a tool for changing colors used to display the quality of items.
To change the colors go to Settings->Addons->Custom Quality Colors.
New colors will be used on all the list and tooltips throughout the UI.

This addon depends on LibStub and LibAddonMenu-2.0 - please, make sure you have them installed.

The addon was requested (well, sort of) by Shadowshire - thank you!
Tooltips hookup methods are based on functions used in Enchanted Quality addon written by Rhyono & votan.
v. 1.12
- Fixed an issue causing conflict with Tamriel Trade Center tooltips

v. 1.11
- API Bump for "Elsweyr

v.1.10
- custom quality color scheme is now used an all tooltips (great thanks to Kyoma for showing me the right example)
- tooltips hookup methods are based on functions used in Enchanted Quality addon written by Rhyono, votan

v. 1.0
- Initial release (thanks to Shadowshire for the idea)
Optional Files (0)


Post A Reply Comment Options
Unread 03/05/19, 11:48 AM  
Kyoma
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 328
Uploads: 10
Nice idea, very helpful for people that have forms of color blindness. Or those that just don't like the default colors.

As for tooltips, they are mostly populated by the client directly, not through lua so hooking it directly probably isn't possible. One possible idea would be to hook the tooltip and slightly alter the language string used to format the name. Check out https://www.esoui.com/downloads/info...edQuality.html for an example of what I mean.
Report comment to moderator  
Reply With Quote
Unread 03/05/19, 12:10 PM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
Yeah, I wonder why Zenimax guys haven't thought about people who need to change the color scheme. I mean, the quality information is very important and if you cannot see it, it's very annoying.
Thank you for the info about the possibility of changing the name of the item on the tooltip - I'll look at this addon and maybe I'll manage to use the same method to change the colors.

Originally Posted by Kyoma
Nice idea, very helpful for people that have forms of color blindness. Or those that just don't like the default colors.

As for tooltips, they are mostly populated by the client directly, not through lua so hooking it directly probably isn't possible. One possible idea would be to hook the tooltip and slightly alter the language string used to format the name. Check out https://www.esoui.com/downloads/info...edQuality.html for an example of what I mean.
Report comment to moderator  
Reply With Quote
Unread 03/06/19, 07:51 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
It worked! Thank you so much for pointing me in the right direction

Originally Posted by Kyoma
Nice idea, very helpful for people that have forms of color blindness. Or those that just don't like the default colors.

As for tooltips, they are mostly populated by the client directly, not through lua so hooking it directly probably isn't possible. One possible idea would be to hook the tooltip and slightly alter the language string used to format the name. Check out https://www.esoui.com/downloads/info...edQuality.html for an example of what I mean.
Report comment to moderator  
Reply With Quote
Unread 03/06/19, 08:27 PM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Thumbs up Thank you very much!!

Thank you very much for your time and effort to make it easier for those of us who cannot reliably distinguish one particular color (such as green, in my case) from other colors (such as red, orange, and yellow)!

Currently, I am still experimenting with the color for Fine quality, which is by default indistinguishable from Legendary (to me). But I am confident that I will find a satisfactory substitute.
Report comment to moderator  
Reply With Quote
Unread 03/07/19, 12:41 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
Re: Thank you very much!!

I'm happy I could help

Originally Posted by Shadowshire
Thank you very much for your time and effort to make it easier for those of us who cannot reliably distinguish one particular color (such as green, in my case) from other colors (such as red, orange, and yellow)!

Currently, I am still experimenting with the color for Fine quality, which is by default indistinguishable from Legendary (to me). But I am confident that I will find a satisfactory substitute.
Report comment to moderator  
Reply With Quote
Unread 04/15/19, 12:08 PM  
Ovenkoek

Forum posts: 0
File comments: 1
Uploads: 0
Conflict with TTC

Hey,

I installed the Tamriel Trade Centre addon but its tooltips weren't showing. After disabling/enabling all addons to track down the conflict I was left with this addon.

Could you take a look to see what could be causing the conflict?

Thank you,

Kind regards,
Sven
Report comment to moderator  
Reply With Quote
Unread 04/21/19, 01:01 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
Re: Conflict with TTC

Hello Sven,

Thank you for the information. Unfortunately, I am very busy at the moment so I won't be able to look into it right now. But I'll definitely check what's wrong as soon as possible.

Thanks

Don Romano

Originally Posted by Ovenkoek
Hey,

I installed the Tamriel Trade Centre addon but its tooltips weren't showing. After disabling/enabling all addons to track down the conflict I was left with this addon.

Could you take a look to see what could be causing the conflict?

Thank you,

Kind regards,
Sven
Report comment to moderator  
Reply With Quote
Unread 05/03/19, 02:09 PM  
Marazota
AddOn Author - Click to view AddOns

Forum posts: 257
File comments: 1519
Uploads: 2
so usefull addon but non compatible with any other addons with tooltips
sad
must disable it for now
Report comment to moderator  
Reply With Quote
Unread 05/03/19, 02:51 PM  
Kyoma
AddOn Author - Click to view AddOns

Forum posts: 125
File comments: 328
Uploads: 10
Originally Posted by Marazota
so usefull addon but non compatible with any other addons with tooltips
sad
must disable it for now
Can you give more examples of which addons in particular don't work? I've tried it with MM and everything is as it should be, cannot test TTC but I see no reason why one would work and the other wouldn't in terms of their tooltip additions.

Edit: Same for IIfA, no issues using both together
Last edited by Kyoma : 05/03/19 at 02:58 PM.
Report comment to moderator  
Reply With Quote
Unread 05/24/19, 08:38 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
TTC tooltips with Custom Quality Colors

Hi,

I'm back and I tried to see if there is any problem with TTC tooltips while using Custom Quality Colors. As you can see on the attached screenshot the TTC tooltip is displayed correctly and I have Custom Quality Colors turned on (the color of Chromium is not standard gold).

TTC tooltips with CustomQualityColors - screenshot

So as far as I can see the tooltips are displayed correctly. Do you still have problems with tooltips and Custom Quality Colors? Can you give me an example (a screenshot would be helpful)? Are you sure it's Custom Quality Colors that's causing the problem?
Last edited by DonRomano : 05/24/19 at 08:39 AM.
Report comment to moderator  
Reply With Quote
Unread 05/25/19, 02:46 AM  
Shadowshire

Forum posts: 1
File comments: 402
Uploads: 0
Exclamation Re: compatibility with other add-ons

Originally Posted by Marazota
so usefull addon but non compatible with any other addons with tooltips
sad
must disable it for now
Frankly, you must have found a compatibility problem with one or more specific add-ons which the game client loads when you log-in to play a character.
  • You should disable all add-ons which modify item tooltips, reload the UI, and check whether the error(s) that you found before exist in the unmodified gameware UI. Then re-enable Custom Quality Colors, reload the UI again, and check for problems.
  • Then, one by one: (1) re-enable one of the other add-ons and check whether a compatibility issue occurs after you enable it; if it does then you have found a party to the conflict. (2) Disable the add-on which you re-enabled, then repeat the previous step, until all add-ons have been checked in relation to Custom Quality Colors.
I have been using Custom Quality Colors with numerous add-ons which modify tooltips. So far, I have not found any compatibility problem(s) that are caused by Custom Quality Colors. The add-on Master Recipe List sometimes has compatibility problems with other add-ons which modify furnishing "recipe" tooltips, for example, but it is difficult to determine which add-on is "at fault" when I find a conflict between it and another add-on(s).
Report comment to moderator  
Reply With Quote
Unread 05/28/19, 01:32 AM  
Farloc

Forum posts: 0
File comments: 5
Uploads: 0
Good evening!

I am running into a conflict between Custom Quality Colors and TTC. I am unsure where it could possible be coming from. With a binary search turning off addons it was narrowed to Custom Quality Colors.

I commented out ```CustomQualityColors.HookTooltips()``` in OnAddOnLoaded and it looks to be working without issues.

Working TCC with Custom Colors disabled - https://pasteboard.co/IgKTJnh.jpg
Blank Tooltip section with Custom Colors enabled - https://pasteboard.co/IgKUicK.jpg
Last edited by Farloc : 05/28/19 at 01:33 AM.
Report comment to moderator  
Reply With Quote
Unread 05/28/19, 01:48 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
Hello Farloc,

Thank you for the info and for narrowing it down to one function! I'll try to take a closer look and see what's going on.
One more question: when the TTC tooltips are broken - are they missing on all of the items or is it that just only some of them lack the TTC tooltip?
Report comment to moderator  
Reply With Quote
Unread 05/28/19, 08:45 PM  
Farloc

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by DonRomano
Hello Farloc,

Thank you for the info and for narrowing it down to one function! I'll try to take a closer look and see what's going on.
One more question: when the TTC tooltips are broken - are they missing on all of the items or is it that just only some of them lack the TTC tooltip?
From what I can tell all of them. What is odd, I assumed it was TTC broken but noticed looking at an item in a quest reward screen it showed the TTC tooltip but lost the tooltip once it got into the inventory. Unsure if there is something specific to the inventory. I can do some additional experimentation and see which specific hook is failing and see if that helps. -- Does Custom Quality Colors affect items before it gets to the inventory?

It should be noted that this was working fine before Elsweyr dropped but there has been a huge migration of addons to separate themselves from their libraries. Unsure if Lua has defined scoping.


By the way... Thanks so much for making this. I am color blind and being able to change the colors helps immensely!!
Last edited by Farloc : 05/28/19 at 09:20 PM.
Report comment to moderator  
Reply With Quote
Unread 05/29/19, 12:15 AM  
DonRomano
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
Originally Posted by Farloc
From what I can tell all of them. What is odd, I assumed it was TTC broken but noticed looking at an item in a quest reward screen it showed the TTC tooltip but lost the tooltip once it got into the inventory. Unsure if there is something specific to the inventory. I can do some additional experimentation and see which specific hook is failing and see if that helps. -- Does Custom Quality Colors affect items before it gets to the inventory?

It should be noted that this was working fine before Elsweyr dropped but there has been a huge migration of addons to separate themselves from their libraries. Unsure if Lua has defined scoping.


By the way... Thanks so much for making this. I am color blind and being able to change the colors helps immensely!!
The quest reward and inventory may use different tooltip screens so it's quite possible that one of them is working just fine and the other runs into problems. CQC works by hijacking the tooltip display functions (there are a few of them) and simply changes the color of the item string a moment before it is displayed.

I looked briefly at the code and it turns out that both TTC and CQC hijack the same function responsible for displaying item tooltip. TTC uses it to insert its information and CQC just changes the color of the item string. Both addons call the base function so it should work no matter which addon hooks to the function as the first one.

It looks like TTC hookup is working because as you've noticed there is an empty section divider and the first thing TTC does is inserting it into tooltip. But then for some reason TTC hookup function doesn't find "PriceInfo". In TTC there's a long function called "GetPriceInfo" with a lot of ifs and I suspect one of the conditions is not met and the function returns nil.

I will try to reproduce the problem and debug it.

In the meantime could you do a little debugging? I can see that TTC has some debug messages that need to be turned on. To do it you have to change "TamrielTradeCentre.IsDebug = false" to true in "TamrielTradeCentreInit.lua". It's right at the beginning of the file. Could you do it and see if there are any debug messages that will help us find the source of the problem?
Last edited by DonRomano : 05/29/19 at 12:24 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: