Someone by the name of Kagaamine has figured out how to link the exact stats.
Just run this code at a site like
http://codepad.org/ :
(Replace the item link with your own, of course, and retain the format of |HItem)
Code
from ctypes import c_uint32, c_int32
unid = "|HItem:2,-231801345:549336294:-257301016,-970660882,-51094511,597015772:-1:0:130731:4:34:8:510:510:0:0:6:0:-1576667774:|h[Decapitator]|h"
def hashString(s):
h = 0
for c in s:
h = c_uint32((h * 0x21) + ord(c)).value
return h
def IDLink(s):
parts = s.split(":")
# unid link has affixes in reverse order
affixes = parts[3].split(',')
affixes.reverse()
parts[3] = ','.join(affixes)
# 0x1 on this flag apparently means ID
parts[9] = str(int(parts[9]) | 0x1)
hash_input = ':'.join(parts[1:-2]) + ':'
link_hash = c_int32(hashString(hash_input)).value
parts[-2] = str(link_hash)
id = ':'.join(parts)
return id
print IDLink(unid)
You can now link the output |HItem:<stuff here> in-game and it will form the actual item, item name, and the stats on the item.
(You should link this to yourself in the AH.)
This post was edited by roflcopter666 on Jul 16 2012 12:59pm