Table of Contents

Drop Item (0x08)

Moongate Packet Classes

  • DropItemPacket (Incoming, Fixed, length 14) from src/Moongate.Network.Packets/Incoming/Interaction/DropItemPacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

2D Client Version (before v6.0.1.7)

Type Field
BYTE[1] 0x08
BYTE[4] Item Serial
BYTE[2] X Location
BYTE[2] Y Location
BYTE[1] Z Location
BYTE[4] Container Serial Dropped Onto (FF FF FF FF drop to ground)

3D Client (UOKR+) and Legacy 2D 6.0.1.7+ Version

Type Field
BYTE[1] 0x08
BYTE[4] Item Serial
BYTE[2] X Location
BYTE[2] Y Location
BYTE[1] Z Location
BYTE[1] Backpack grid index (see notes)
BYTE[4] Container Serial Dropped Onto (FF FF FF FF drop to ground)

Subcommand Build

N/A

Notes

The backpack grid index exists since 6.0.1.7 2D and 2.45.5.6 KR.

Older clients are sending 14 bytes without this grid index byte!

Older Notes:

  • 3D clients sometimes sends 2 of them (bursts) for ONE drop action. The last one having -1's in X/Y locs. Be very careful how to handle this odd "bursts" server side, neither always process, nor always skipping is correct.