Difference between revisions of "ChatOnEnteredRoom"

From SWGANH Wiki
Jump to: navigation, search
(Sample Packet)
 
(21 intermediate revisions by 5 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"
 
|-
 
|-
|{{short}}||'''Operand Count'''
+
|{{short}}|'''Operand Count'''
 
|-
 
|-
|{{int}}||'''Opcode'''
+
|{{int}}|'''Opcode'''
 
|-
 
|-
|{{short}}||'''Game Name Size'''
+
|{{a_string}}|'''Game Name'''
 
|-
 
|-
|{{a_string}}||'''Game Name'''
+
|{{a_string}}|'''Galaxy Name'''
 
|-
 
|-
|{{short}}||'''Galaxy Name Size'''
+
|{{a_string}}|'''Character Name'''
 
|-
 
|-
|{{a_string}}||'''Galaxy Name Size'''
+
|{{int}}|'''Success Bitmask'''
 
|-
 
|-
|{{short}}||'''Character Name Size'''
+
|{{int}}|'''ChatRoom_ID'''
 
|-
 
|-
|{{a_string}}||'''Character Name'''
+
|{{int}}|'''Nothing'''
|-
+
|}
|{{int}}||'''<font color=red>Unknown</font>'''
+
|-
+
|{{int}}||'''ChatRoom_ID'''
+
|-
+
|{{int}}||'''<font color=red>Unknown</font>'''
+
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
Line 45: 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 75: Line 64:
 
||{{ServerPacket}}
 
||{{ServerPacket}}
 
|-
 
|-
||{{0%}}
+
||{{100%}}
 
|-
 
|-
 
|}
 
|}
 
 
|}
 
|}
  
----
+
==Sample Packet==
 
+
==Sample Code==
+
----
+
  
 
<pre>
 
<pre>
Insert Code Snippet Here...
+
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
 
</pre>
 
</pre>
  
==Sample Packet==
+
[[Category:Nogard]]
 
+
<pre>
+
Insert Sample Packet Here...
+
</pre>
+

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