Difference between revisions of "ChatOnUninviteFromRoom"
From SWGANH Wiki
(→Variable Descriptions) |
(→Sample Packet) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{PageHeader|Server Packet|ChatOnUninviteFromRoom (BE33C7E8)}} | |
− | {| | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 11: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | |{{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''' |
− | + | ||
− | + | ||
|- | |- | ||
+ | |} | ||
|} | |} | ||
Line 48: | Line 43: | ||
---- | ---- | ||
− | * | + | * '''RoomPathName''': |
− | * | + | :The full ChatServer path and name for the room including the RoomName specified on creation. Example: "SWG.TestCenter.Chat.tcpa" |
− | * | + | |
− | * | + | * '''Game''': |
+ | :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. | ||
+ | |||
+ | * '''Server''': | ||
+ | :The name of the server (Galaxy) this player is on. Part of ChatAvatarId object. | ||
+ | |||
+ | * '''Moderator''': | ||
+ | :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. | ||
+ | |||
+ | * '''Target''': | ||
+ | :The first name of the player the moderator is targeting with this packet. Must be only firstname and lowercase. Part of ChatAvatarId object. | ||
+ | |||
+ | * '''ErrorCode''': | ||
+ | :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. | ||
+ | ::<font color="orange">'''Default: Failed to uninvite [Target] from [RoomPathName].</font> | ||
+ | |||
+ | * '''RequestID''': | ||
+ | :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. | ||
|valign=top| | |valign=top| | ||
Line 61: | Line 79: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
Line 68: | Line 86: | ||
---- | ---- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== | ||
Line 86: | Line 97: | ||
E8 C7 33 BE // ChatOnUninviteFromRoom | E8 C7 33 BE // ChatOnUninviteFromRoom | ||
22 00 // string count | 22 00 // string count | ||
− | 53 57 47 2E 53 68 61 64 6F 77 66 69 72 65 2E 74 75 // | + | 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 | 74 6F 72 69 61 6C 2E 43 68 61 74 2E 72 6F 75 73 65 // torial.Chat.rouse | ||
03 00 // string count | 03 00 // string count | ||
Line 101: | Line 112: | ||
72 6F 75 73 65 // rouse | 72 6F 75 73 65 // rouse | ||
00 00 00 00 | 00 00 00 00 | ||
− | 01 00 00 00 | + | 01 00 00 00 // RequestID |
F3 | F3 | ||
</pre> | </pre> |
Latest revision as of 06:36, 11 May 2008
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
Variable DescriptionsOpperand_Count = 6 Opcode = BE33C7E8
|
Tags
|
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