Hi guys
I am working at a shaiya server project, and now I got a problem:
What does each byte in the
0x0205 (inventory item added) data packet (sent from server) represent?
Is there anyone who can help me? thank you!
Here is my guess:
HTML Code:
0-1 :0x0205 (packet header)
---------------------------------
2 : (byte) BagIndex
3 : (byte) SlotIndex
4 : (byte) Item Type
5 : (byte) Item TypeId
6 : (byte) Item Quantity
7-8 : (ushort) Item Quality (for equipment item, or 0 for other item)
9-12 : (uint) Gold (If the character picks up the gold)
13-36 : (int[6]) Linked Gems (for equipment item)
37-59 : (byte[23]) Unkown Bytes, what do these bytes mean?
60 : (bool) Has been dyed (for equipment item)
61-64 : (byte[4]) Equipment Color: Alpha, R, G, B
65-86 : (byte[22]) Unkown Bytes, what do these bytes mean?
87-106 : (byte[20]) CraftName (for equipment item) (orange stat)
107 : (bool) always true, not sure, what does this byte mean?
Does anyone know what the bytes in these three areas represent?