Server Packet - ChatOnUninviteFromRoom (BE33C7E8)
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
|
Room Name
|
A_STRING
|
Game
|
A_STRING
|
Server
|
A_STRING
|
Moderator
|
A_STRING
|
Game
|
A_STRING
|
Server
|
A_STRING
|
Target
|
INT
|
ErrorCode
|
INT
|
RequestID
|
|
Variable Descriptions
Opperand_Count = 6
Opcode = BE33C7E8
- The full ChatServer path and name for the room including the RoomName specified on creation. Example: "SWG.TestCenter.Chat.tcpa"
- The name of the game ("SWG") this player is on. Part of ChatAvatarId 3 ASTRINGs representing the player on the ChatServer. "Game.Server.name" name is the lowercase of the first name for the player.
- The name of the server (Galaxy) this player is on. Part of ChatAvatarId object.
- The first name of the player who is a moderator for the room this action is affecting. Must be only firstname and lowercase. Part of ChatAvatarId object.
- The first name of the player the moderator is targeting with this packet. 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 uninvited [Target] from [RoomPathName].
- 4: Failed to uninvite [Target] from [RoomPathName]: avatar not found.
- 5: Failed to uninvite [Target] from [RoomPathName]: room does not exist.
- 9: Failed to uninvite [Target] from [RoomPathName] room is not private.
- 13: Failed to uninvite [Target] from [RoomPathName]:that avatar is not currently invited.
- 16: Failed to uninvite [Target] from [RoomPathName]: you are not a moderator.
- Default: Failed to uninvite [Target] from [RoomPathName].
- 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.
|
|
100%
|
This packet has been completely reversed.
|
|
|
Sample Packet
00 09
05 0C
00 19
65
06 00
E8 C7 33 BE // ChatOnUninviteFromRoom
22 00 // string count
53 57 47 2E 53 68 61 64 6F 77 66 69 72 65 2E 74 75 // SWG.Shadowfire.tu
74 6F 72 69 61 6C 2E 43 68 61 74 2E 72 6F 75 73 65 // torial.Chat.rouse
03 00 // string count
53 57 47 // SWG
0A 00 // string count
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
08 00 // string count
72 75 62 69 6E 6C 65 65 // rubinlee
03 00 // string count
53 57 47 // SWG
0A 00 // string count
53 68 61 64 6F 77 66 69 72 65 // Shadowfire
05 00 // string count
72 6F 75 73 65 // rouse
00 00 00 00
01 00 00 00 // RequestID
F3