Description
Packet Name: Cliloc Message
Last Modified: 2009-03-02 07:58:53
Modified By: Turley
Packet: 0xC1
Sent By:
Server
Size: Variable
Packet Build
BYTE[1] cmd
BYTE[2] length
BYTE[4] id (0xffff for system message)
BYTE[2] body (0xff for system message)
BYTE[1] type (6 - lower left, 7 on player)
BYTE[2] hue
BYTE[2] font
BYTE[4] Message number
BYTE[30] - speaker's name
BYTE[?*2] - arguments // _little-endian_ unicode string, tabs ('\t') seperate the arguments. Null Terminated 0x0000
Subcommand Build
N/A
Notes
Argument example:
take number 1042762:
"Only ~1_AMOUNT~ gold could be deposited. A check for ~2_CHECK_AMOUNT~ gold was returned to you."
the arguments string may have "100 thousand\t25 hundred", which in turn would modify the string:
"Only 100 thousand gold could be deposited. A check for 25 hundred gold was returned to you."