I know the Items blob contains a lot of stuff! Why not try to just get the item name to start with. Once you get that working add the other item info in.
To my knowledge, all data in the blob starts at a specified offset, and any text is null terminated (there can be and is garbage between that null and the next data offset) The data may also change format for different item types (bag, book, std item) personally I don't know if that is the case.
So to get the item name (the first field) get everything till you hit a null. The text field displayed if identify is cast is next (item lore), I don't know the offset at the moment, but same thing applies. Grab till the next null.
There was also some talk about decoding the blob for PHP pages a bit ago, you may want to glance at that. I'm not sure if it will apply to your programing...
I hope this helps
|