Difference between revisions of "ChatOnEnteredRoom"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
(Sample Packet)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|ChatOnEnteredRoom (E69BDC0A)}}
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 6: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 19: Line 20:
 
|{{a_string}}|'''Character Name'''
 
|{{a_string}}|'''Character Name'''
 
|-
 
|-
|{{int}}|{{unknown}}
+
|{{int}}|'''Success Bitmask'''
 
|-
 
|-
 
|{{int}}|'''ChatRoom_ID'''
 
|{{int}}|'''ChatRoom_ID'''
 +
|-
 +
|{{int}}|'''Nothing'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 37: Line 40:
 
* '''Game_Name'''
 
* '''Game_Name'''
 
:As above SWG
 
:As above SWG
 
* '''Galaxy Name Size'''
 
:Size of the Galaxie Name
 
  
 
* '''Galaxy Name'''
 
* '''Galaxy Name'''
 
:Example 'Bria'
 
:Example 'Bria'
 
* '''Character Name Size'''
 
:Size of belows Character name
 
  
 
* '''Character Name
 
* '''Character Name
 
:Character name thats joining the room  
 
:Character name thats joining the room  
  
* <font color=red>'''Unknown'''</font>
+
* '''Success'''
:Some Unknown Maybe a flag something to check into later.
+
: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'''
:Put the Chatroom's Id here
+
:Chatroom ID
  
* <font color=red>'''Unknown'''</font>
 
:Some Unknown Maybe a flag something to check into later.
 
  
 +
|valign=top|
  
|valign=top|
 
 
===Tags===
 
===Tags===
 
----
 
----
Line 67: Line 64:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{75%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
 
----
 
 
==Sample Code==
 
----
 
 
<pre>
 
Insert Code Snippet Here...
 
</pre>
 
  
 
==Sample Packet==
 
==Sample Packet==
Line 86: 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
 +
78 9E 6E 01                //ChatRoom ID
 
00 00 00 00  
 
00 00 00 00  
78 9E 6E 01 00 00 00 00 //ChatRoom ID
 
 
 
</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