View Single Post
05/28/14, 03:37 PM   #3
thelegendaryof
 
thelegendaryof's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 161
Those ID 's aren't a unique Identifier. Meaning it 's only a Template ID. There is no unique ID known/accessible which would ultimately identify an item. One could construct it with Enchantment + Template-ID + Level-Requirement + Quality but that 's bound to have a lot of duplicated and wrong entries for example for Legendary or Set-Equipment.

However:

http://www.esoui.com/downloads/info4...izedItems.html

Lua Code:
  1. function LocIT:GetIdsFromItemName(name, language)

However that only works with Template-Names and returns all ID 's for it (for example "Greatsword" or unique Itemnames). I didn't implement a method to search for constructed names (the names you see in Tooltips and Itemlinks) yet. If you'd like that I could implement it in the next version to get the correct (LVL and Qualitybound) Base-ID. Weh sounds a bit confusing I know ...

ESOHEAD for example holds mostly Template-Names:

http://esohead.com/items#

Feel free to have a look at the Source-Code of "Localized Items" to get to know it better - and/or use it as a dependency. Wouldn't recommend to include/copy it in your own addon as it holds data of over 16.000 templates that 's a) much data and b) bound to be outdated if one doesn't manage it from time to time (which I do)

Last edited by thelegendaryof : 05/28/14 at 03:51 PM.
  Reply With Quote