Difference between revisions of "ChatOnCreateRoom"

From SWGANH Wiki
Jump to: navigation, search
(Struct)
Line 18: Line 18:
 
|{{byte}}|{{unknown}}
 
|{{byte}}|{{unknown}}
 
|-
 
|-
|{{short}}|'''string size'''
+
 
|-
+
 
|{{a_string}}|'''Room Full Adress'''
 
|{{a_string}}|'''Room Full Adress'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Game'''
 
|{{a_string}}|'''Game'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Galaxy'''
 
|{{a_string}}|'''Galaxy'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Creator'''
 
|{{a_string}}|'''Creator'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Game'''
 
|{{a_string}}|'''Game'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Galaxy'''
 
|{{a_string}}|'''Galaxy'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Owner'''
 
|{{a_string}}|'''Owner'''
|-
 
|{{int}}|'''Unicode String Size'''
 
 
|-
 
|-
 
|{{u_string}}|'''Room Name'''
 
|{{u_string}}|'''Room Name'''
 
|-
 
|-
 
|{{int}}|'''#Moderators'''
 
|{{int}}|'''#Moderators'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Game'''
 
|{{a_string}}|'''Game'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Galaxy'''
 
|{{a_string}}|'''Galaxy'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Mod Name'''
 
|{{a_string}}|'''Mod Name'''
 
|-
 
|-
 
|{{int}}|'''#People In Chat'''
 
|{{int}}|'''#People In Chat'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Game'''
 
|{{a_string}}|'''Game'''
|-
 
|{{short}}|'''string size'''
 
 
|-
 
|-
 
|{{a_string}}|'''Member Name'''
 
|{{a_string}}|'''Member Name'''

Revision as of 06:38, 2 June 2007

Struct


SHORT opperand count
INT Op Code
INT ??
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 
 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