Packet Offests
using the packet
i dont know if this packet right like this, becuase the item doesnot appear when i login!!
so my question whats wrong lol?
Code:
Length -> 0 Type -> 2 UInt32 itemId -> 4 UInt32 itemTypeId -> 8 UInt16 CurrentDura -> 12 UInt16 MaxDura -> 14 UInt16 Mode -> 16 byte Location -> 18 UInt16 SpecialType -> 22 byte FirstSocket -> 24 byte SecondSocket -> 25 byte Composition -> 28 byte Bless -> 29 byte isFree -> 30 byte Enchant -> 31 byte isLocked -> 38 byte Colour -> 40 UInt32 CompositionProgress -> 44
Code:
ItemInfoPacket i = new ItemInfoPacket();
i.Type=1008;
i.Length=48;
i.itemId = 1;
i.itemTypeId = 480329;
i.CurrentDura = 7000;
i.MaxDura = 7000;
i.Mode = 2;
i.Location = 4;
i.SpecialType = 0;
i.FirstSocket = 255;
i.SecondSocket = 255;
i.Composition = 12;
i.Bless = 7;
i.isFree = 0;
i.Enchant = 0;
i.isLocked = 0;
i.Colour = 2;
i.CompositionProgress = 0;
so my question whats wrong lol?