Difference between revisions of "ChatInstantMessageToClient"

From SWGANH Wiki
Jump to: navigation, search
m (Protected "ChatInstantMessageToClient": Page is complete. [edit=sysop:move=sysop])
 
(7 intermediate revisions by 2 users not shown)
Line 21: Line 21:
 
|{{u_string}}||'''Message'''
 
|{{u_string}}||'''Message'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''0'''
 
|-
 
|-
 
|}
 
|}
Line 35: Line 35:
  
 
* '''Game ID''':
 
* '''Game ID''':
The abreviation for the game. For us it will always be 'SWG'.
+
::The abreviation for the game. For us it will always be 'SWG'.
  
 
* '''Galaxy Name''':
 
* '''Galaxy Name''':
Galaxy in which the sending cleint is from.
+
::Galaxy in which the sending cleint is from.
  
 
* '''Message''':
 
* '''Message''':
Message to send to the target client in unicode.
+
::Message to send to the target client in unicode.
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 49: Line 50:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
|}
 
|}
 
----
 
----
 +
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
Insert Sample Packet Here...
+
04 00            // Op Count
 +
ED 5C 56 3C      // ChatInstantMessageToClient
 +
03 00            // string count
 +
53 57 47          // SWG = Game type
 +
05 00            // string count
 +
4C 6F 77 63 61    // Lowca = Server name
 +
05 00            // string count
 +
68 69 72 65 64    // hired = Player name
 +
03 00 00 00      // u-string count
 +
6C 00 6F 00 6C 00 // lol = message
 +
00 00 00 00
 
</pre>
 
</pre>

Latest revision as of 21:48, 6 January 2008

Server Packet - ChatInstantMessageToClient (3C565CED)

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 Opperand_Count
INT Opcode
A_STRING Game ID
A_STRING Galaxy Name
A_STRING Playername
U_STRING Message
INT 0

Variable Descriptions


Opperand_Count = 4

Opcode = 3C565CED


  • Game ID:
The abreviation for the game. For us it will always be 'SWG'.
  • Galaxy Name:
Galaxy in which the sending cleint is from.
  • Message:
Message to send to the target client in unicode.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

04 00             // Op Count
ED 5C 56 3C       // ChatInstantMessageToClient
03 00             // string count
53 57 47          // SWG = Game type
05 00             // string count
4C 6F 77 63 61    // Lowca = Server name
05 00             // string count
68 69 72 65 64    // hired = Player name
03 00 00 00       // u-string count
6C 00 6F 00 6C 00 // lol = message
00 00 00 00