ChatOnCreateRoom

From SWGANH Wiki
Revision as of 21:44, 6 April 2008 by Snow (Talk | contribs) (Struct)

Jump to: navigation, search

Server Packet - ChatOnCreateRoom (35D7CC9F)

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 Op Count
INT Opcode
INT ErrorCode
INT ChatRoom ID
INT Private Flag
BYTE Moderated Flag
A_STRING Room Full Address
A_STRING Game
A_STRING Galaxy
A_STRING Creator
A_STRING Game
A_STRING Galaxy
A_STRING Owner
U_STRING Room Name
INT Moderator List Size
A_STRING Game
A_STRING Galaxy
A_STRING Moderator Name
INT User List Size
A_STRING Game
A_STRING Galaxy
A_STRING User Name
INT Request ID

Variable Descriptions


Op Count = 4

Opcode = 0x35D7CC9F


  • Game = Always SWG
  • Galaxy = Server Name
  • #Moderators = Number Of moderators in the room
  • #People In Chat = The Number of people that are in the room


Tags


S→C This packet originates on the server.

75% This packet has been partially reversed.


Sample Packet

 04 00
 9F CC D7 35                     // ChatOnCreateRoom
 00 00 00 00                     // unknown
 A8 14 81 02                     // Chatroom ID 
 01 00 00 00                     // might be part of the chatroom id
 01                              // unknown
 1D 00                           // String count(29)
 53 57 47 2E 4B 61 75 72 69 
 2E 64 61 6E 74 6F 6F 69 6E 65 
 2E 43 68 61 74 2E 74 65 73 74   // 'SWG.Kauri.dantooine.Chat.test'

 03 00                           // String count(3)
 53 57 47                        // 'SWG' 
 05 00                           // String count(5)
 4B 61 75 72 69                  // 'Kauri'
 08 00                           // String count(8)
 73 69 77 72 6F 74 69 61         // 'siwrotia' Creator

 03 00                           // String count(3)
 53 57 47                        // 'SWG'
 05 00                           // String count(5)
 4B 61 75 72 69                  // 'Kauri' 
 08 00                           // String count(8)
 73 69 77 72 6F 74 69 61         // 'siwrotia' Creator
 04 00 00 00                     // String count(4)
 74 00 65 00 73 00 74 00         // 'test' Room name

 01 00 00 00                     // Number of Moderators
 03 00                           // String count(3)
 53 57 47                        // 'SWG' Game tye
 05 00                           // String count(5)
 4B 61 75 72 69                  // 'Kauri' Server name
 08 00                           // String count(8)
 73 69 77 72 6F 74 69 61         // 'siwrotia' Mod names

 01 00 00 00                     // Number of users in Chat
 03 00                           // String count(3)
 53 57 47                        // 'SWG'
 05 00                           // String count(5)
 4B 61 75 72 69                  // 'Kauri'
 08 00                           // String count(8)
 73 69 77 72 6F 74 69 61         // 'siwrotia'
 01 00 00 00                     // uknown