Difference between revisions of "ChatRoomList"

From SWGANH Wiki
Jump to: navigation, search
 
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}}||'''Numberof_Chatrooms'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{int}}||'''ChatRoom_ID'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{int}}||'''NumberOf_RoomNames'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{byte}}||'''Lookinto'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|{{short}}||'''SizeOf_RoomName'''
 
|-
 
|-
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|{{a_string}}||'''RoomName'''
 
|-
 
|-
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|{{short}}||'''SizeOf_ChannelOwner'''
 
|-
 
|-
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|{{a_string}}||'''ChannelOwner'''
 
|-
 
|-
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|}
 +
 
 +
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
|{{short}}||'''SizeOf_ChannelCreator'''
 +
|-
 +
|{{a_string}}||'''ChannelCreator'''
 
|-
 
|-
 
|}
 
|}
  
 +
{| class="wikitable"
 +
|-
 +
|{{short}}||'''SizeOf_RoomTitle'''
 +
|-
 +
|{{a_string}}||'''RoomTitle'''
 +
|-
 +
|}
 +
 +
 +
{| class="wikitable"
 +
|-
 +
|{{int}}||'''NumberOfRoomModerators'''
 +
|-
 +
|{{short}}||'''SizeOf_Channel_Moderator'''
 +
|-
 +
|{{a_string}}||'''ChannelModerator'''
 +
|-
 +
|}
 +
 +
 +
{| class="wikitable"
 +
|-
 +
|{{short}}||'''NumberOf_UsersInChatRoom'''
 +
|-
 +
|{{a_string}}||'''Users'''
 +
|-
 +
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
  
Opperand_Count     = '''9'''
+
Opperand_Count     = '''2'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''70DEB197'''
 
----
 
----
  
* Additional Descriptions go here...
+
* '''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
 +
 
 +
* '''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
  
 
|valign=top|
 
|valign=top|
Line 60: Line 117:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}

Revision as of 21:52, 31 March 2007


Struct


SHORT Operand_Count
INT Opcode
INT Numberof_Chatrooms
INT ChatRoom_ID
INT NumberOf_RoomNames
BYTE Lookinto
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
  • 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.

100% This packet has been completely reversed.


Sample Code


Insert Code Snippet Here...

Sample Packet

Insert Sample Packet Here...