Skip to content

Packet reference

Network protocol · ClassicUO 7.x

Packet reference

Packets registered by Moongate’s built-in registry and Ultima plugin. Directions are relative to the server; lengths include the opcode and length header.

134 packet definitions Packet and handler guide

0x02incomingMovement

MoveRequestPacket

Move request

SizeFixed · 7 bytes
Directionincoming

Packet Structure

OffsetNameTypeSizeDescription
0Opcodebyte1Packet identifier.
1Directionbitfield1Direction and running flag
2Sequencebyte1Movement sequence
3Fast walk keyuint4Client walk key.

Notes

Turns or steps the character. The high direction bit marks running.

Host handler

MoveRequestPacketHandler: turns or steps the character, answered with 0x22 or 0x21

Type Legend

Integers

byte / sbyte
Unsigned / signed 8-bit integer
short / ushort
Signed / unsigned 16-bit integer
int / uint
Signed / unsigned 32-bit integer
long / ulong
Signed / unsigned 64-bit integer

Strings

ascii
ASCII text, fixed or variable width
utf8
UTF-8 text

Special

bool
Boolean value
enum
Named numeric value
bitfield
Flags packed into bits

Structures

byte[]
Raw byte sequence
loop
Repeated fields or records

Made with ❤️ by Tom

Buy me a coffee