View Single Post
09/27/15, 04:14 PM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by QuadroTony View Post
i noticed the same part can have at least two variants
why?


BEFORE i list it to the store:
|H1:item:57842:5:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h

AFTER i list it to the store it become
|H1:item:57842:5:50:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|h|h


meet it with legs also and i believe with other parts too it must be reproduceable

So for example if player will try to search with AGS using itemlink in text field from his inventory he will found NOTHING
so he need to change itemlink first and replace 1 with 50
I don't really see this as a bug. This is how it works for many different items types, it is not just with motifs.
For example crafting material can have different level (3rd value after "item"), glyphs can have different motif (16th value), all items has information if item is stolen (19th value) etc.
You can't just directly compare two item links as a string and tell if both links are the same item.

For ITEMTYPE_RACIAL_STYLE_MOTIF you need just itemId. Even if you change other values such as level or quality item link will look always the same.
  Reply With Quote