Difference between revisions of "ChatOnEnteredRoom"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 18: Line 20:
 
|{{a_string}}|'''Character Name'''
 
|{{a_string}}|'''Character Name'''
 
|-
 
|-
|{{int}}|'''Success'''
+
|{{int}}|'''Success Bitmask'''
 
|-
 
|-
 
|{{int}}|'''ChatRoom_ID'''
 
|{{int}}|'''ChatRoom_ID'''
Line 24: Line 26:
 
|{{int}}|'''Nothing'''
 
|{{int}}|'''Nothing'''
 
|}
 
|}
 
+
|}
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 46: Line 48:
  
 
* '''Success'''
 
* '''Success'''
:0: Joins the room
+
:0: '''You have joined the channel.'''
:>0: does nothing
+
: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'''
Line 54: Line 57:
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 63: Line 67:
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
Line 79: Line 73:
 
<pre>
 
<pre>
 
05 00  
 
05 00  
0A DC 9B E6 //CRC = 'ChatOnEnteredRoom  
+
0A DC 9B E6                 //CRC = 'ChatOnEnteredRoom  
03 00 //INT(3)  
+
03 00                       //INT(3)  
53 57 47   //'SWG'
+
53 57 47                   //'SWG'
09 00 //INT(9)  
+
09 00                       //INT(9)  
 
43 6F 72 62 61 6E 74 69 73  //'Corbantis'  
 
43 6F 72 62 61 6E 74 69 73  //'Corbantis'  
07 00   //INT(7)
+
07 00                       //INT(7)
61 72 79 73 6C 61 74 //'aryslat'  
+
61 72 79 73 6C 61 74       //'aryslat'  
 
00 00 00 00  
 
00 00 00 00  
78 9E 6E 01 //ChatRoom ID
+
78 9E 6E 01                 //ChatRoom ID
 
00 00 00 00  
 
00 00 00 00  
 
</pre>
 
</pre>
  
 
[[Category:Nogard]]
 
[[Category:Nogard]]

Latest revision as of 23:07, 21 December 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