|
|
Line 53: |
Line 53: |
| | | |
| * '''Character_Name''' | | * '''Character_Name''' |
− | :Character name thats leaving the room | + | :The firstname of the player who this packet is targeting. Must be only firstname and lowercase. Part of ChatAvatarId object. |
| | | |
| * '''Error Code''' | | * '''Error Code''' |
Revision as of 23:28, 6 April 2008
Server Packet - ChatOnLeaveRoom (60B5098B)
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
|
Error Code
|
INT
|
ChatRoom ID
|
INT
|
Request ID
|
|
Variable Descriptions
Opperand_Count = 5
Opcode = 60B5098B
- Size of the Game_Name, only seen SWG.
- As above SWG
- Size of the Galaxy Name
- Example 'Bria'
- Size of belows Character name
- The firstname of the player who this packet is targeting. Must be only firstname and lowercase. Part of ChatAvatarId object.
- A integer containing a code for the error that occured. Used to determine what error message to display.
- 0:Success: You have left the room. OR [PlayerName] has left the room.
- Put the Chatroom's Id here
- For every request made, the client attaches an ID number to identify it. It is unique for each request type (opcode) and incremented for each request. Similar to Update Counters used in Objects. For every response that had a request with a RequestID, the same RequestID must be sent back. It is used to identify key information regarding the response, such as what the full RoomPathName was and it is used in error message generation. Also can be used to eliminate duplicate requests.
|
Tags
S→C
|
This packet originates on the server.
|
|
75%
|
This packet has been partially reversed.
|
|
|
Sample Packet
05 00 // op count
8B 09 B5 60 // ChatOnLeaveRoom
03 00 // string count
53 57 47 // SWG
0A 00 // string count
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
06 00 // string count
61 6C 6C 79 6E 61 // allyna
00 00 00 00 // string spacer
41 01 29 03 // room id
00 00 00 00 // ??