Difference between revisions of "ChatRoomList"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
(Struct)
Line 9: Line 9:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{short}}||'''Operand_Count'''
+
|{{short}}|'''Operand_Count'''
 
|-
 
|-
|{{int}}||'''Opcode'''
+
|{{int}}|'''Opcode'''
 
|-
 
|-
|{{int}}||'''Numberof_Chatrooms'''
+
|{{int}}|'''Numberof_Chatrooms'''
 
|-
 
|-
|{{int}}||'''ChatRoom_ID'''
+
|{{int}}|'''ChatRoom_ID'''
 
|-
 
|-
|{{int}}||'''NumberOf_RoomNames'''
+
|{{int}}|'''NumberOf_RoomNames'''
 
|-
 
|-
|{{byte}}||{{unknown}}}
+
|{{byte}}|{{unknown}}}
 
|-
 
|-
|{{short}}||'''SizeOf_RoomName'''
+
|{{short}}|'''SizeOf_RoomName'''
 
|-
 
|-
|{{a_string}}||'''RoomName'''
+
|{{a_string}}|'''RoomName'''
 
|-
 
|-
|{{short}}||'''SizeOf_ChannelOwner'''
+
|{{short}}|'''SizeOf_ChannelOwner'''
 
|-
 
|-
|{{a_string}}||'''ChannelOwner'''
+
|{{a_string}}|'''ChannelOwner'''
 
|-
 
|-
 
|}
 
|}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{short}}||'''SizeOf_ChannelCreator'''
+
|{{short}}|'''SizeOf_ChannelCreator'''
 
|-
 
|-
|{{a_string}}||'''ChannelCreator'''
+
|{{a_string}}|'''ChannelCreator'''
 
|-
 
|-
 
|}
 
|}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{short}}||'''SizeOf_RoomTitle'''
+
|{{short}}|'''SizeOf_RoomTitle'''
 
|-
 
|-
|{{a_string}}||'''RoomTitle'''
+
|{{a_string}}|'''RoomTitle'''
 
|-
 
|-
 
|}
 
|}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{int}}||'''NumberOfRoomModerators'''
+
|{{int}}|'''NumberOfRoomModerators'''
 
|-
 
|-
|{{short}}||'''SizeOf_Channel_Moderator'''
+
|{{short}}|'''SizeOf_Channel_Moderator'''
 
|-
 
|-
|{{a_string}}||'''ChannelModerator'''
+
|{{a_string}}|'''ChannelModerator'''
 
|-
 
|-
 
|}
 
|}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|{{short}}||'''NumberOf_UsersInChatRoom'''
+
|{{short}}|'''NumberOf_UsersInChatRoom'''
 
|-
 
|-
|{{a_string}}||'''Users'''
+
|{{a_string}}|'''Users'''
 
|-
 
|-
 
|}
 
|}

Revision as of 05:12, 1 April 2007


Struct


SHORT Operand_Count
INT Opcode
INT Numberof_Chatrooms
INT ChatRoom_ID
INT NumberOf_RoomNames
BYTE ??

}

SHORT SizeOf_RoomName
A_STRING RoomName
SHORT SizeOf_ChannelOwner
A_STRING ChannelOwner
SHORT SizeOf_ChannelCreator
A_STRING ChannelCreator
SHORT SizeOf_RoomTitle
A_STRING RoomTitle
INT NumberOfRoomModerators
SHORT SizeOf_Channel_Moderator
A_STRING ChannelModerator
SHORT NumberOf_UsersInChatRoom
A_STRING Users

Variable Descriptions


Opperand_Count = 2

Opcode = 70DEB197


  • NumberOf_ChatRooms
Add 1 to the count, for each chatroom listed in the packet
  • chatroom_id
Add each chatroom id, for the Number of Chatrooms
  • NumberOf_RoomNames
Add 1 to the count,for each Roomname Listed in the packet
  • Unknown
(ByteFlag) Needs Looking into, thinking its for Moderated,private or Public
  • SizeOf_RoomName
The size of the roomname listed in packet
  • Roomname
Name of the room, Repeat For each room in above size
  • ChannelOwner
Add Size and NAme for each Name u add onto the First, Example SWG Add tony to the bottom will make SWG.tony
  • ChannelCreator
Same Rule Applys to Above
  • Roomtitle
Name of room title In Unicode
  • RoomModeratorNumber
Add 1 to the list of moderators
  • ChannelModerator
Add Size and NAme for each Name u add onto the First, Example SWG Add tony to the bottom will make SWG.tony
  • Users
Add size and name and +1 to the NumberOfUsers Int

Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...