Difference between revisions of "ChatOnCreateRoom"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
Line 87: Line 87:
 
* Game = Always SWG
 
* Game = Always SWG
 
* Galaxy = Server Name  
 
* Galaxy = Server Name  
 +
* #Moderators = Number Of moderators in the room
 +
* #People In Chat = The Number of people that are in the room
 +
  
 
|valign=top|
 
|valign=top|

Revision as of 04:55, 1 April 2007

Struct


SHORT opperand count
INT Op Code
INT ??
INT ??
BYTE ??
SHORT string size
A_STRING Room Full Adress
SHORT string size
A_STRING Game
SHORT string size
A_STRING Galaxy
SHORT string size
A_STRING Creator
SHORT string size
A_STRING Game
SHORT string size
A_STRING Galaxy
SHORT string size
A_STRING Owner
INT Unicode String Size
U_STRING Room Name
INT #Moderators
SHORT string size
A_STRING Game
SHORT string size
A_STRING Galaxy
SHORT string size
A_STRING Mod Name
INT #People In Chat
SHORT string size
A_STRING Game
SHORT string size
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 
 01 00 00 00 
 01 
 1D 00   //INT(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   //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' '//Creator
 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' '//Onwer
 04 00 00 00 
 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     
 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