Secure trading packet
Posted: Mon Feb 23, 2009 3:29 am
Hi ya. One (maybe simple?;]) question.
How can I get the trading characters references from secure trading packet?
Packet Build
BYTE[1] cmd
BYTE[2] blockSize
BYTE[1] action
BYTE[4] id1
BYTE[4] id2
BYTE[4] id3
BYTE[1] nameFollowing (0 or 1)
If (nameFollowing = 1)
BYTE[?] charName
Should I take id1 and id2? And how should I get these references from the packet? Simply using var chars:=array{getInt32(4),getInt32(8)}; ? Thanks for any help.
How can I get the trading characters references from secure trading packet?
Packet Build
BYTE[1] cmd
BYTE[2] blockSize
BYTE[1] action
BYTE[4] id1
BYTE[4] id2
BYTE[4] id3
BYTE[1] nameFollowing (0 or 1)
If (nameFollowing = 1)
BYTE[?] charName
Should I take id1 and id2? And how should I get these references from the packet? Simply using var chars:=array{getInt32(4),getInt32(8)}; ? Thanks for any help.