Difference between revisions of "ChatQueryRoomResults"

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'''
+
|{{int}}||'''Present People Count'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|}
 +
{{beginlist|Present People|People Count}}
 +
:{| class="wikitable"
 +
|{{a_string}}||'''SWG'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{a_string}}||'''Galaxy'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{a_string}}||'''Character Name'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|}
 +
{{endlist|Present People}}
 +
{| class="wikitable"
 +
|{{int}}||'''Invited People Count'''
 +
|-
 +
|}
 +
{{beginlist|Invited People|People Count}}
 +
:{| class="wikitable"
 +
|{{a_string}}||'''SWG'''
 +
|-
 +
|{{a_string}}||'''Galaxy'''
 +
|-
 +
|{{a_string}}||'''Character Name'''
 +
|-
 +
|}
 +
{{endlist|Invited People}}
 +
{| class="wikitable"
 +
|{{int}}||'''Moderator Count'''
 +
|-
 +
|}
 +
{{beginlist|Moderators|People Count}}
 +
:{| class="wikitable"
 +
|{{a_string}}||'''SWG'''
 +
|-
 +
|{{a_string}}||'''Galaxy'''
 +
|-
 +
|{{a_string}}||'''Character Name'''
 +
|-
 +
|}
 +
{{endlist|Moderators}}
 +
{| class="wikitable"
 +
|{{int}}||'''Banned People Count'''
 +
|-
 +
|}
 +
{{beginlist|Banned People|People Count}}
 +
:{| class="wikitable"
 +
|{{a_string}}||'''SWG'''
 +
|-
 +
|{{a_string}}||'''Galaxy'''
 +
|-
 +
|{{a_string}}||'''Character Name'''
 +
|-
 +
|}
 +
{{endlist|Banned People}}
 +
{| class="wikitable"
 +
|{{int}}||'''Nothing'''
 +
|-
 +
|{{int}}||'''Room ID'''
 +
|-
 +
|{{int}}||'''Private'''
 +
|-
 +
|{{byte}}||'''Moderated'''
 +
|-
 +
|{{a_string}}||'''SWG'''
 +
|-
 +
|{{a_string}}||'''Galaxy'''
 +
|-
 +
|{{a_string}}||'''Channel Owner'''
 +
|-
 +
|{{a_string}}||'''SWG'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|{{a_string}}||'''Galaxy'''
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|{{a_string}}||'''Channel Creator'''
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{u_string}}||'''Room Title'''
 
|-
 
|-
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|{{int}}||'''Nothing'''
 
|-
 
|-
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
|{{int}}||'''Nothing'''
 
|-
 
|-
 
|}
 
|}
Line 48: Line 105:
 
----
 
----
  
* Additional Descriptions go here...
+
*Private
* --
+
:1: Yes
* ---
+
:Default: No
* ----
+
 
 +
*Moderated
 +
:0: No
 +
:1: Yes
  
 
|valign=top|
 
|valign=top|
Line 61: Line 121:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{25%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
Line 128: Line 188:
 
52 00 6F 00 75 00 73 00 65 00 // R.o.u.s.e.
 
52 00 6F 00 75 00 73 00 65 00 // R.o.u.s.e.
 
2D 00 73 00 77 00 67 00      // -.s.w.g
 
2D 00 73 00 77 00 67 00      // -.s.w.g
01 00 00 00                  // ???????????????????????????????
+
00 00 00 00                  // ???????????????????????????????
03 00                         // string count
+
00 00 00 00                  // ????????????????????????????
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
+
01 00 00 00                  // ????????????????????????????
+
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
+
0B 99                        //crc 
+
 
</pre>
 
</pre>

Revision as of 23:30, 20 June 2007


Struct


SHORT Operand Count
INT Opcode
INT Present People Count

<Present People count=People Count>

A_STRING SWG
A_STRING Galaxy
A_STRING Character Name

<Present People/>

INT Invited People Count

<Invited People count=People Count>

A_STRING SWG
A_STRING Galaxy
A_STRING Character Name

<Invited People/>

INT Moderator Count

<Moderators count=People Count>

A_STRING SWG
A_STRING Galaxy
A_STRING Character Name

<Moderators/>

INT Banned People Count

<Banned People count=People Count>

A_STRING SWG
A_STRING Galaxy
A_STRING Character Name

<Banned People/>

INT Nothing
INT Room ID
INT Private
BYTE Moderated
A_STRING SWG
A_STRING Galaxy
A_STRING Channel Owner
A_STRING SWG
A_STRING Galaxy
A_STRING Channel Creator
U_STRING Room Title
INT Nothing
INT Nothing

Variable Descriptions


Opperand_Count = 7

Opcode = C4DE864E


  • Private
1: Yes
Default: No
  • Moderated
0: No
1: Yes

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 
06 1A 
07 00                         // op count
4E 86 DE C4                   // ChatQueryRoomResults
01 00 00 00                   // ???????????????????????????????  
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
01 00 00 00                   // ??????????????????????????????? 
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
01 00 00 00                   // ??????????????????????????????? 
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
00 00 00 00                   // ???????????????????????????????
00 00 00 00                   // ???????????????????????????????
89 06 29 03                   // Room ID
01 00 00 00                   // ???????????????????????????????
01                            // ???????????????????????????????
22 00                                             // string count
53 57 47 2E 53 68                                 // SWG.Sh
61 64 6F 77 66 69 72 65 2E 74 75 74 6F 72 69 61   // adowfire.tutoria
6C 2E 43 68 61 74 2E 72 6F 75 73 65               // l.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
08 00                         // string count
72 75 62 69 6E 6C 65 65       // rubinlee
09 00 00 00                   // string count
52 00 6F 00 75 00 73 00 65 00 // R.o.u.s.e.
2D 00 73 00 77 00 67 00       // -.s.w.g
00 00 00 00                   // ???????????????????????????????
00 00 00 00                   // ????????????????????????????