Page 1 of 1

Packet 0x1A and itemid

Posted: Wed Mar 24, 2010 11:13 pm
by babybasher
I just cant for the life of me work this out. I'm trying to get the serial of an item, being the itemid when using the packet.

From testing when i do this

Print(packet.GetInt32(3))

It gives a number such as -1073721912 instead of the items serial number. Im sure im doing it right?

Any help is appreciated, thanks!

Re: Packet 0x1A and itemid

Posted: Thu Mar 25, 2010 12:14 am
by Tomi
Object ID & 0x80000000 the serial is added into the packet like that

Re: Packet 0x1A and itemid

Posted: Sun Mar 28, 2010 4:29 am
by babybasher
Ok i dont get it at all. Can someone explain it to me like im a 5 year old.

I figured i might just add 0x80000000 to the result, but that is always about 1 integer out of the result for the serial.

Any more help is appreciated.