Difference between revisions of "ChatSendToRoom"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Tags)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Client Packet|ChatSendToRoom (20E4DBE3)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{short}}||'''Opperand_Count'''
+
|{{short}}||'''Op Count'''
 
|-
 
|-
 
|{{int}}||'''Opcode'''
 
|{{int}}||'''Opcode'''
 
|-
 
|-
 
+
|{{u_string}}||'''Message'''
 
|-
 
|-
||...
+
|{{int}}||'''String Spacer'''
 +
|-
 +
|{{int}}||'''Room ID'''
 +
|-
 +
|{{int}}||'''Message Counter'''
 +
|}
 
|}
 
|}
  
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
 
  
 
Opperand_Count     = '''1'''
 
Opperand_Count     = '''1'''
  
 
Opcode     = '''20E4DBE3'''
 
Opcode     = '''20E4DBE3'''
 +
----
 +
* Message
 +
:chat or text sent to the room
  
 
|valign=top|
 
|valign=top|
Line 40: Line 48:
 
||{{ClientPacket}}
 
||{{ClientPacket}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
  
 
<pre>
 
<pre>
00 09
+
05 00       // Op Count
00 55
+
E3 DB E4 20 // ChatSendToRoom
05 00  
+
12 00 00 00                                           // string count
E3 DB E4 20                                     // ChatSendToRoom
+
74 00 65 00 73 00 74 00 69 00 6E 00 67 00 20 00 67 00 // t.e.s.t.i.n.g. .g.
12 00 00 00                                     // string count
+
75 00 69 00 6C 00 64 00 20 00 63 00 68 00 61 00 74 00 // u.i.l.d...c.h.a.t.
74 00                                           // t.
+
00 00 00 00 // string spacer
65 00 73 00 74 00 69 00 6E 00 67 00 20 00 67 00 // e.s.t.i.n.g...g.
+
75 00 69 00 6C 00 64 00 20 00 63 00 68 00 61 00 // u.i.l.d...c.h.a.
+
74 00                                            // t
+
00 00 00 00  
+
 
68 D5 28 03 // room ID
 
68 D5 28 03 // room ID
01 00 00  
+
01 00 00 00 // Message counter
00 AD F9     
+
 
</pre>
 
</pre>

Latest revision as of 18:16, 6 January 2008

Client Packet - ChatSendToRoom (20E4DBE3)

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 Op Count
INT Opcode
U_STRING Message
INT String Spacer
INT Room ID
INT Message Counter

Variable Descriptions


Opperand_Count = 1

Opcode = 20E4DBE3


  • Message
chat or text sent to the room

Details


This packet is ...


Tags


C→S This packet originates on the client.

100% This packet has been completely reversed.

Sample Packet

05 00       // Op Count
E3 DB E4 20 // ChatSendToRoom
12 00 00 00                                           // string count
74 00 65 00 73 00 74 00 69 00 6E 00 67 00 20 00 67 00 // t.e.s.t.i.n.g. .g.
75 00 69 00 6C 00 64 00 20 00 63 00 68 00 61 00 74 00 // u.i.l.d...c.h.a.t.
00 00 00 00 // string spacer
68 D5 28 03 // room ID
01 00 00 00 // Message counter