ChatOnCreateRoom

From SWGANH Wiki
Revision as of 07:53, 16 June 2007 by Snow (Talk | contribs) (Struct)

Jump to: navigation, search

Struct


SHORT opperand count
INT Op Code
INT ??
INT ChatRoom ID
INT ??
BYTE ??
A_STRING Room Full Adress
A_STRING Game
A_STRING Galaxy
A_STRING Creator
A_STRING Game
A_STRING Galaxy
A_STRING Owner
U_STRING Room Name
INT #Moderators
A_STRING Game
A_STRING Galaxy
A_STRING Mod Name
INT #People In Chat
A_STRING Game
A_STRING Member Name
INT ??

Variable Descriptions


Opperand_Count = 9

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 Code


Insert Code Snippet Here...

Sample Packet

 04 00
 9F CC D7 35          //CRC = 'ChatOnCreateRoom
 00 00 00 00 
 A8 14 81 02 // Chatroom ID 
 01 00 00 00  
 01 
 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' '//Onwer
 04 00 00 00              // String count
 74 00 65 00 73 00 74 00  //'test'

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


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