Difference between revisions of "ChatOnUninviteFromRoom"

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'''
+
|{{short}}||'''Operand Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|{{a_string}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|{{int}}||'''Success Bitmask'''
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{int}}||'''Counter'''
|-
+
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|-
+
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
 
|-
 
|-
 
|}
 
|}
Line 48: Line 39:
 
----
 
----
  
* Additional Descriptions go here...
+
*All those a_strings
* --
+
:They don't do anything, send the length as 0
* ---
+
 
* ----
+
*Success Bitmask
 +
:0: Success
 +
:4: Avatar not found
 +
:16: Too long
 +
 
 +
*Counter
 +
:Increment this every time you send it. 
  
 
|valign=top|
 
|valign=top|
Line 61: Line 58:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}

Revision as of 23:50, 20 June 2007


Struct


SHORT Operand Count
INT Opcode
A_STRING Nothing
A_STRING Nothing
A_STRING Nothing
A_STRING Nothing
A_STRING Nothing
A_STRING Nothing
INT Success Bitmask
INT Counter

Variable Descriptions


Opperand_Count = 6

Opcode = BE33C7E8


  • All those a_strings
They don't do anything, send the length as 0
  • Success Bitmask
0: Success
4: Avatar not found
16: Too long
  • Counter
Increment this every time you send it.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

00 09 
05 0C 
00 19 
65 
06 00 
E8 C7 33 BE                                         // ChatOnUninviteFromRoom
22 00                                               // string count
53 57 47 2E 53 68 61 64 6F 77 66 69 72 65 2E 74 75  // WG.Shadowfire.tu
74 6F 72 69 61 6C 2E 43 68 61 74 2E 72 6F 75 73 65  // torial.Chat.rouse
03 00                              // string count
53 57 47                           // SWG
0A 00                              // string count
53 68 61 64 6F 77 66 69 72 65      // Shadowfire
08 00                              // string count
72 75 62 69 6E 6C 65 65            // rubinlee
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
72 6F 75 73 65                     // rouse
00 00 00 00 
01 00 00 00 // maybe the uninvite flag???????
F3