Difference between revisions of "ChatQueryRoomResults"

From SWGANH Wiki
Jump to: navigation, search
(Variable Descriptions)
(Struct)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
{| align="center"
+
<pre>
|-
+
SHORT: OperandCount
||
+
INT: Opcode
{| class="wikitable"
+
INT: UserListSize
|-
+
{
|{{short}}||'''Operand Count'''
+
  ASTRING: Game
|-
+
  ASTRING: Server
|{{int}}||'''Opcode'''
+
  ASTRING: UserName
|-
+
}
|{{int}}||'''Present People Count'''
+
INT: InvitedUserListSize
|-
+
{
|}
+
  ASTRING: Game
{{beginlist|Present People|People Count}}
+
  ASTRING: Server
:{| class="wikitable"
+
  ASTRING: InvitedUserName
|{{a_string}}||'''SWG'''
+
}
|-
+
INT: ModeratorListSize
|{{a_string}}||'''Galaxy'''
+
{
|-
+
  ASTRING: Game
|{{a_string}}||'''Character Name'''
+
  ASTRING: Server
|-
+
  ASTRING: ModeratorName
|}
+
}
{{endlist|Present People}}
+
INT: BannedUserListSize
{| class="wikitable"
+
{
|{{int}}||'''Invited People Count'''
+
  ASTRING: Game
|-
+
  ASTRING: Server
|}
+
  ASTRING: BannedUserName
{{beginlist|Invited People|People Count}}
+
}
:{| class="wikitable"
+
INT: RequestID
|{{a_string}}||'''SWG'''
+
INT: RoomID
|-
+
INT: PrivateFlag
|{{a_string}}||'''Galaxy'''
+
BYTE: ModeratedFlag
|-
+
ASTRING: RoomPathName
|{{a_string}}||'''Character Name'''
+
ASTRING: Game
|-
+
ASTRING: Server
|}
+
ASTRING: Owner
{{endlist|Invited People}}
+
ASTRING: Game
{| class="wikitable"
+
ASTRING: Server
|{{int}}||'''Moderator Count'''
+
ASTRING: Creator
|-
+
USTRING: RoomTitle
|}
+
INT: ModeratorListSize
{{beginlist|Moderators|People Count}}
+
{
:{| class="wikitable"
+
  ASTRING: Game
|{{a_string}}||'''SWG'''
+
  ASTRING: Server
|-
+
  ASTRING: ModeratorName
|{{a_string}}||'''Galaxy'''
+
}
|-
+
INT: UserListSize
|{{a_string}}||'''Character Name'''
+
{
|-
+
  ASTRING: Game
|}
+
  ASTRING: Server
{{endlist|Moderators}}
+
  ASTRING: UserName
{| class="wikitable"
+
}
|{{int}}||'''Banned People Count'''
+
</pre>
|-
+
|}
+
{{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'''
+
|-
+
|{{a_string}}||'''Galaxy'''
+
|-
+
|{{a_string}}||'''Channel Creator'''
+
|-
+
|{{u_string}}||'''Room Title'''
+
|-
+
|{{int}}||'''Nothing'''
+
|-
+
|{{int}}||'''Nothing'''
+
|-
+
|}
+
|}
+
  
 
===Variable Descriptions===
 
===Variable Descriptions===

Revision as of 01:34, 11 May 2008

Server Packet - ChatQueryRoomResults (C4DE864E)

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: 		OperandCount
INT: 		Opcode
INT: 		UserListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	UserName
}
INT: 		InvitedUserListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	InvitedUserName
}
INT: 		ModeratorListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	ModeratorName
}
INT: 		BannedUserListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	BannedUserName
}
INT:		RequestID
INT: 		RoomID
INT: 		PrivateFlag
BYTE: 		ModeratedFlag
ASTRING: 	RoomPathName
ASTRING: 	Game
ASTRING: 	Server
ASTRING: 	Owner
ASTRING: 	Game
ASTRING: 	Server
ASTRING: 	Creator
USTRING: 	RoomTitle
INT: 		ModeratorListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	ModeratorName
}
INT: 		UserListSize
{
  ASTRING: 	Game
  ASTRING: 	Server
  ASTRING: 	UserName
}

Variable Descriptions


Opperand_Count = 7

Opcode = C4DE864E


  • Private
1: Yes
Default: No
  • Moderated
0: No
1: Yes
  • Example
Chat Room Query
Banned shows a circle with a line through it under invited.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.

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                   // ????????????????????????????