Table of Contents

Login Character (0x5D)

Moongate Packet Classes

  • LoginCharacterPacket (Incoming, Fixed, length 73) from src/Moongate.Network.Packets/Incoming/Login/LoginCharacterPacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

Type Field
BYTE[1] cmd
BYTE[4] pattern1 (0xedededed)
BYTE[30] char name (0 terminated)
BYTE[2] unknown0
BYTE[4] clientflag (see notes)
BYTE[4] unknown1
BYTE[4] logincount
BYTE[16] unknown2
BYTE[4] slot choosen
BYTE[4] clientIP

Subcommand Build

N/A

Notes

clientflag:

Name Value
t2a 0x00
renaissance 0x01
third dawn 0x02
lbr 0x04
aos 0x08
se 0x10
sa 0x20
uo3d 0x40
reserved 0x80
3dclient 0x100