View Single Post
04/13/14, 04:35 PM   #1
Vicster0
 
Vicster0's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 82
Vicster's InventoryInsight

Inventory Insight - Data Gathering and Tooltip Modification AddOn
[Recently Patched: v0.4.0, please see most recent post!]
Author: Vicster0
Version: 0.4.0
Development future: I plan to continue to develop and refine this product until further notice. If this changes into the future, or I become unable to continue to dedicate time to this AddOn I will allow for another developer to take control.
Use License: Please feel free to use this code (and pieces, therein) as examples or templates for your development projects. However, I am retaining ownership of the intellectual property contained in or defined by this AddOn and will not allow minor or major modifications to be made and released under a different name without my prior consent. (Please messages me on the forums if you have any questions. [Vicster0]
Acknowledgements: I would like to thank the following developers as I was able to learn a lot from their code going through this project and for the ability to utilize their libraries where applicable:
  • Fayn - For their AddOn, "Recount".
  • ingeniousclown - For their AddOn, "Research Assistant."
  • Seerah - For their incredicly helpful and time saving library, "LibAddonMenu."
  • ESOUI and all of the community members on the forums for being a great group of helpful individuals.

Introduction
Are you a hoarder? Do you like to keep and collect everything little thing you come across? Or maybe you are like me and enjoy multiple forms of crafting and just can't see parting with crafting mats but have no place to store them! Having multiple mules to separate and store you items definitely helps with the suffocating constraints of limited bag space and shared banking across your account, but how do you intend to keep track of all your items? If you need that one specific stone for crafting an item with that sweet trait on it, how are you going to know if you have that stone available. And furthermore, how are you going to know on which character it is being stored!? You could do things the old fashioned way - pen and pad or maybe even a nice little work document, or you could do things the Vicster way! Fret no more! Allow me to introduce to you Vicster's InventoryInsight - Data Gathering and Tooltip Modification AddOn for The Elder Scrolls Online!

Player Features
  • Collects data from you characters' inventory and bank when logged in and stores this information for your entire account and encompassing characters.
  • Add information on the location and amount of items with the characters and bank on your account and provides this information to Popup and Item Tooltips in game!
  • Alleviates desk clutter by allowing you to "let go" of the old school pen and pad!
  • Makes your life and experience in the world of Tamriel more enjoyable!
  • And much much more to come in the future!

Notes/Issues
Due to the nature of itemization in TESO, ItemLinks for the same item do not match in some cases. For example, the level 1 LockPicks provided to characters who skip the Cold Harbor introduction are different (from the perspective of the ItemLink) than later acquired LockPicks. (I have no idea why this is the case but I am researching this.

AddOn DeveloperFeatures
Other AddOn developers can also use external functions in their own AddOns and add a dependency for InventoryInsight to do things such as search for items in the InventoryInsight saved data table!

For Example:
Lua Code:
  1. function IN2_QueryAccountInventory( itemLink,  itemName );
  2. --[[
  3.         receives:
  4.             itemLink - string; ZO formatted itemlink
  5.             itemName - string; plain text name of the item
  6.         returns: a queryItem object
  7.             Note: Providing an itemName string will result in the search
  8. using the name. Providing an itemLink will result in a more specific item
  9. search using ZO ItemLinks. Providing both will default to using the
  10. provided itemLink. Due to the nature of itemization in TESO, ItemLinks
  11. for the same item do not match in some cases. For example, the level 1
  12. LockPicks provided to characters who skip the Cold Harbor introduction
  13. are different (from the perspective of the ItemLink) than later acquired
  14. LockPicks. (I have no idea why this is the case but I am researching this.)
  15.        
  16.             queryItem = {
  17.                 link = itemLink;
  18.                                 name = itemName;
  19.                 locations = {
  20.                     [n] = {
  21.                         name = ""; -- name of the location found; {"Bank","{charactername}"}
  22.                         itemsFound = n; -- the number of items of this time found at this location
  23.                     }
  24.                 }
  25.             }
  26. ]]--

Last edited by Vicster0 : 05/10/14 at 12:44 PM.
  Reply With Quote