Updating Item Description

11/30/2010 16:04 Interest07#1
If you are looking for the descriptions of items in your inventory for example, you loop through the items in your inventory and check

[[itemPointer + 0x40] + 0x0]

for a unicode string with the item description. This was of course great, until I realised this value is only populated if you have hovered over the item before. So after some searching it appeared that when updating an item description in inventory [[itemPointer + 0] + 0x34] is called. Naturally I tried injecting a function call to this function and woohoo, it seemed to work. But, not always. For random items it is refusing to update the item description and it will just return a blank string, most of the time it will work, but not always.

I'm getting a bit annoyed with it now, so I was wondering if anybody has any advice on how to tackle this issue...

I've tried doing it with for example a cat shop with 2 accounts looking at those items at the same time, and both ended up missing different item descriptions. It can be any type of item that can fail... DQ items, equipment, resources, it seems totally random.

Anyway, I'd love some advice for this problem :)
11/30/2010 16:16 Sᴡoosh#2
I made my own database for Item names, and for durability / price / Requirements I use the Item struct, so I have no real need for the description. Though if I would use it, I would write a procedure that gatehrs all description matching a Item ID into a database, and check upon hover if it is new, then add it to other Items.

Not sure if you got what I mean (I fail to express myself) :)

Cheers
02/23/2015 08:07 DrSMERTb#3
I want to get a description of the customer's items. I work with version 1.5.1 . Address an item looks like [BA + 0x1C + 0x30 + 0xF74 + 0x10 + I * 0x4], but I can not find the update function description .