Difference between revisions of "ChatOnInviteToRoom"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Struct)
Line 5: Line 5:
 
|-
 
|-
 
|}
 
|}
 +
 +
{| border="0" width="90%" cellpadding=6
 +
|-
 +
|valign=top|
 +
__NOTOC__
  
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
Line 14: Line 19:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{a_string}}||'''Channel'''
|-
+
|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'''
+
|{{int}}||'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|{{int}}|{{unknown}}
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|{{int}}||'''Header'''
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{long}}||'''ObjectID'''
 
|-
 
|-
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|{{int}}||'''TickCount'''
 
|-
 
|-
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
|{{uncertain}}||'''Data'''
 
|-
 
|-
 
|}
 
|}

Revision as of 06:52, 9 June 2007

Exquisite-khelpcenter.png Instructions
In order to keep all documentation the same format, please use the source to this page to begin a new packet description, the template contains all the options, simply remove what is not required and fill in the details.



Struct


A_STRING Channel
INT Opcode
INT ??
INT Header
LONG ObjectID
INT TickCount
? Data

Variable Descriptions


Opperand_Count = 5

Opcode = 0x493FE7A4


  • Additional Descriptions go here...
  • --
  • ---
  • ----

Tags


S→C This packet originates on the server.

25% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

00 09 
05 B6 
00 19 
65 
05 00 
4A E7 3F 49                                           // ChatOnInviteToRoom
22 00                                                 // String count
53 57 47 2E 53 68 61 64 6F 77 66 69 72 65 2E 74 75    // SWG.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  leader/maker of room
03 00                             // String count
53 57 47                          // SWG
0A 00                             // String count
53 68 61 64 6F 77 66 69 72 65     // Shadowfire
09 00                             // String count
73 70 65 74 79 6E 65 73 73        // spetyness // person invited
00 00 00 00