Hello ppl,
Not sure if this gonna help sm1 or not but it might be useful for you at some point.
This the 0x704C item type calculation for item usage.
First of all, i will write down the packet structure.
Opcode: 0x704C
byte slot
ushort itemType
uint uniqueID (optional - only if you are using pet items)
itemType is a calculation of 5 values (CashItem, TypeID1, TypeID2, TypeID3, TypeID4)
itemType = CashItem + (TypeID1 * 3) + (TypeID2 * 32) + (TypeID3 * 128) + (TypeID4 * 2048)
Good luck reversing the equation...
Note: 0xB04C [S->C] is using the same calculation.






