Quantcast
Download
(742 Kb)
Download
Updated: 05/17/19 07:23 AM
Pictures
File Info
Compatibility:
Elsweyr (5.0.5)
Wrathstone (4.3)
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Dragon Bones (3.3)
Clockwork City (3.2)
Horns of the Reach (3.1)
Morrowind (3.0)
Homestead (2.7)
One Tamriel (2.6)
Updated:05/17/19 07:23 AM
Created:09/05/14 11:54 AM
Monthly downloads:9,783
Total downloads:593,045
Favorites:438
MD5:
Categories:Bags, Bank, Inventory, Data Mods, ToolTip, Utility Mods
Inventory Insight  Popular! (More than 5000 hits)
Version: 3.26
by: manavortex, AssemblerManiac
One Inventory to rule them all!
(Items from banks, house storage, and all of the characters on your account! All in one place.)

What does it do?
  • tracks everything in your characters' Bags, Bank, Guild Banks, CraftBag and Storage Chests
  • tracks items in House(s) (configurable)
  • keeps track of the Gold / AP / Telvar Stones / Writ Vouchers for each character
  • keeps track of the space used/available for each character
  • allows filtering your inventory by item type
  • lets you search the items by name, or by set name
  • adds data to item tooltip showing you where that item is located (all popups/tooltips, or only when over the Inventory Insight window)

Recently added features:
  • FCO Item Saver integration
  • Guild banks tracking is now separate between world servers
  • Jewelry filter is now on main bar (to match rest of base UI)

Library dependencies: (all are available here at ESOUI)

Backlog:
  • Track multiple accounts: Voodoo might be possible

Where do I send massive qtys of gold or mats (or not so massive)?
We gladly accept donations:
NA: @AssemblerManiac
EU: @manavortex
3.26
- close button can now be set hidden (Inv Insight can still be toggled by key, or from settings)
- when you stop tracking a guild bank, all of it's items will be successfully removed from list
- tooltip (popup static and mouseover) now obey the "when to show IIfA data" settings
- Elsweyr style names added

3.25
- removed Jewelry from the Armor sub-tab
- now using numerics as keys in more places to improve speed
- runeboxes are now stored as an ID instead of a link to prevent embedded level info from causing phantom duplicates to show
- new min/max button to blend in better with overall theme

3.24
- worn indicator now has tooltip so you can see what it means
- when you right click an itemlink now, you can set the IIfA filter to the item name so you can quickly find it in the list. It also makes IIfA visible.

3.23
- tooltip font face now working
- tooltip size option removed - it's built into the font selection
- solved intermittent search text not finding anything (when text filter used, and changing main dropdown selection)
- works with api versions 100025 and 100026

3.22
- guild bank settings shouldn't be linked together anymore
- guild bank data delete followed by trying to change guildbank to On no longer causes script error
- housing item counts are no longer off by 1
- slight renaming of some of the main dropdown items
- add new dropdown item so you can see everything you own (everywhere except guildbanks)
- tooltips on dropdown items for clarity
- improved guild bank re-indexing speed

3.21
- removed LibMediaProvider. Fonts list now generated internally, and there are a lot more to choose from

3.20
- Jewelry filter added to main filter bar (old filter under armor still there for this version, will probably remove in next)
- Removed direct lib files, now DependsOn: LibStub LibCustomMenu LibMediaProvider-1.0 LibAsync LibAddonMenu-2.0
- Guild Bank settings now handled properly between world servers

3.17 - 3.19
- Bunch of improvements -> FCO Item Saver integration now works properly! Thanks Baertram and AssemblerManiac for making it work.
- Delete Character bug fixed
- Nil index exception removed

3.16
- Dropdown is now scrollable

3.15
- fixed the error on logout

3.14
- tooltip divider will now always match frame color (stolen or not)
- nailed down some icons

3.13d
- 'all banks' filter now includes the regular bank as well as the subscriber bank

3.13c
- Added another check against nil in IIfADataCollection.lua

3.13b
- Set Name Only button now hidden again when minimized
- added command "toggle" (/ii toggle") to show/hide the main frame like binding to a key

3.13a
- bad reference in settings adapter fixed

3.13
- line 519 error fixed
- heavy armor selected dropdown list has proper slots listed
- mouseover on equipped items shows proper counts for poisons and weapons, both mainhand and offhand
- gui layout issues fixed
- item detail dropdown filter back where it came from (more or less)
- debug info in datacollection line 104 moved to line 102 so user can debug better
- misc task removals to minimize background task occuring while user actively mousing

3.12
- Hotfixes

3.11
- Nil fixes and crash fixes
- Nailed down the dropdown for armor types

3.10
- Complete overhaul of stack tracking (thanks AssemblerManiac)
- Adjusted AddOn's code to cope with lockpicks not being lockpicks (they are sneaky like that)

3.09a +b
- Hopefully a fix for the exception

3.08, 3.09
- Tracking changes

3.07
- Shields no longer show up under weapon filter
- All (?) tracking working again
- List is refreshed after changes

3.06
- More fixes on how data is handled, also database reset
- Will now reliably not track house data if you turn it off

3.05
- Housing Storage now tracked properly and in tooltip overlay

3.04a
- More fixes on the housing storage. We'll tackle the containers next.

3.04
- Everything seems to work?

3.03+a
- More fixes!

3.02b
- Reupload and error fixes

3.02
- Fixed indexing of trait and style material. Further work in progress.

3.01
- Hopefully fixed the data collection issues
- Fixed an error when trying to unignore nothing

3.0
- supports housing storage
- supports tracking furnishings in houses - enable in the settings
- performance gain thanks to votan's libAsync

2.19
- LibCustomMenu update

2.18
- Better Ebonshadow icon

2.17
- API bump
- Fixed the occasional LUA error when opening a guild bank
- Added icons for Clockwork, Dreadhorn, Bloodforge, Apostle and Ebonshadow

2.16a
- about that startup thing - it's been tested now, and works properly

2.16
- startup code on fresh install no longer throw errors
- min/close buttons locked to top right corner instead of top label

2.15
- version # in addon is consistent again
- error in CharCurrencyTooltip.lua at line 120 should be gone
- Name changed to "Inventory Insight" - it's been outta the ashes long enough, but the directory will stay the same

2.14
- Works with Horns of the Reach
- Added AP and WV bank info and totals to Gold Info popup
- Added style info/textures/missing motifs for Telvanni, Hlaalu, and Redoran

2.13
- Changes for bank space related to ESO+ subscriber changes

2.12
- Changed the way the Missing Motifs feature works (creates link for achieve, and 2 options now)
- New right click options (filter by item name, filter by set name)
- Improved text search processing (a "-" in Twice-born star doesn't fail to find anything anymore)
- Added writ vouchers to Gold Info popup

2.11
- Right click options for Link to chat and missing motif processing (when you're trying to build a set before learning it OR already know it and are building a set for someone else)

2.9
- New setting (Search Set Names) to control how the text filter works. If on, typing in the search filter will also show items with set names (it's additive, so it works by item name OR set name).
- New item on the list GUI. Directly above the text search area, there's a checkbox "Filter on Set Name only". When checked, ONLY items from Named Sets (crafted or dropped) will appear in the list, and any text in the search box will be looked for only in set names, not the name of an item.

2.8
- Sub filters added for furnishing items (limited use until ZoS sets the item type properties correctly)
- Heavy hands now shows up again in the "All" list (Thanks Danno8)
- Several other misc items that were missing when filtered have returned

2.7a
Added a filter category for furnishing items

2.7
- existing filters fixed (they should all be working exactly as they should)
- added sub filter for Recipes - now lets you filter on Food, Blueprint, Praxis, etc.
- new icons for added motifs, updated motif text to match real names
- items are renamed at every login, and after reloadui. If you change language, the names on the items will now reflect that change, instead of only after one has been removed from everywhere and re-added

2.6
- unofficial release

2.5a
New icons for Maomer and Hollowjack

2.5:
- Nil reference in startup squashed
- When filtering by materials, style mats now show up
- When filtering by Armor, gloves now show up
- No longer an out of date AddOn
- Item counts when transferring into backpack now get updated (or out, when a count is changing and doesn't end up zero)

Still need to make it possible to track items OUT of backpack when count becomes zero. Also will be adding timed update to repaint the display if it's not hidden while bulk transfers are in progress.

2.3: Can now display currency across your characters.
New icons for Ebony and Ashlander Styles.

2.2: Code cleanup

2.1: Added subfilters

2.0a:
Included a minor bugfix where amounts wouldn't be displayed correctly at the crafting station

1.9:
Fixed the style textures again - also, style of worn items will now be displayed correctly! Yay!
Included LibCustomTitles.
Optional Files (0)


Archived Files (78)
File Name
Version
Size
Uploader
Date
3.25
741kB
AssemblerManiac
04/09/19 11:45 AM
3.24
733kB
AssemblerManiac
02/25/19 11:16 AM
3.23
738kB
AssemblerManiac
02/13/19 09:21 AM
3.22
730kB
AssemblerManiac
11/09/18 08:38 AM
3.21
727kB
AssemblerManiac
10/14/18 12:12 AM
3.20
727kB
AssemblerManiac
10/13/18 09:49 AM
3.19a
734kB
manavortex
09/02/18 08:28 AM
3.19
720kB
manavortex
08/31/18 01:33 PM
3.19
720kB
manavortex
08/31/18 01:33 PM
3.16
720kB
manavortex
04/14/18 01:07 PM
3.14
743kB
manavortex
03/25/18 08:01 AM
3.13d
716kB
manavortex
03/09/18 01:22 AM
3.13c
712kB
manavortex
03/08/18 08:47 AM
3.13c
712kB
manavortex
03/08/18 01:30 AM
3.13b
712kB
manavortex
03/07/18 12:55 AM
3.13a
712kB
AssemblerManiac
03/06/18 10:52 AM
3.13
712kB
manavortex
03/06/18 02:04 AM
3.11
743kB
manavortex
02/28/18 11:35 AM
3.10
743kB
manavortex
02/27/18 03:15 PM
3.09b
716kB
manavortex
02/27/18 01:09 AM
3.09a
716kB
manavortex
02/26/18 05:45 AM
3.09
716kB
manavortex
02/25/18 11:16 AM
3.07
715kB
manavortex
02/23/18 01:57 AM
3.06
715kB
manavortex
02/21/18 10:44 AM
3.05
715kB
manavortex
02/19/18 12:41 PM
3.04a
715kB
manavortex
02/18/18 10:22 AM
3.04
715kB
manavortex
02/17/18 07:25 AM
3.03a
714kB
manavortex
02/15/18 02:19 PM
3.03
714kB
manavortex
02/14/18 11:22 AM
3.02b
714kB
manavortex
02/14/18 08:12 AM
3.02a
714kB
manavortex
02/14/18 06:32 AM
3.02
707kB
manavortex
02/14/18 04:07 AM
3.01
707kB
manavortex
02/13/18 12:35 PM
3.0
707kB
manavortex
02/12/18 10:52 AM
2.19
696kB
manavortex
12/09/17 11:30 AM
2.18
695kB
manavortex
11/18/17 08:52 AM
2.18
696kB
manavortex
11/18/17 08:42 AM
2.17
707kB
manavortex
11/05/17 08:29 AM
2.16a
632kB
AssemblerManiac
08/18/17 01:23 PM
2.16
632kB
AssemblerManiac
08/18/17 09:05 AM
2.15
632kB
AssemblerManiac
08/15/17 01:00 PM
2.14
631kB
AssemblerManiac
08/15/17 10:46 AM
2.13
625kB
manavortex
06/01/17 02:34 PM
2.12
562kB
AssemblerManiac
05/11/17 10:10 PM
2.11
530kB
AssemblerManiac
04/16/17 09:38 AM
2.9
529kB
AssemblerManiac
03/07/17 10:40 AM
2.8
528kB
AssemblerManiac
03/01/17 09:02 AM
2.7a
506kB
manavortex
02/25/17 05:17 PM
2.7
528kB
AssemblerManiac
02/12/17 12:40 PM
2.5a
536kB
manavortex
10/21/16 07:58 AM
2.5
555kB
manavortex
10/20/16 08:48 PM
2.4
576kB
manavortex
09/27/16 03:25 PM
2.3
543kB
manavortex
08/26/16 09:52 AM
2.2
497kB
manavortex
08/18/16 01:43 PM
2.1
516kB
manavortex
08/03/16 10:34 AM
2.0a
670kB
manavortex
07/05/16 12:16 PM
2.0
670kB
manavortex
07/05/16 02:15 AM
1.9a
615kB
manavortex
05/01/16 03:21 PM
1.9
476kB
manavortex
04/03/16 10:48 PM
1.8
456kB
manavortex
01/09/16 10:12 AM
1.66
933kB
manavortex
11/05/15 02:50 PM
1.65
1MB
manavortex
11/04/15 06:30 AM
1.6
463kB
manavortex
11/03/15 11:49 AM
1.5a
466kB
manavortex
10/10/15 08:51 AM
1.5
467kB
manavortex
09/20/15 02:56 AM
1.4
467kB
manavortex
09/07/15 11:07 AM
1.3a
420kB
manavortex
04/25/15 08:34 AM
1.3
417kB
manavortex
04/25/15 04:13 AM
1.2
227kB
manavortex
03/12/15 12:23 PM
1.1
214kB
manavortex
12/17/14 10:35 AM
1.0
214kB
manavortex
11/22/14 08:01 AM
0.9a
254kB
manavortex
10/22/14 12:45 PM
0.9a
254kB
manavortex
10/22/14 12:41 PM
0.9
215kB
manavortex
10/07/14 08:03 AM
0.8a
214kB
manavortex
09/17/14 03:14 AM
0.8.1
214kB
manavortex
09/06/14 06:42 AM
0.8
211kB
manavortex
09/05/14 01:27 PM
0.8
212kB
09/05/14 11:54 AM


Post A Reply Comment Options
Unread 04/26/15, 06:10 PM  
AssemblerManiac
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 270
Uploads: 1
Originally Posted by QuadroTony
first thing i noticed after update - in addon's list ingame it showing like

changes
Hmmmm, I had a file called changes.txt in there, but it shouldn't be getting "found" since it's not a valid addon file. (I guess it's one more instance of "didn't know it would do that", thought it would only find txt file with same name as addon)

Is it also finding the real addon file (IIFA)?
Report comment to moderator  
Reply With Quote
Unread 04/26/15, 02:37 PM  
Treadpool
You Said Member
 
Treadpool's Avatar

Forum posts: 17
File comments: 49
Uploads: 0
The option to dock the tooltip isn't working. Stays undocked. Would also be nice to hide the "Inventory Insight from Ashes" label to the tooltip. No need for it.
__________________
@treadpool
Report comment to moderator  
Reply With Quote
Unread 04/26/15, 01:51 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
first thing i noticed after update - in addon's list ingame it showing like

changes
__________________
Report comment to moderator  
Reply With Quote
Unread 04/25/15, 10:45 PM  
AssemblerManiac
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 270
Uploads: 1
Originally Posted by marcmy
Hi, since you don't have changelog I'm wondering if you fixed the issue with this addon detailed here:

http://www.esoui.com/forums/showthread.php?t=4563

I was often unable to pick locks due to a tooltip being invisible (alpha 0) but not hidden. Narrowed it down to this addon with the commands on page 2 and 3. Please let me know if it is fixed. Thanks in advance.
Hopefully the tooltips are behaving better.

I believe the problem has been solved, but more users trying it out will be the acid test.
Report comment to moderator  
Reply With Quote
Unread 04/25/15, 09:15 PM  
marcmy

Forum posts: 17
File comments: 6
Uploads: 0
Hi, since you don't have changelog I'm wondering if you fixed the issue with this addon detailed here:

http://www.esoui.com/forums/showthread.php?t=4563

I was often unable to pick locks due to a tooltip being invisible (alpha 0) but not hidden. Narrowed it down to this addon with the commands on page 2 and 3. Please let me know if it is fixed. Thanks in advance.
Report comment to moderator  
Reply With Quote
Unread 04/17/15, 06:35 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
manavortex retired from develompent?

looks like so
__________________
Report comment to moderator  
Reply With Quote
Unread 04/14/15, 06:48 PM  
Amevil801

Forum posts: 26
File comments: 31
Uploads: 0
Error at stable on the

I always get this error when ever I mouse over the horses on the buy tab at the stables.

Report comment to moderator  
Reply With Quote
Unread 03/29/15, 09:47 AM  
AssemblerManiac
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 270
Uploads: 1
new version soon

I've sent off a new version to ManaVortex. Hope to see it up here soon.

Tooltips setting now obeyed correctly (mostly)
Settings apply to each char now
Tooltip font size now a slider where you can see it's current value
Report comment to moderator  
Reply With Quote
Unread 03/29/15, 06:00 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
very often error

__________________
Last edited by QuadroTony : 03/29/15 at 06:19 AM.
Report comment to moderator  
Reply With Quote
Unread 03/29/15, 05:16 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
sometimes tooltips random appear on the mouseover inventory even if they off

- requet feature - total gold value, include all characters, like in Mobile Bank

- need an option to turn off tooltips when looking items in the store
__________________
Last edited by QuadroTony : 03/29/15 at 05:22 AM.
Report comment to moderator  
Reply With Quote
Unread 03/28/15, 10:30 AM  
Paspasote

Forum posts: 0
File comments: 8
Uploads: 0
Fix to lockpick issue

Originally Posted by Qalie
Originally Posted by Pedrolificus
Originally Posted by Qalie
No one else has ran into the lockpicking issue?
I've noticed the lockpicking issue. Recently disabled this addon because of the UI error when i mouse over anything, and the lockpick issue went away. Love Inventory Insight, want to use it again. But damn... people stealing my chests because i have to /reloadui to pick it is annoying. That and the mouse over issue which might just be i need to delete saved variables file.
Thank god. I thought I was going insane. I haven't used the addon in a while because of this - it was a pita to reload ui so frequently, but I'm trying to keep an eye on it. When I have a bit more time I'l reinstall it & check it out again, see if i can get more information or w/e.
Cheers!
~Qalie
Problem whit this addon is Tooltip animation. In "InventoryInsightFromAshes.IN2_CreateIN2ItemTooltipFrame()" function into file "InventoryInsightFromAshesTooltip.lua" there is a block of code to set a new Tooltip animation:
Code:
ItemTooltip.animation = ANIMATION_MANAGER:CreateTimelineFromVirtual("TooltipFadeOutAnimation", ItemTooltip)
ItemTooltip.animation:GetAnimation():GetTimeline():InsertCallback(function(...) ItemTooltip.animation:PlayFromStart() end, 0)
ItemTooltip.animation:GetAnimation():GetTimeline():InsertCallback(function(...) ItemTooltip:SetHidden(true) end, 50)
This code makes function "InventoryInsightFromAshes.IN2_TooltipUpdateHandler" into file "InventoryInsightFromAshes.lua" being called so many times (nearly infinite loop) and block all the UI.

To resolve this problem (until a better solution is found) just comment out the 3 lines above.
Report comment to moderator  
Reply With Quote
Unread 03/21/15, 02:48 PM  
AssemblerManiac
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 270
Uploads: 1
Re: Further information on tooltip info not shown on Loot Window

I can see how it was changed, and I'm pretty sure I know why.

Prior to this version, DBv2 was getting extremely large (my file was 11M). This is because the file had EVERY item ever put into inventory, or showing up in a guild bank (if you tracked guild bank items). This would have significantly slowed down the processing you found commented out. DBv2 now only holds CURRENT items, and discards items no longer in any bank or pack. Now maybe that old code can be reinstated without significant delays.

Thanks for finding this. See how it performs.

Originally Posted by Paspasote
I think I have found the problem.

The function "InventoryInsightFromAshes.IN2_QueryAccountInventory" in "InventoryInsightFromAshes.lua" has been incorrectly patched (modified).

The original code already compare items by ItemID instead by full ItemLink string. The function "InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference" does that.

Someone comment out the line:
for itemName, item in pairs(InventoryInsightFromAshes.data.DBv2) do

This "for" iterates all items on DBv2 to find all items matching the query item BY itemID (using the function nventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference) so It founds all the ocurrences.

Someone tried to avoid this massive search and tried to get the item info with this code line:
local item = InventoryInsightFromAshes.data.DBv2[itemLink]

Problem here is (as I said in my previous posts) itemLink is not always the same (not in Loot window) and it does not work. (Moreover, the call of the InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference function makes no sense and it should have been comment out too (this function always return True with this modification).

So the previous code is less efficient but at least works. Here is my patched code to make addon works again:

The InventoryInsightFromAshes.IN2_QueryAccountInventory(itemLink, itemName) function in InventoryInsightFromAshes.lua file must be modified with (I only write down modified block code):


Code:
    --local item = InventoryInsightFromAshes.data.DBv2[itemLink]
    --local itemName = itemLink
    -- the database holds all the information about the items. we need to get rid of this check. as soon as we have understood it.
    for itemName, item in pairs(InventoryInsightFromAshes.data.DBv2) do
        --if ((queryItem.link ~= nil) and (item ~= nil)) then
            if (InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference(itemName, queryItem.link)) then -- if the query item has been found
                for locationName, location in pairs(item) do
                    if (locationName ~= "attributes") then
                        AlreadySavedLoc = false
                        for x, QILocation in pairs(queryItem.locations) do
                            if (QILocation.name == locationName) then
                                QILocation.itemsFound = QILocation.itemsFound + location.itemCount
                                AlreadySavedLoc = true
                            end
                        end
                        if (not AlreadySavedLoc) and (location.itemCount > 0) then
                            newLocation = {}
                            newLocation.name = locationName
                            newLocation.itemsFound = location.itemCount
                            newLocation.worn = location.worn
                            table.insert(queryItem.locations, newLocation)
                        end
                    end
                end
            end
        --end
    end
    return queryItem

Still, it is posible to avoid this massive search and try to get item info from DB by a key but first a recoding must be done in Database structure (a new key is needed).

I'm working on it (i'll try to change key on DB to be the ItemID not the ItemLink)

P.D.: Is not my intention to upset addon authors and replace their excellent job. This is only a propose to make addon works better.
Report comment to moderator  
Reply With Quote
Unread 03/21/15, 08:34 AM  
Paspasote

Forum posts: 0
File comments: 8
Uploads: 0
Further information on tooltip info not shown on Loot Window

I think I have found the problem.

The function "InventoryInsightFromAshes.IN2_QueryAccountInventory" in "InventoryInsightFromAshes.lua" has been incorrectly patched (modified).

The original code already compare items by ItemID instead by full ItemLink string. The function "InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference" does that.

Someone comment out the line:
for itemName, item in pairs(InventoryInsightFromAshes.data.DBv2) do

This "for" iterates all items on DBv2 to find all items matching the query item BY itemID (using the function nventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference) so It founds all the ocurrences.

Someone tried to avoid this massive search and tried to get the item info with this code line:
local item = InventoryInsightFromAshes.data.DBv2[itemLink]

Problem here is (as I said in my previous posts) itemLink is not always the same (not in Loot window) and it does not work. (Moreover, the call of the InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference function makes no sense and it should have been comment out too (this function always return True with this modification).

So the previous code is less efficient but at least works. Here is my patched code to make addon works again:

The InventoryInsightFromAshes.IN2_QueryAccountInventory(itemLink, itemName) function in InventoryInsightFromAshes.lua file must be modified with (I only write down modified block code):


Code:
    --local item = InventoryInsightFromAshes.data.DBv2[itemLink]
    --local itemName = itemLink
    -- the database holds all the information about the items. we need to get rid of this check. as soon as we have understood it.
    for itemName, item in pairs(InventoryInsightFromAshes.data.DBv2) do
        --if ((queryItem.link ~= nil) and (item ~= nil)) then
            if (InventoryInsightFromAshes.IN2_CompareLinksUsingPlayerPreference(itemName, queryItem.link)) then -- if the query item has been found
                for locationName, location in pairs(item) do
                    if (locationName ~= "attributes") then
                        AlreadySavedLoc = false
                        for x, QILocation in pairs(queryItem.locations) do
                            if (QILocation.name == locationName) then
                                QILocation.itemsFound = QILocation.itemsFound + location.itemCount
                                AlreadySavedLoc = true
                            end
                        end
                        if (not AlreadySavedLoc) and (location.itemCount > 0) then
                            newLocation = {}
                            newLocation.name = locationName
                            newLocation.itemsFound = location.itemCount
                            newLocation.worn = location.worn
                            table.insert(queryItem.locations, newLocation)
                        end
                    end
                end
            end
        --end
    end
    return queryItem

Still, it is posible to avoid this massive search and try to get item info from DB by a key but first a recoding must be done in Database structure (a new key is needed).

I'm working on it (i'll try to change key on DB to be the ItemID not the ItemLink)

P.D.: Is not my intention to upset addon authors and replace their excellent job. This is only a propose to make addon works better.
Last edited by Paspasote : 03/21/15 at 09:31 AM.
Report comment to moderator  
Reply With Quote
Unread 03/21/15, 07:59 AM  
AssemblerManiac
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 270
Uploads: 1
Re: Re: Re: No info on Tooltip

Originally Posted by Paspasote
Originally Posted by AssemblerManiac

This is working well for me. I have counts showing up when I mouse over anything in inventory (for whatever chars have that item).
I'm going to explain this further...

Tooltips work in the Inventory, Guild and Bank Windows (and Inventory Insight Window too) but don't work on Loot Window.

If you look into addon code it is intended to show info on tooltip, even in this scenary (loot window) and this is very useful (IMO).

The problem here is the "key" used to find items in the Database is the full ItemLink but the ItemLink you get on Loot Window is slightly different so at the end addon can't find the item.

One possible solution for this problem is to change the "key" to be only the ItemID or the ItemName (not the full ItemLink string) becasuse these fields are always the same in all Windows. Maybe, even a combination of common properties of the ItemLink will be needed to distinguish different types of the same item (such as Quality, Lvl requirement and so on). I'm changing the addon code and trying to implement this solution.

If anyone (or addon author) is interested on this patch I can give further information.

P.D.: Sorry all for my bad English.
Ok. I get what your saying now. I'm not sure how to convert container ID into Pack ID for comparisons. Let me know what you come up with, and how well it works.
Report comment to moderator  
Reply With Quote
Unread 03/21/15, 06:11 AM  
Paspasote

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: No info on Tooltip

Originally Posted by AssemblerManiac

This is working well for me. I have counts showing up when I mouse over anything in inventory (for whatever chars have that item).
I'm going to explain this further...

Tooltips work in the Inventory, Guild and Bank Windows (and Inventory Insight Window too) but don't work on Loot Window.

If you look into addon code it is intended to show info on tooltip, even in this scenary (loot window) and this is very useful (IMO).

The problem here is the "key" used to find items in the Database is the full ItemLink but the ItemLink you get on Loot Window is slightly different so at the end addon can't find the item.

One possible solution for this problem is to change the "key" to be only the ItemID or the ItemName (not the full ItemLink string) becasuse these fields are always the same in all Windows. Maybe, even a combination of common properties of the ItemLink will be needed to distinguish different types of the same item (such as Quality, Lvl requirement and so on). I'm changing the addon code and trying to implement this solution.

If anyone (or addon author) is interested on this patch I can give further information.

P.D.: Sorry all for my bad English.
Last edited by Paspasote : 03/21/15 at 06:21 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.