Difference between revisions of "ChatOnEnteredRoom"

From SWGANH Wiki
Jump to: navigation, search
Line 67: Line 67:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
 
----
 
----
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
 
 
==Sample Packet==
 
==Sample Packet==
  

Revision as of 19:29, 26 November 2007

Server Packet - ChatOnEnteredRoom (E69BDC0A)

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 Operand Count
INT Opcode
A_STRING Game Name
A_STRING Galaxy Name
A_STRING Character Name
INT Success Bitmask
INT ChatRoom_ID
INT Nothing

Variable Descriptions


Opperand_Count = 5

Opcode = E69BDC0A


  • Game Name Size
Size of the Game_Name, only seen SWG.
  • Game_Name
As above SWG
  • Galaxy Name
Example 'Bria'
  • Character Name
Character name thats joining the room
  • Success
0: You have joined the channel.
0x10: You cannot join '%TU (room name)' because you are not invted to the room
Other: Chatroom '%TU (room name)' join failed for an unknown reason.
  • ChatRoom_ID
Chatroom ID


Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

05 00 
0A DC 9B E6  //CRC = 'ChatOnEnteredRoom 
03 00  //INT(3) 
53 57 47   //'SWG'
09 00  //INT(9) 
43 6F 72 62 61 6E 74 69 73  //'Corbantis' 
07 00   //INT(7)
61 72 79 73 6C 61 74  //'aryslat' 
00 00 00 00 
78 9E 6E 01 //ChatRoom ID
00 00 00 00