Download
(13 Kb)
Download
Updated: 06/07/23 06:51 PM
Pictures
File Info
Compatibility:
Necrom (9.0.0)
Updated:06/07/23 06:51 PM
Created:12/23/19 04:46 PM
Monthly downloads:210
Total downloads:10,778
Favorites:21
MD5:
Unknown Insight  Popular! (More than 5000 hits)
Version: 0.4.1
by: zelenin [More]
- inspired by kadeer's Unknown Tracker but written from scratch
- tracks knowledge of in-game items like motives, style pages, recipes (food/drink and furnishing) and collectible runeboxes
- adds icon to inventory and extended info to tooltip
- allows you to select tracked characters
- has a catalog of all items with search and filters by type, character and knowledge (slash commands: /ui, /unknown-insight)

Important:
- requires LibItemsFetcher
- addon will rescan the item database at the first start and after every new patch
- have to login on every character to scan knowledge database

Default colors:
- unknown to current character
- unknown to other characters
- known to all characters
0.4.1:
UnknownInsight:IsUnknownByCharacter fix

0.4.0:
- added chat icon (turned on by default)
- dependencies versions bump

0.3.5:
- sorting fix
- API version bump

0.3.4:
- U30 integration
- columns resize
- some caching

0.3.3:
- added fragments

0.3.2:
- added key binding

0.3.1:
- settings fix

0.3.0:
- migration to LibSimpleSavedVars (database reset)
- the catalog is now cross-server

0.2.0:
- item names colorized according item quality (database reset)
- add Advanced Filters filter to Consumable filter
- left mouse button inserts item link to chat input, right mouse button inserts TTC link to chat input

0.1.2:
- updated API to 100032

0.1.1:
- database clean fix

0.1.0:
- updated API to 100031
- settings was refactored, added NA/EU servers support. Database and settings will be wiped. Need login to all characters.

0.0.3:
- updated API to 100030

0.0.2:
- account wide items fix

0.0.1:
- initial release
Archived Files (14)
File Name
Version
Size
Uploader
Date
0.4.0
12kB
zelenin
07/29/21 01:59 AM
0.3.5
11kB
zelenin
07/21/21 05:08 PM
0.3.4
11kB
zelenin
05/29/21 09:53 AM
0.3.3
11kB
zelenin
03/02/21 04:58 AM
0.3.2
11kB
zelenin
12/30/20 01:12 PM
0.3.1
10kB
zelenin
11/05/20 11:35 AM
0.3.0
10kB
zelenin
10/16/20 01:03 PM
0.2.0
10kB
zelenin
09/04/20 01:12 AM
0.1.2
9kB
zelenin
08/24/20 04:32 AM
0.1.1
9kB
zelenin
06/04/20 03:22 AM
0.1.0
9kB
zelenin
05/22/20 01:38 PM
0.0.3
9kB
zelenin
02/24/20 07:19 PM
0.0.2
9kB
zelenin
01/10/20 02:09 AM
0.0.1
9kB
zelenin
12/23/19 04:46 PM


Post A Reply Comment Options
Unread Today, 02:50 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5001
File comments: 6059
Uploads: 78


This is the reason why pChat should act respectfully towards other addons and change ...
ZOs only allows one handler for the chat messages unless this was changed again?
We all cannot be respectfull without creating a new library that handles that chat handlers properly, like LibChatMesage was able to in the past but not anymore since Zos change that all!
As ZOs decided to use the CHAT_ROUTER stuff they introduced that shortcoming, it's not pChat's fault or your addon's fault.
I personally dislike this decision for sure.

pChat exists since 2014 and is compatible with many addons since then. A wide userbase is using it.
If one would add a wrapper and consider all existing other chat related addons it failed in so many ways in the past. We tried it, believe me.
Addons were inserting special characters or manipulated functions early, even returned prehooks early which resuletd into pChats SavedVariables and regex functions to break, and so on.
The easist way to make them all compatible is to use pChat as a base and add other addons to it's function then if it's loaded.

I had provided you code and ideas how other addons work fine in combination with pChat already today. So I thought you might be interested into making your compatible too. Would be way easier to change that 1 addon instead of changing pChat, and then make all the other already compatible addons break again (which I assume would be happening then or at least they all would have to test all stuff again and add optional dependencies to your addon here).

If you provide me example code how pChat, your addon, and all other chat related addons (which are already compatible with pChat) work in combination with that one chat handler of ZOs, I'm glad to work on it.
So far sirinsidiator and me did not find any way to make that happen and so the current way is to have pChat (as the most commonly used addon) as the base and make the others optionally depend on it, and hook into it's function.
That way you do no run in any depency loop errors or problems that e.g. timestamps of pChat are missing, or features of other addons are missing.


Originally Posted by zelenin
Originally Posted by Baertram
There can be only 1 chat handler for messages, that's design of the game.
right. This is the reason why pChat should act respectfully towards other addons and change the current chat handler, rather than replacing it with its own, breaking other addons.

Originally Posted by Baertram
It seems that the addon is applying it's own chat handler for messages
this is what pChat does, not Unknown Insight. Unknown Insight modifies the current handler, wrapping it in an additional function. pChat just takes and throws out the handler, replacing it with its own


Originally Posted by Baertram
Code:
if pChat ~= nil
The other addons like Unknown Insight must not overwrite the chat handler with their own function myAddOnFunctionName then
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionName)
Instead they need to e.g. create their own function myAddOnFunctionNameIncludingpChatCall that will be calling
Code:
pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
...
return chatMessageText, saveTarget
internally to do the same like pChat does BUT also adds their marker text etc. to the chat message text.

For example:
Lua Code:
  1. local function myAddOnFunctionNameIncludingpChatCall(channelID, from, text, isCustomerService, fromDisplayName)
  2.    text = "Marker icon texture here " .. text
  3.    return pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
  4. end
And after that they use
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionNameIncludingpChatCall )
to overwrite pChat's handler with it then.
all this needs to be done not because Unknown Insight overwrites the handler, but because pChat overwrites the handler. And it should be fixed by pChat
Last edited by Baertram : 05/12/24 at 03:22 PM.
Report comment to moderator  
Reply With Quote
Unread 05/09/24, 03:26 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 193
Uploads: 12
Originally Posted by Baertram
There can be only 1 chat handler for messages, that's design of the game.
right. This is the reason why pChat should act respectfully towards other addons and change the current chat handler, rather than replacing it with its own, breaking other addons.

Originally Posted by Baertram
It seems that the addon is applying it's own chat handler for messages
this is what pChat does, not Unknown Insight. Unknown Insight modifies the current handler, wrapping it in an additional function. pChat just takes and throws out the handler, replacing it with its own


Originally Posted by Baertram
Code:
if pChat ~= nil
The other addons like Unknown Insight must not overwrite the chat handler with their own function myAddOnFunctionName then
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionName)
Instead they need to e.g. create their own function myAddOnFunctionNameIncludingpChatCall that will be calling
Code:
pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
...
return chatMessageText, saveTarget
internally to do the same like pChat does BUT also adds their marker text etc. to the chat message text.

For example:
Lua Code:
  1. local function myAddOnFunctionNameIncludingpChatCall(channelID, from, text, isCustomerService, fromDisplayName)
  2.    text = "Marker icon texture here " .. text
  3.    return pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
  4. end
And after that they use
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionNameIncludingpChatCall )
to overwrite pChat's handler with it then.
all this needs to be done not because Unknown Insight overwrites the handler, but because pChat overwrites the handler. And it should be fixed by pChat
Report comment to moderator  
Reply With Quote
Unread 05/08/24, 01:52 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 5001
File comments: 6059
Uploads: 78
There can be only 1 chat handler for messages, that's design of the game.
It seems that the addon is applying it's own chat handler for messages, which adds the checkmarks then.
But as pChat applies the handler itsself again later it overwrites it (you can see by the timestamps shown in front of the messages).

If the other addon wants to make it compatible with pChat it needs to do the following:
1. in the UnknownInsight.txt add ## OptionalDependsOn: pChat
2. Where the chat handler is registered in that other addon must be at EVENT_PLAYER_ACTIVATED (as pChat adds the handler there because the chat is fully ready first at that event)
3.
Code:
if pChat ~= nil
The other addons like Unknown Insight must not overwrite the chat handler with their own function myAddOnFunctionName then
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionName)
Instead they need to e.g. create their own function myAddOnFunctionNameIncludingpChatCall that will be calling
Code:
pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
...
return chatMessageText, saveTarget
internally to do the same like pChat does BUT also adds their marker text etc. to the chat message text.

For example:
Lua Code:
  1. local function myAddOnFunctionNameIncludingpChatCall(channelID, from, text, isCustomerService, fromDisplayName)
  2.    text = "Marker icon texture here " .. text
  3.    return pChat. MessageChannelReceiver(channelID, from, text, isCustomerService, fromDisplayName)
  4. end
And after that they use
Code:
CHAT_ROUTER:RegisterMessageFormatter(EVENT_CHAT_MESSAGE_CHANNEL, myAddOnFunctionNameIncludingpChatCall )
to overwrite pChat's handler with it then.


Edit:
The forum will make pChat. MessageChannelReceiver not draw without the space after pChat. but actually there must not be a space...
Last edited by Baertram : 05/08/24 at 01:54 PM.
Report comment to moderator  
Reply With Quote
Unread 05/07/24, 11:38 AM  
Noctume
 
Noctume's Avatar

Forum posts: 5
File comments: 44
Uploads: 0
Compatibilities

Hello, there is a way to make your mod compatible with pchat ?

Thank you
Report comment to moderator  
Reply With Quote
Unread 06/11/23, 11:16 PM  
[email protected]

Forum posts: 2
File comments: 2
Uploads: 0
Multiple Accounts

I have used Unknown Tracker for quite some time and love it. I have 4 accounts (2 on the EU and 2 on the NA). Up until the Necrom release, I could pick up a recipe (or whatever) and see if I needed it for any of my characters on another account. Now I can only see who knows it on the account I'm logged into. I hope and pray you are going to look into this - it has been a HUGE help for me in the past and I don't know how I will adjust to not having that option. Thank you in advance - Morrighan
Report comment to moderator  
Reply With Quote
Unread 07/29/21, 07:18 AM  
Othienka

Forum posts: 3
File comments: 10
Uploads: 0
Re: Re: Add support for Sets/Stickerbook and Chatlink icons

Originally Posted by zelenin
Originally Posted by Othienka
Hello there!

Would it be possible to add Collectible Gear Sets/"Stickerbook" items to this addon?
this will be a duplication of the native functionality. seems unnecessary.
Well, I meant as in having Collectible Gear Sets/Stickerbook items use the same Known/Unknown icon functionality that your addon does for recipes, motifs, styles, etc. There is no native icon to see if you have yet collected the item at glance on the inventory.

Originally Posted by zelenin
yes, cool feature. I will make it
Great news!
Report comment to moderator  
Reply With Quote
Unread 07/28/21, 11:53 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 193
Uploads: 12
Re: Add support for Sets/Stickerbook and Chatlink icons

Originally Posted by Othienka
Hello there!

Would it be possible to add Collectible Gear Sets/"Stickerbook" items to this addon?
this will be a duplication of the native functionality. seems unnecessary.

Originally Posted by Othienka
Also, I was wondering if it would be possible to add an option shwoing a "known" icon on chatlinks? I've seen some addons that do this for Gear Sets/"Stickerbook trackers, at the very least.
yes, cool feature. I will make it
Report comment to moderator  
Reply With Quote
Unread 07/28/21, 02:41 PM  
Othienka

Forum posts: 3
File comments: 10
Uploads: 0
Add support for Sets/Stickerbook and Chatlink icons

Hello there!

Would it be possible to add Collectible Gear Sets/"Stickerbook" items to this addon? Also, I was wondering if it would be possible to add an option shwoing a "known" icon on chatlinks? I've seen some addons that do this for Gear Sets/"Stickerbook trackers, at the very least.
Report comment to moderator  
Reply With Quote
Unread 05/31/21, 08:39 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 193
Uploads: 12
Re: Re: Option to remove icon from inventory.

Originally Posted by Ivarss
Originally Posted by Vampyra
Hi, great addon by the way.

But I have a concern about compatibility with other inventory UI addons, specifically GridList.

This addon changes inventory to a grid instead of the default list, some other addons deals well with showing the icon inside the item image. (As dressing room for example)

I'm not asking for something complicated but just an option to avoid the tick icon to appear on the inventory as in the grid view it appears outside the items and completely unrelated.

For me the tooltip on the hoover pop up window is more than enough.

Thanks anyway for your work.
Hi!
Thanks for great addon..
Ill just add images to explain how it looks without and with Gridlist enabled, maybe it's possible to solve it.



you can set up icon offset
Report comment to moderator  
Reply With Quote
Unread 05/31/21, 04:23 PM  
Ivarss

Forum posts: 0
File comments: 4
Uploads: 0
Re: Option to remove icon from inventory.

Originally Posted by Vampyra
Hi, great addon by the way.

But I have a concern about compatibility with other inventory UI addons, specifically GridList.

This addon changes inventory to a grid instead of the default list, some other addons deals well with showing the icon inside the item image. (As dressing room for example)

I'm not asking for something complicated but just an option to avoid the tick icon to appear on the inventory as in the grid view it appears outside the items and completely unrelated.

For me the tooltip on the hoover pop up window is more than enough.

Thanks anyway for your work.
Hi!
Thanks for great addon..
Ill just add images to explain how it looks without and with Gridlist enabled, maybe it's possible to solve it.



Report comment to moderator  
Reply With Quote
Unread 12/30/20, 01:15 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 193
Uploads: 12
Originally Posted by Rudneck
Thank you for this great addon.

Is it possible to add keyboard binding to open Unknown Insights window > `/ui` slash command.
done
Report comment to moderator  
Reply With Quote
Unread 12/30/20, 06:13 AM  
Rudneck

Forum posts: 0
File comments: 11
Uploads: 0
Thank you for this great addon.

Is it possible to add keyboard binding to open Unknown Insights window > `/ui` slash command.
Report comment to moderator  
Reply With Quote
Unread 11/06/20, 12:48 PM  
Vampyra

Forum posts: 0
File comments: 19
Uploads: 0
Option to remove icon from inventory.

Hi, great addon by the way.

But I have a concern about compatibility with other inventory UI addons, specifically GridList.

This addon changes inventory to a grid instead of the default list, some other addons deals well with showing the icon inside the item image. (As dressing room for example)

I'm not asking for something complicated but just an option to avoid the tick icon to appear on the inventory as in the grid view it appears outside the items and completely unrelated.

For me the tooltip on the hoover pop up window is more than enough.

Thanks anyway for your work.
Report comment to moderator  
Reply With Quote
Unread 10/19/20, 09:37 AM  
Asrael18

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Error ?

Originally Posted by zelenin
Originally Posted by Asrael18
After I update youre Addon and I download the Addons what I need I become an Error:

User:/AddOns/LibCharacter/LibCharacter.lua:117: attempt to index a nil value
stack traceback:
user:/AddOns/LibCharacter/LibCharacter.lua:117: in function 'addon:getCharacterData'
user:/AddOns/LibCharacter/LibCharacter.lua:59: in function 'addon:scanCharacters'
user:/AddOns/LibCharacter/LibCharacter.lua:48: in function 'addon:initialize'
user:/AddOns/LibCharacter/LibCharacter.lua:6: in function 'addon:New'
user:/AddOns/LibCharacter/LibCharacter.lua:140: in function '(anonymous)'

user:/AddOns/UnknownInsight/Settings.lua:179: attempt to index a nil value
stack traceback:
user:/AddOns/UnknownInsight/Settings.lua:179: in function 'settings:initSettingsPanel'
user:/AddOns/UnknownInsight/Settings.lua:27: in function 'settings:initialize'
user:/AddOns/UnknownInsight/Settings.lua:7: in function 'settings:New'
user:/AddOns/UnknownInsight/UnknownInsight.lua:58: in function 'addon:initialize'
user:/AddOns/UnknownInsight/UnknownInsight.lua:6: in function 'addon:New'
user:/AddOns/UnknownInsight/UnknownInsight.lua:921: in function '(anonymous)'

What is that mean ?
please update this library https://www.esoui.com/downloads/info2806-133830.html

Thx its worked. When I use minion they wants update the libary. When I do that I become this error. I ignore the upate and wonload it manually
Report comment to moderator  
Reply With Quote
Unread 10/18/20, 09:45 PM  
zelenin
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 193
Uploads: 12
Re: Error ?

Originally Posted by Asrael18
After I update youre Addon and I download the Addons what I need I become an Error:

User:/AddOns/LibCharacter/LibCharacter.lua:117: attempt to index a nil value
stack traceback:
user:/AddOns/LibCharacter/LibCharacter.lua:117: in function 'addon:getCharacterData'
user:/AddOns/LibCharacter/LibCharacter.lua:59: in function 'addon:scanCharacters'
user:/AddOns/LibCharacter/LibCharacter.lua:48: in function 'addon:initialize'
user:/AddOns/LibCharacter/LibCharacter.lua:6: in function 'addon:New'
user:/AddOns/LibCharacter/LibCharacter.lua:140: in function '(anonymous)'

user:/AddOns/UnknownInsight/Settings.lua:179: attempt to index a nil value
stack traceback:
user:/AddOns/UnknownInsight/Settings.lua:179: in function 'settings:initSettingsPanel'
user:/AddOns/UnknownInsight/Settings.lua:27: in function 'settings:initialize'
user:/AddOns/UnknownInsight/Settings.lua:7: in function 'settings:New'
user:/AddOns/UnknownInsight/UnknownInsight.lua:58: in function 'addon:initialize'
user:/AddOns/UnknownInsight/UnknownInsight.lua:6: in function 'addon:New'
user:/AddOns/UnknownInsight/UnknownInsight.lua:921: in function '(anonymous)'

What is that mean ?
please update this library https://www.esoui.com/downloads/info2806-133830.html
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: