Download
(6 Kb)
Download
Updated: 12/05/21 08:55 AM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Updated:12/05/21 08:55 AM
Created:05/04/14 05:58 PM
Monthly downloads:339
Total downloads:300,845
Favorites:530
MD5:
Categories:ToolTip, TradeSkill Mods
Harven's Trait and Style  Popular! (More than 5000 hits)
Version: 2.10.2
by: Harven, merlight, votan
This addon adds an additional information to the armor/weapon item's tooltip. The information includes armor/weapon style and knowledge about a trait. Starting with version 1.8 the addon works for all tooltips (including trading house, loot window, banks, vendors, popup tooltips). Thanks to merlight the informations can be seen in different colours (optional). Since version 2.1 you can see if given trait can be researched by your other characters on same account (you must login with those character first se the addon can acquire all necessary data).

A note on color coding
If you enable colorized trait knowledge, orange indicates the item is safe to destroy, while red indicates it's the only item with that trait you have. Thus items with traits you're currently researching will always show "Researching...", while items with unknown traits will show either "Researchable" or "Researchable", depending on the number of similar items you possess. When looking at a researchable item, the addon scans your current equipment, backpack and bank for items of the same type and trait. If it finds 2 or more, the "Researchable" text will be orange, otherwise it will be red.

Known issues:
1. When you're looking at an item in a store, it might show "Researchable" in red even though you have an item with that trait already.
2. There are some items with unknown style (like "Unused 17"). There is no style name for them.

Donations
If you like my work you can make me happy by sending some in-game gold/items to @theharven on EU server (but please, no lockpicks ), eventually you can help me pay my monthly subscription by donating some money.

[Edit 09.31.2015]
Since monthly subscription is no longer required to play the game I decided to transfer all future dontations to charity. There is a polish site where you can chose a person you would like to support (mostly children) https://www.siepomaga.pl/. I will be anonymously transfering your donations there, to a person of my choosing and then I will post a link in The Great Donor Hall so you will know who gets your money I would love to help this people so I hope this doesn't discourages you from donating.

version 2.10.2:
- Do not count item for "Show duplicate item info", if locked. Either built-in or FCO Item Saver, if available.
- Hide companions items in "Show alt info".

version 2.10.1:
- Fixed companion worn tooltip.

version 2.10.0:
- Update for "Blackwood".


Version 2.9
- Fixed an error related to alts research status,
- Removed LibStub,
- Removed embedded LibHarvensAddonsSettings, please download it separately,
- API version changed to 100030.

Version 2.8
- Fixed libHarvensAddonSettings library,
- API version updated to 100024.

Version 2.7
- Added support for jewelry traits research status,
- API version updated to 100023.

Version 2.6
- Updated LibStub to the latest version,
- No longer displaying style info for irrelevant items,
- Adapted to the new API,
- API version updated to 100020.

Version 2.5e
- API version updated to 100019.

Version 2.5d
- Removed some leftover debug message.

Version 2.5c
- API version updated to 100018.

Version 2.5b
- API version updated to 100017.

Version 2.5a
- Fixed UI error introduced in previous update.

Version 2.5
- API version updated to 100016,
- Updated LHAS, thanks Votan :)

Version 2.4a
- Fixed UI error introduced in previous update.

Version 2.4
- Added an option to show/hide selected alts research info.

Version 2.3b
- API version updated to 100015,

Version 2.3a
- Fixed gamepad UI support.

Version 2.3
- Fixed UI Error while trading.

Version 2.2
- API version updated to 100014,
- Added display Soul-Shriven motif as legendary,
- Added player to player trading item tooltip support

Version 2.1
- Added option to display if given trait can be researched by your alts - enabled by default. You must login with your alt first so the addon can get all necessary data.

Version 2.0a
- API version updated to 100013,
- Added gamepad UI support - needs more testing/refactoring

Version 1.9d
- added legendary styles Glass and Xivkyn (added in ESO 2.1)
- fixed missing color definition (removed in ESO 2.2)

Version 1.9c
- trait lookup table is now built lazily in parts as they are needed (less work during add-on initialization)
- this also fixes a minor bug with traits that finished researching while you were offline

Version 1.9b
- API version updated to 100012
- Added style & trait information to quest reward tooltips

Version 1.9a
- API version changed to 100011,

Version 1.9
- This release contains a good chunk of code and ideas suggested by votan and Garkin
- Split style (left corner) and trait knowledge (right corner), fixed localization issues
- Added colorization support for legendary motifs
- Added optional display of the number of carried/banked items with the same trait
- Added optional display of trait knowledge after the trait name in tooltip (doesn't work in Comparative tooltips)
- Added style & trait information to mail Attachment tooltips
- Added style & trait information to crafting Creation and Improvement result tooltips
- Added style & trait information to vendor Store tooltips

Version 1.8b
- API version changed to 100010,
- New version of LibHarvensAddonSettings (thanks to Garkin).

Version 1.8a
- Fixed updating of item trait knowledge when research starts/stops.

Version 1.8
- Added support for trading house items traits (and also popup tooltip/loot window items traits) - thanks to the new API :)
- Changed trading house items style recognition (no longer based on the icons, using new API instead),
- API version changed to 100009.

Version 1.7a
- Added options for enabling colors, which are now off by default

Version 1.7
- Added style info (only, no trait knowledge) to buyback tooltips
- Changed tooltip font to ZoFontWinT2
- Colorized style: common racial styles in blue, rare styles in purple
- Colorized trait knowledge: researchable in red, currently researching in orange

Version 1.6
- Fixed lua exception caused by popup tooltip.

Version 1.5
- API version changed to 100008.

Version 1.4a
- API version changed to 100007.

Version 1.4
- Display "Researching..." instead of "Researchable" when a trait is during research.

Version 1.3
- API version changed,
- Added support for guild store tooltips (style only - based on icon name),
- Added support for loot tooltips (style only - based on icon name),
- Added support for popup tooltips - chat links (style only),

Version 1.2
- Added support for comparative tooltips,
- Added support for equippment tooptip.

Version 1.1
- Fixed wrong trait knowledge info.
Optional Files (0)


Archived Files (38)
File Name
Version
Size
Uploader
Date
2.10.1
6kB
votan
06/13/21 07:53 AM
2.10.0
6kB
votan
05/08/21 10:21 AM
2.9
6kB
Harven
03/29/20 02:20 PM
2.8
13kB
Harven
08/15/18 05:34 PM
2.7
13kB
Harven
05/22/18 05:51 AM
2.6
13kB
Harven
08/14/17 02:27 PM
2.5e
13kB
Harven
05/23/17 11:59 AM
2.5d
13kB
Harven
02/12/17 08:19 AM
2.5c
13kB
Harven
02/12/17 08:06 AM
2.5b
13kB
Harven
10/05/16 01:41 PM
2.5a
13kB
Harven
08/14/16 06:42 AM
2.5
13kB
Harven
08/01/16 02:50 PM
2.4a
13kB
Harven
07/05/16 07:37 AM
2.4
13kB
Harven
07/03/16 11:59 AM
2.3b
13kB
Harven
06/02/16 01:54 PM
2.3a
12kB
Harven
03/08/16 06:35 AM
2.3
12kB
Harven
03/08/16 05:20 AM
2.2
12kB
Harven
03/07/16 03:46 PM
2.1
12kB
Harven
02/11/16 02:33 PM
2.0a
12kB
Harven
11/02/15 09:14 AM
1.9d
11kB
merlight
10/09/15 08:21 AM
1.9c
11kB
Harven
09/06/15 10:06 AM
1.9b
10kB
Harven
08/31/15 07:47 PM
1.9a
11kB
Harven
03/04/15 02:51 PM
1.9
11kB
merlight
11/11/14 06:19 AM
1.8b
10kB
Harven
11/04/14 02:02 PM
1.8a
10kB
Harven
09/16/14 06:23 PM
1.8
10kB
Harven
09/16/14 05:56 PM
1.7a
9kB
merlight
08/15/14 04:13 AM
1.7
3kB
merlight
08/13/14 04:36 AM
1.6
3kB
Harven
08/06/14 01:32 PM
1.5
3kB
Harven
08/05/14 03:35 PM
1.4a
3kB
Harven
06/25/14 04:22 PM
1.4
2kB
Harven
06/23/14 03:19 AM
1.3
2kB
Harven
05/23/14 09:45 AM
1.2
2kB
Harven
05/17/14 10:05 AM
1.1
1kB
Harven
05/05/14 01:29 PM
1.0
1kB
Harven
05/04/14 05:58 PM


Post A Reply Comment Options
Unread 12/31/21, 03:30 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Duplicate Text

Originally Posted by P5ych3
Originally Posted by votan
The top one is built-in, but can not be colored.
Originally Posted by F-Lambda
"Any chance this add-on can hide that default portion of the tooltip? This tooltip's version and placement looks better, but having it listed twice is not good."
..
No. The built-in part is protected/hidden. Even if you change the formatting string of the localization table, it has no effect.
Report comment to moderator  
Reply With Quote
Unread 12/26/21, 04:07 PM  
P5ych3
 
P5ych3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 2
Lightbulb Duplicate Text

Originally Posted by votan
The top one is built-in, but can not be colored.
Originally Posted by F-Lambda
"Any chance this add-on can hide that default portion of the tooltip? This tooltip's version and placement looks better, but having it listed twice is not good."
..
Last edited by P5ych3 : 12/26/21 at 04:12 PM.
Report comment to moderator  
Reply With Quote
Unread 12/19/21, 02:50 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Duplicate Text

Originally Posted by P5ych3
Originally Posted by F-Lambda
Hey, a recent(ish?) update made it so the game tooltip shows item styles by default. Any chance this add-on can hide that default portion of the tooltip? This tooltip's version and placement looks better, but having it listed twice is not good.

Default UI's style underlined:
The man is exactly right. This is why I came here. There needs to be an option to remove the default text from the tooltips if desired, or replace it with this addon's value altogether that way you do not have to see it displayed twice.
The top one is built-in, but can not be colored.
Report comment to moderator  
Reply With Quote
Unread 12/18/21, 03:36 PM  
P5ych3
 
P5ych3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 83
Uploads: 2
Lightbulb Duplicate Text

Originally Posted by F-Lambda
Hey, a recent(ish?) update made it so the game tooltip shows item styles by default. Any chance this add-on can hide that default portion of the tooltip? This tooltip's version and placement looks better, but having it listed twice is not good.

Default UI's style underlined:
The man is exactly right. This is why I came here. There needs to be an option to remove the default text from the tooltips if desired, or replace it with this addon's value altogether that way you do not have to see it displayed twice.
Last edited by P5ych3 : 12/18/21 at 03:39 PM.
Report comment to moderator  
Reply With Quote
Unread 06/14/21, 05:37 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by SkOODaT
....
fix for worn bleed through on companion equiped.... add
if COMPANION_KEYBOARD_FRAGMENT:IsShowing() then return end
Thanks, but it should be fixed in 2.10.1.
Report comment to moderator  
Reply With Quote
Unread 06/12/21, 12:01 PM  
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 169
Uploads: 11
Code:
function HarvensTraitAndStyle:AddStyleFromBagNoHack(tooltip, bagId, slotIndex)
	local line = {}
	if g_savedVars.showStyle then
		local equipType, itemStyle = select(6, GetItemInfo(bagId, slotIndex))
		if equipType and itemStyle ~= ITEMSTYLE_NONE and equipType ~= EQUIP_TYPE_INVALID and equipType ~= EQUIP_TYPE_POISON and equipType ~= EQUIP_TYPE_RING and equipType ~= EQUIP_TYPE_NECK and equipType ~= EQUIP_TYPE_COSTUME then
			local styleColor, styleText = getStyleHeaderLine(itemStyle)
			line[#line + 1] = styleColor:Colorize(styleText)
		end
	end

	if COMPANION_KEYBOARD_FRAGMENT:IsShowing() then return end
	local traitType = GetItemTrait(bagId, slotIndex)
	local researchColor = nil
	local researchStatus = self:GetItemLinkResearchStatus(GetItemLink(bagId, slotIndex))
	if researchStatus then
		local armorType = GetItemArmorType(bagId, slotIndex)
		local weaponType = GetItemWeaponType(bagId, slotIndex)
		local countBank = self:GetSameTraitCount(BAG_BANK, armorType, weaponType, equipType, traitType)
		countBank = countBank + self:GetSameTraitCount(BAG_SUBSCRIBER_BANK, armorType, weaponType, equipType, traitType)
		local countPack = self:GetSameTraitCount(BAG_BACKPACK, armorType, weaponType, equipType, traitType)
		local countWorn = self:GetSameTraitCount(BAG_WORN, armorType, weaponType, equipType, traitType)
		local traitText
		researchColor, traitText = getTraitHeaderLine(researchStatus, countBank, countPack, countWorn)
		if traitText then
			line[#line + 1] = researchColor:Colorize(traitText)
		end
		researchStatus = tostring(TraitStatusStrings[researchStatus])
	end
	if #line > 0 then
		tooltip:AddHeaderLine(table.concat(line, "\n"), "ZoFontWinT2", 2, TOOLTIP_HEADER_SIDE_LEFT)
	end
	return traitType, researchColor, researchStatus
end
fix for worn bleed through on companion equiped.... add
if COMPANION_KEYBOARD_FRAGMENT:IsShowing() then return end
Last edited by SkOODaT : 06/12/21 at 12:02 PM.
Report comment to moderator  
Reply With Quote
Unread 05/10/21, 09:45 AM  
ApoAlaia

Forum posts: 6
File comments: 138
Uploads: 0
Re: Re: Re: Re: Tooltip

Originally Posted by votan
Originally Posted by ApoAlaia
I guess this is one of those minor inconveniences that have to be lived with for the greater convenience that the addon overall provides.
I am maintainer, now. And I hopefully fixed everything.
You have for me

It no longer overlaps, now correctly shows up on the left hand side. Yay!
Last edited by ApoAlaia : 05/10/21 at 09:46 AM.
Report comment to moderator  
Reply With Quote
Unread 05/09/21, 02:04 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Re: Re: Tooltip

Originally Posted by ApoAlaia
I guess this is one of those minor inconveniences that have to be lived with for the greater convenience that the addon overall provides.
I am maintainer, now. And I hopefully fixed everything.
Report comment to moderator  
Reply With Quote
Unread 12/02/20, 06:50 AM  
ApoAlaia

Forum posts: 6
File comments: 138
Uploads: 0
Re: Re: Tooltip

Originally Posted by votan
Originally Posted by ApoAlaia
Hi beautiful people,

Is there a way to show the 'tooltip' either further down or on the left hand side?

This addon is very helpful while I am doing my research - to check at a glance whether the item has a trait that can be researched and whether I do have one in my bank already or not - but the (Collected) or (Not Collected) tooltip pertaining sets (unsure if this is in the vanilla UI or is another addon adding it for convenience, shame on me) currently superimposes it in most cases making it tricky to discern.

Is a minor niggle but if there is a way to make it go away it would be fantastic.

Thanks!
The "Research" and "Collected" information both using right header line no.2.
You could disable showing the "Research" state in the corner and enable showing it beside trait.
Thanks for the suggestion.

I'm pretty sure I tried that yesterday and did nothing - seem to remember that the option to show it beside trait had some kind of warning message that it may need to be disabled it something went wrong.

Either way I will try again tonight when I'm home.

EDIT: Tried as suggested but for some reason - as I remembered - is not 'behaving'. The outcome is that I get no 'Research' state at all.

I guess this is one of those minor inconveniences that have to be lived with for the greater convenience that the addon overall provides.
Last edited by ApoAlaia : 12/04/20 at 01:55 AM.
Report comment to moderator  
Reply With Quote
Unread 12/02/20, 06:31 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Re: Tooltip

Originally Posted by ApoAlaia
Hi beautiful people,

Is there a way to show the 'tooltip' either further down or on the left hand side?

This addon is very helpful while I am doing my research - to check at a glance whether the item has a trait that can be researched and whether I do have one in my bank already or not - but the (Collected) or (Not Collected) tooltip pertaining sets (unsure if this is in the vanilla UI or is another addon adding it for convenience, shame on me) currently superimposes it in most cases making it tricky to discern.

Is a minor niggle but if there is a way to make it go away it would be fantastic.

Thanks!
The "Research" and "Collected" information both using right header line no.2.
You could disable showing the "Research" state in the corner and enable showing it beside trait.
Report comment to moderator  
Reply With Quote
Unread 12/02/20, 04:49 AM  
ApoAlaia

Forum posts: 6
File comments: 138
Uploads: 0
Tooltip

Hi beautiful people,

Is there a way to show the 'tooltip' either further down or on the left hand side?

This addon is very helpful while I am doing my research - to check at a glance whether the item has a trait that can be researched and whether I do have one in my bank already or not - but the (Collected) or (Not Collected) tooltip pertaining sets (unsure if this is in the vanilla UI or is another addon adding it for convenience, shame on me) currently superimposes it in most cases making it tricky to discern.

Is a minor niggle but if there is a way to make it go away it would be fantastic.

Thanks!
Last edited by ApoAlaia : 12/02/20 at 04:50 AM.
Report comment to moderator  
Reply With Quote
Unread 10/28/19, 05:24 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by MarkusFox
Got something similar. The addon is quite out of date however.

Code:
bad argument #1 to 'table.insert' (table/struct expected, got nil)
stack traceback:
[C]: in function 'table.insert'
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:185: in function 'HarvensTraitAndStyle:GetItemLinkResearchStatus'
|caaaaaa<Locals> self = [table:1]{unitName = "Ajira Zatani"}, link = "|H0:item:153834:362:50:0:0:0:0...", traitType = 4, itemType = 2, tradeSkill = 2, resIndex = 1, k = "Madrass Telvanni", v = [table:2]{} </Locals>|r
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:239: in function 'HarvensTraitAndStyle:AddStyleFromLink'
|caaaaaa<Locals> self = [table:1], tooltip = ud, link = "|H0:item:153834:362:50:0:0:0:0...", itemStyle = 94, equipType = 3, traitType = 4 </Locals>|r
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:320: in function 'HarvensTraitAndStyle_SetQuestReward'
|caaaaaa<Locals> orgFunc = [C]:-1, tooltip = ud, index = 2, link = "|H0:item:153834:362:50:0:0:0:0..." </Locals>|r
(tail call): ?
EsoUI/Ingame/InteractWindow/Keyboard/InteractWindow_Keyboard.lua:355: in function 'ZO_QuestReward_MouseEnter'
|caaaaaa<Locals> control = ud </Locals>|r
ZO_InteractWindowRewardAreaGiven1_MouseEnter:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud </Locals>|r
Disable "Show alts info".
I think the problem is, that this style is hidden to chars not knowing it. Therefore the alt info is null for that.
Report comment to moderator  
Reply With Quote
Unread 10/28/19, 05:03 AM  
MarkusFox

Forum posts: 4
File comments: 165
Uploads: 0
Got something similar. The addon is quite out of date however.

Code:
bad argument #1 to 'table.insert' (table/struct expected, got nil)
stack traceback:
[C]: in function 'table.insert'
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:185: in function 'HarvensTraitAndStyle:GetItemLinkResearchStatus'
|caaaaaa<Locals> self = [table:1]{unitName = "Ajira Zatani"}, link = "|H0:item:153834:362:50:0:0:0:0...", traitType = 4, itemType = 2, tradeSkill = 2, resIndex = 1, k = "Madrass Telvanni", v = [table:2]{} </Locals>|r
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:239: in function 'HarvensTraitAndStyle:AddStyleFromLink'
|caaaaaa<Locals> self = [table:1], tooltip = ud, link = "|H0:item:153834:362:50:0:0:0:0...", itemStyle = 94, equipType = 3, traitType = 4 </Locals>|r
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:320: in function 'HarvensTraitAndStyle_SetQuestReward'
|caaaaaa<Locals> orgFunc = [C]:-1, tooltip = ud, index = 2, link = "|H0:item:153834:362:50:0:0:0:0..." </Locals>|r
(tail call): ?
EsoUI/Ingame/InteractWindow/Keyboard/InteractWindow_Keyboard.lua:355: in function 'ZO_QuestReward_MouseEnter'
|caaaaaa<Locals> control = ud </Locals>|r
ZO_InteractWindowRewardAreaGiven1_MouseEnter:3: in function '(main chunk)'
|caaaaaa<Locals> self = ud </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 10/21/19, 04:57 PM  
Marazota
AddOn Author - Click to view AddOns

Forum posts: 257
File comments: 1517
Uploads: 2
error with new style in dragonhold

Report comment to moderator  
Reply With Quote
Unread 07/02/19, 12:36 PM  
Khaop

Forum posts: 0
File comments: 3
Uploads: 0
Re: New Error from Today (3/30/19)

Originally Posted by PBnJ66
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:19: table index is nil
stack traceback:
user:/AddOns/HarvensTraitAndStyle/HarvensTraitAndStyle.lua:19: in function '(main chunk)'
I just deleted line 19 entirely in the trait and style table. I'm not really sure if it does anything useful, it seems to be some trait for special something? Maybe they removed that trait stat, and maybe it just wont show it but then by not showing something i already know it's special.

Dunno, in short not sure if there is any negative to removing line 19 but i did and it worked.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: