Table of Contents

Request/Char Profile (0xB8)

Moongate Packet Classes

  • RequestCharProfilePacket (Incoming, Variable, length -1) from src/Moongate.Network.Packets/Incoming/Player/RequestCharProfilePacket.cs
  • DisplayCharacterProfilePacket (Outgoing, Variable, length -1) from src/Moongate.Network.Packets/Outgoing/Entity/DisplayCharacterProfilePacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

Type Field
BYTE[1] cmd
BYTE[2] length
BYTE[1] mode (CLIENT ONLY! Does not exist in server message.)
BYTE[4] id

If request, ends here.

If Update request

Type Field
BYTE[2] cmdType (0x0001 - Update)
BYTE[2] msglen (# of unicode characters)
  • BYTE[msglen][2] new profile, in unicode, not null terminated.

Else If from server

Type Field
BYTE[?] title (not unicode, null terminated.)
  • BYTE[?][2] static profile ( unicode string can't be edited, null terminated )

  • BYTE[?][2] profile (in unicode, can be edited, null terminated )

Subcommand Build

N/A

Notes

N/A