Difference between revisions of "ChatRoomMessage"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Tags)
 
Line 73: Line 73:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}

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


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

Variable Descriptions


Opperand_Count = 5

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.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

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