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!
Packet 0x1A and itemid
Moderator: POL Developer
Re: Packet 0x1A and itemid
Object ID & 0x80000000 the serial is added into the packet like that
-
- New User
- Posts: 4
- Joined: Wed May 20, 2009 8:13 am
Re: Packet 0x1A and itemid
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.
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.