You need to fill all the fields, not just SlotId.
Code:USEITEM int time SlotObject slotObject Location itemUsePos int useType SlotObject int objectId int slotId int objectType
var useitem = (UseItemPacket)Packet.Create(PacketType.USEITEM);
do I use useItem.SlotObject.SlotId = someslotval
You need to fill all the fields, not just SlotId.
Code:USEITEM int time SlotObject slotObject Location itemUsePos int useType SlotObject int objectId int slotId int objectType