Table of Contents

Map Packet (cartography/treasure) (0x56)

Moongate Packet Classes

  • MapPacket (Incoming, Fixed, length 11) from src/Moongate.Network.Packets/Incoming/Map/MapPacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

Type Field
BYTE[1] 0x56
BYTE[4] Map Object Serial
BYTE[1] Action Flag (see notes)
BYTE[1] Pin ID or Plotting Flag (see notes)
BYTE[2] X
BYTE[2] Y

Subcommand Build

N/A

Notes

Action Flag

  • 1: Add Pin

  • 2: Insert New Pin

  • 3: Change Pin

  • 4: Remove Pin

  • 5: Clear Pins

  • 6: Toggle Edit Map (Client)

  • 7: Reply From Server to Action 6

Plotting Flag: Server Sent With Action Flag 7 Only

  • 1: Plotting On

  • 0: Plotting Off

X and Y location are relative to upper left corner of the map, in pixels