Thread Tools Display Modes
08/10/14, 06:59 AM   #1
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by @AlphaLemming View Post
Hi and thanks Garkin, had to read this earlier to prevent my night of trying to find this for myself

Do you know how to specify the trait ... i have both set item-id but some have divine, some are charged and some without anything and i do not find a system behind this.
For example 43971 -43975 are Spectre's Eye cloth but some have a trait some not, a number above its a complety other set ... weird.
Crafted shield:
|H1:item:43556:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = No trait
|H1:item:45048:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Sturdy
|H1:item:45083:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Inpenetrable
|H1:item:45118:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Reinforced
|H1:item:45153:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Well-Fitted
|H1:item:45188:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Training
|H1:item:45223:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Infused
|H1:item:45258:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Exploration
|H1:item:45293:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Divines
  Reply With Quote
08/10/14, 07:14 AM   #2
@AlphaLemming
 
@AlphaLemming's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 122
Wow, thanks for the fast answer - will see how this works with sets.
  Reply With Quote
08/11/14, 02:03 AM   #3
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Anybody up to writign a library for this data?
I mean it is a lot of data that a lot of addons could use. It does not look like you could do this without lookup tables.

So it would be best if there was a central library for this data that Inventory addons can use, rather then each and everyone making thier own implementation.
  Reply With Quote
08/11/14, 02:26 AM   #4
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by Garkin View Post
Crafted shield:
|H1:item:43556:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = No trait
|H1:item:45048:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Sturdy
|H1:item:45083:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Inpenetrable
|H1:item:45118:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Reinforced
|H1:item:45153:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Well-Fitted
|H1:item:45188:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Training
|H1:item:45223:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Infused
|H1:item:45258:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Exploration
|H1:item:45293:125:50:0:0:0:0:0:0:0:0:0:0:0:0:7:1:0:10000:0|h|h = Divines
I noticed a pattern. Excluding the No trait, all traits ID seems to be +35 relative to the previous traits ID.
It is possible thier list is ordered by Trait first, set/specific item second.
If so there would be a lot of untraited items between No Trait and Sturdy (+1492 if the offset between No Trait and Sturdy).

Another pattern is how many items you can craft right now:
7 Heavy Armor + 7 light armor + 7 medium armor = 21
4 Staves, 1 Bow, 1 Shield = 6
7 Metal working weapons = 7
21+6+7 = 34

There is still a slight discrepancy. But I noticed some entries in the Weapon Type enumeration that might account for the discrepancy:
WEAPONTYPE_AXE = 1
WEAPONTYPE_BOW = 8
WEAPONTYPE_DAGGER = 11
WEAPONTYPE_FIRE_STAFF = 12
WEAPONTYPE_FROST_STAFF = 13
WEAPONTYPE_HAMMER = 2
WEAPONTYPE_HEALING_STAFF = 9
WEAPONTYPE_LIGHTNING_STAFF = 15
WEAPONTYPE_NONE = 0
WEAPONTYPE_PROP = 7
WEAPONTYPE_RUNE = 10

WEAPONTYPE_SHIELD = 14
WEAPONTYPE_SWORD = 3
WEAPONTYPE_TWO_HANDED_AXE = 5
WEAPONTYPE_TWO_HANDED_HAMMER = 6
WEAPONTYPE_TWO_HANDED_SWORD = 4

ARMORTYPE_HEAVY = 3
ARMORTYPE_LIGHT = 1
ARMORTYPE_MEDIUM = 2
ARMORTYPE_NONE = 0

Last edited by zgrssd : 08/11/14 at 02:34 AM.
  Reply With Quote
08/11/14, 05:46 AM   #5
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Using my Excel-fu I managed to make a simple worksheet that can generate sequential item ID's, both for direct copy into the chat and for copy into a .lua files table initialiser.
It might help to figure out what the other 35 Items are to get a feel for the overall order behind this. And the excel sheet can help with that by generating the ID's for us.

I think they have a tree structure where items are ordered by trait.
Each item ID with specific trait is only a leaf belonging to a "trait branch". At least as far as "craftable items with traits" are concerned (hence the seperation of the Traitless item).


Let's start with the 71 ID between Sturdy Shield and Reinforced Shield.
ID's for Chat copy:
Warning: Spoiler

Running all up to ..85 throught the chat I get:
Warning: Spoiler


Powered is the first weapon Trait
Sturdy the first armor Trait
And I totally forgot the Jerkins (alternative light chest) in my original count, wich accounts for all 35 item types.
The "list" of items starts with Cuirass and ends with dagger, only to start again with the 2nd trait, then 3rd trait.
There should also be links for Ornate and Intricate Traits.

ID's for table initialiser:
Warning: Spoiler
Attached Files
File Type: zip ESO test itemlinks.zip (6.9 KB, 412 views)

Last edited by zgrssd : 08/11/14 at 11:12 AM.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Itemlinks with VR Ranks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off