Difference between revisions of "ChatOnSendRoomMessage"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{|
 
|- align="center"
 
||{{PacketGuide}}
 
|-
 
|}
 
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 14: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{int}}||'''Operand Count'''
|-
+
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|-
+
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|-
+
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|-
+
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|-
+
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|-
+
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|-
+
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|-
+
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|{{int}}||'''Success Bitmask'''
 
|-
 
|-
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
|{{int}}||'''Counter'''
 
|-
 
|-
 
|}
 
|}
Line 43: Line 22:
 
----
 
----
  
Opperand_Count     = '''9'''
+
Opperand_Count     = '''3'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''E7B61633'''
 
----
 
----
  
* Additional Descriptions go here...
+
*Success
* --
+
:0: Succeded, nothing displayed
* ---
+
:0x10: Too large
* ----
+
  
 
|valign=top|
 
|valign=top|
Line 60: Line 38:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}

Revision as of 00:14, 21 June 2007


Struct


INT Operand Count
INT Opcode
INT Success Bitmask
INT Counter

Variable Descriptions


Opperand_Count = 3

Opcode = E7B61633


  • Success
0: Succeded, nothing displayed
0x10: Too large

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Data A
ChatOnSendRoomMessage

199.108.197.147:44463 -> 192.168.0.161:4834(Server -> Client)
Enc: T   Comp: T    Seed: 0xFBB51320    Length: 102

00 09 
05 B6 
00 19 
0E 
03 00 
33 16 B6 E7                   // ChatOnSendRoomMessage
00 00 00 00 
01 00 00 00 
4E 
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
12 00 00 00                                      // string count
74 00 65 00                                      // t.e.
73 00 74 00 69 00 6E 00 67 00 20 00 67 00 75 00  // s.t.i.n.g...g.u.
69 00 6C 00 64 00 20 00 63 00 68 00 61 00 74     // i.l.d...c.h.a.t.
00 00 00 00 
00 10 ED