ChatOnLeaveRoom

From SWGANH Wiki
Jump to: navigation, search

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


  • Game_Name_Size
Size of the Game_Name, only seen SWG.
  • Game_Name
As above SWG
  • Galaxy_Name_Size
Size of the Galaxy Name
  • Galaxy_Name
Example 'Bria'
  • Character_Name_Size
Size of belows Character name
  • Character_Name
The firstname of the player who this packet is targeting. Must be only firstname and lowercase. Part of ChatAvatarId object.
  • Error Code
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.
  • ChatRoom_ID
Put the Chatroom's Id here
  • Request ID
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

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 // ??