ChatOnDestroyRoom

From SWGANH Wiki
Jump to: navigation, search

Packet - ChatOnDestroyRoom (E8EC5877)

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
A_STRING Server
A_STRING Owner
INT ErrorCode
INT Room ID
INT RequestID

Variable Descriptions


Opperand_Count = 5

Opcode = 0xE8EC5877


  • 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.
  • Owner:
The firstname of the player who current owns the chatroom. Must be only firstname and lowercase. Part of ChatAvatarId object. Only this player can request to delete the chatroom.
  • ErrorCode:
A integer containing a code for the error that occured. Used to determine what error message to display. 0:Success: [RoomName] You have destroyed the channel. Default: You don't have permission to delete '[RoomPathName]'.
  • RoomID:
The unique ID number assigned to identify this Room. Generated on room creation.
  • 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 this packet responses send back a RequestID of 0 for success. Otherwise, The request ID is sent with an ErrorCode to generate the proper error.

Tags


S→C This packet originates on the server.

100% This packet has been completely reversed.


Sample Packet

ChatOnDestroyRoom

00 09 
0C 6B 
00 19 
2B 
05 00                         // op_count
77 58 EC E8                   // ChatOnDestroyRoom
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
73 79 73 74 65 6D             // system
00 00 00 00                   // string spacer
4C 06 29 03                   // Room id 
00 00 00 00 
2B 
05 00                         // op_count
77 58 EC E8                   // ChatOnDestroyRoom
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
73 79 73 74 65 6D             // system
00 00 00 00                   // string spacer 
4A 06 29 03                   // Room id
00 00 00 00