To reproduce the sniffed packet:
Code:
PutItem.WriteUInt8(02); // command
PutItem.WriteUInt8(01); // stall slot 1
PutItem.WriteUInt8(0x15); // inv slot 0x15
PutItem.WriteUInt16(1); // stack count
PutItem.WriteUInt64(1); // price: 1 gold
PutItem.WriteUInt8(0x2A); // TypeIdGroup
PutItem.WriteUInt8(00); // fix
PutItem.WriteUInt8(00); // fix
PutItem.WriteUInt8(00); // fix
PutItem.WriteUInt8(00); // fix
PutItem.WriteUInt8(00); // fix
Its not that easy to get the TypeIdGroup..
You have to parse the Media.pk2..