Difference between revisions of "ChatRoomMessage"
From SWGANH Wiki
(→Tags) |
|||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Server Packet|ChatRoomMessage (CD4CE444)}} | |
− | {| | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 11: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | |{{short}}|'''Operand Count''' |
|- | |- | ||
− | | | + | |{{int}}|'''Opcode''' |
|- | |- | ||
− | | | + | |{{a_string}}|'''Game Name''' |
|- | |- | ||
− | | | + | |{{a_string}}|'''Galaxy Name''' |
|- | |- | ||
− | | | + | |{{a_string}}|'''Character Name''' |
|- | |- | ||
− | | | + | |{{int}}|'''Room ID''' |
|- | |- | ||
− | | | + | |{{u_string}}|'''Message''' |
|- | |- | ||
− | | | + | |{{u_string}}|'''OutOfBandPackage''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |} | ||
|} | |} | ||
Line 43: | Line 32: | ||
---- | ---- | ||
− | Opperand_Count = ''' | + | Opperand_Count = '''5''' |
− | Opcode = ''' | + | Opcode = '''CD4CE444''' |
---- | ---- | ||
− | * | + | * '''Game Name Size''' |
− | * | + | :Size of the Game Name, only seen SWG. |
− | * | + | |
− | * | + | * '''Game Name''' |
+ | :As above SWG | ||
+ | |||
+ | * '''Galaxy Name Size''' | ||
+ | :Size of the Galaxy Name | ||
+ | |||
+ | * '''Galaxy Name''' | ||
+ | :Example 'Bria' | ||
+ | |||
+ | * '''Character Name Size''' | ||
+ | :Size of belows Character name | ||
+ | |||
+ | * '''Character Name''' | ||
+ | :Character name thats Sending the Chat | ||
+ | |||
+ | * '''Chat Size''' | ||
+ | :Size of Unicode Chat Coming from client | ||
+ | |||
+ | * '''Chat''' | ||
+ | :The unicode text of the message being sent. | ||
+ | |||
+ | * '''OutOfBandPackage''' | ||
+ | :OutOfBand Packages are structures used to send objects with a message. They are available here, but are only USED in emails. The client will not send one for chat. | ||
+ | HOWEVER: The server can be coded to send one as a script or system event. The STRUCT is not filled out because they can be big. They have their own seperate page, see Additional Info. | ||
|valign=top| | |valign=top| | ||
+ | |||
===Tags=== | ===Tags=== | ||
---- | ---- | ||
Line 60: | Line 73: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
<pre> | <pre> | ||
− | + | 05 00 | |
+ | 44 E4 4C CD // ChatRoomMessage | ||
+ | 03 00 // string count | ||
+ | 53 57 47 // SWG | ||
+ | 0A 00 // String count | ||
+ | 53 68 61 64 6F 77 66 69 72 65 // Shadowfire | ||
+ | 05 00 // string count | ||
+ | 65 73 27 65 6D // es'em | ||
+ | 68 D5 28 03 // Room ID | ||
+ | 0D 00 00 00 // string count | ||
+ | 61 00 6E 00 79 00 // a.n.y. | ||
+ | 6F 00 6E 00 65 00 20 00 61 00 72 00 6F 00 75 00 // o.n.e...a.r.o.u. | ||
+ | 6E 00 64 00 // n.d | ||
+ | 00 00 00 00 | ||
</pre> | </pre> | ||
+ | [[Category:Nogard]] |
Latest revision as of 06:50, 11 May 2008
Server Packet - ChatRoomMessage (CD4CE444)
SWGANH Wiki is a repository of Star Wars Galaxies Developer information. This site is only meant to be used by SWGANH Developer team.
Struct
Variable DescriptionsOpperand_Count = 5 Opcode = CD4CE444
HOWEVER: The server can be coded to send one as a script or system event. The STRUCT is not filled out because they can be big. They have their own seperate page, see Additional Info. |
Tags
|
Sample Packet
05 00 44 E4 4C CD // ChatRoomMessage 03 00 // string count 53 57 47 // SWG 0A 00 // String count 53 68 61 64 6F 77 66 69 72 65 // Shadowfire 05 00 // string count 65 73 27 65 6D // es'em 68 D5 28 03 // Room ID 0D 00 00 00 // string count 61 00 6E 00 79 00 // a.n.y. 6F 00 6E 00 65 00 20 00 61 00 72 00 6F 00 75 00 // o.n.e...a.r.o.u. 6E 00 64 00 // n.d 00 00 00 00