Difference between revisions of "ChatOnEnteredRoom"

From SWGANH Wiki
Jump to: navigation, search
 
(Sample Packet)
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{PageHeader|Server Packet|ChatOnEnteredRoom (E69BDC0A)}}
{|
+
|- align="center"
+
||{{PacketGuide}}
+
|-
+
|}
+
 
+
 
{| border="0" width="90%" cellpadding=6
 
{| border="0" width="90%" cellpadding=6
 
|-
 
|-
Line 11: Line 5:
 
===Struct===
 
===Struct===
 
----
 
----
 
+
{| align="center"
 +
|-
 +
||
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|align="center" style="background:#B3C0DE; color:white;"|'''BYTE'''||'''uint8'''
+
|{{short}}|'''Operand Count'''
 
|-
 
|-
|align="center" style="background:#6C86BF; color:white;"|'''SHORT'''||'''uint16'''
+
|{{int}}|'''Opcode'''
 
|-
 
|-
|align="center" style="background:#3C548A; color:white;"|'''INT'''||'''uint32'''
+
|{{a_string}}|'''Game Name'''
 
|-
 
|-
|align="center" style="background:#3C5466; color:white;"|'''FLOAT'''||'''uint32'''
+
|{{a_string}}|'''Galaxy Name'''
 
|-
 
|-
|align="center" style="background:#3C4565; color:white;"|'''LONG'''||'''uint64'''
+
|{{a_string}}|'''Character Name'''
 
|-
 
|-
|align="center" style="background:#D8F2E0; color:#3C4565;"|'''A_STRING'''||'''ASCII String'''
+
|{{int}}|'''Success Bitmask'''
 
|-
 
|-
|align="center" style="background:#8BD9A3; color:white;"|'''U_STRING'''||'''Unicode String'''
+
|{{int}}|'''ChatRoom_ID'''
|-
+
|align="center" style="background:#3EC166; color:white;"|'''C_STRING'''||'''Customization String'''
+
|-
+
|align="center" style="background:#25733D; color:white;"|'''B_STRING'''||'''Byte String'''
+
|-
+
|align="center" style="background:#C6C600; color:white;"|'''{ }'''||'''LIST Component'''
+
|-
+
|align="center" style="background:#DF97A7; color:white;"|'''?'''||'''Uncertain Values'''
+
|-
+
|align="center" style="background:#C84966; color:white;"|'''?? '''||'''Unknown Variable Name'''
+
 
|-
 
|-
 +
|{{int}}|'''Nothing'''
 +
|}
 
|}
 
|}
 
 
===Variable Descriptions===
 
===Variable Descriptions===
 
----
 
----
  
Opperand_Count     = '''9'''
+
Opperand_Count     = '''5'''
  
Opcode     = '''FFFFFFFF'''
+
Opcode     = '''E69BDC0A'''
 
----
 
----
  
* Additional Descriptions go here...
+
* '''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
 +
 
  
 
|valign=top|
 
|valign=top|
 +
 
===Tags===
 
===Tags===
 
----
 
----
Line 60: 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 00:07, 22 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