Difference between revisions of "ChatOnBanAvatarFromRoom"
From SWGANH Wiki
(→Variable Descriptions) |
(→Variable Descriptions) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{MissingPacket}} | |
− | { | + | {{PageHeader|Server Packet|ChatOnBanAvatarFromRoom (5A38538D)}} |
− | + | ||
− | + | ||
− | | | + | |
− | |} | + | |
− | + | ||
{| border="0" width="90%" cellpadding=6 | {| border="0" width="90%" cellpadding=6 | ||
|- | |- | ||
Line 11: | Line 6: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
− | + | {| align="center" | |
+ | |- | ||
+ | || | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | | + | |{{short}}||'''Operand''' |
|- | |- | ||
− | | | + | |{{int}}||'''Opcode''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Room Name''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Game''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Galaxy''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Moderator''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Game''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Galaxy''' |
|- | |- | ||
− | | | + | |{{a_string}}||'''Target''' |
|- | |- | ||
− | | | + | |{{int}}||'''Success Bitmask''' |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
+ | |{{int}}||'''RequestID''' | ||
+ | |} | ||
|} | |} | ||
Line 43: | Line 38: | ||
---- | ---- | ||
− | Opperand_Count = ''' | + | Opperand_Count = '''6''' |
Opcode = '''0x5A38538D''' | Opcode = '''0x5A38538D''' | ||
---- | ---- | ||
+ | * '''Room Name''': | ||
+ | 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: [Target] has been banned from [RoomName]. | ||
+ | ::4: Ban [Target] from [RoomName] failed: Avatar not found. | ||
+ | ::5: Ban [Target] from [RoomName] failed: Room does not exist. | ||
+ | ::12: Ban [Target] from [RoomName] failed: Already Banned. | ||
+ | ::16: Ban [Target] from [RoomName] failed: Insufficient Privileges | ||
+ | ::Default: Ban [Target] from [RoomName] failed: Unknown Error | ||
+ | |||
+ | * '''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 77: | ||
||{{ServerPacket}} | ||{{ServerPacket}} | ||
|- | |- | ||
− | ||{{ | + | ||{{100%}} |
|- | |- | ||
|} | |} | ||
− | |||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Sample Packet== | ==Sample Packet== |
Latest revision as of 01:23, 11 May 2008
This article or section needs additional data. Please add a sample packet! |
Server Packet - ChatOnBanAvatarFromRoom (5A38538D)
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 = 0x5A38538D
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.
|
Tags
|
Sample Packet
Insert Sample Packet Here...