Difference between revisions of "ChatRoomMessage"
From SWGANH Wiki
(→Tags) |
|||
(11 intermediate revisions by 3 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 6: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 12: | Line 13: | ||
|- | |- | ||
|{{int}}|'''Opcode''' | |{{int}}|'''Opcode''' | ||
− | |||
− | |||
|- | |- | ||
|{{a_string}}|'''Game Name''' | |{{a_string}}|'''Game Name''' | ||
− | |||
− | |||
|- | |- | ||
|{{a_string}}|'''Galaxy Name''' | |{{a_string}}|'''Galaxy Name''' | ||
− | |||
− | |||
|- | |- | ||
|{{a_string}}|'''Character Name''' | |{{a_string}}|'''Character Name''' | ||
|- | |- | ||
− | |{{int}}|''' | + | |{{int}}|'''Room ID''' |
|- | |- | ||
− | |{{u_string}}|''' | + | |{{u_string}}|'''Message''' |
|- | |- | ||
− | |{{ | + | |{{u_string}}|'''OutOfBandPackage''' |
|- | |- | ||
+ | |} | ||
|} | |} | ||
Line 63: | Line 59: | ||
* '''Chat''' | * '''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| | ||
Line 76: | 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]] | [[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