Packet 0x1A and itemid

Here you can discuss packets, implementation and design, and software related to the packet sniffing and such. This is not the place to post packages for POL, but rather discuss the packet side of them.

Moderator: POL Developer

Post Reply
babybasher
New User
Posts: 4
Joined: Wed May 20, 2009 8:13 am

Packet 0x1A and itemid

Post 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!
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Packet 0x1A and itemid

Post by Tomi »

Object ID & 0x80000000 the serial is added into the packet like that
babybasher
New User
Posts: 4
Joined: Wed May 20, 2009 8:13 am

Re: Packet 0x1A and itemid

Post 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.
Post Reply