MsgMapInfo

This small game server message is sent to instruct the client on which data map document to load from and what map type flags apply to it. This allows the game server to create unique duplicates of a map that reference one single data map.

Rather than referencing the file path to the DMap in the message, an identifier is used as a key for looking up the path in GameMap.dat.

Table of Contents

Patch 4267

Message Definition

✅ Verified (Client)

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message16
2UInt16MsgTypeType of message1110
4UInt32Map IDMap identifier1002
8UInt32Doc IDDMap identifier1002
12UInt32TypeMap type flags0

Map Type Flags

☑️ Assumed (Soul)

enum MapTypeFlags {
    MAPTYPE_NORMAL = 0x0000,
    MAPTYPE_PKFIELD = 0x0001,
    MAPTYPE_CHGMAP_DISABLE = 0x0002,
    MAPTYPE_RECORD_DISABLE = 0x0004,
    MAPTYPE_PK_DISABLE = 0x0008,
    MAPTYPE_BOOTH_ENABLE = 0x0010,
    MAPTYPE_TEAM_DISABLE = 0x0020,
    MAPTYPE_TELEPORT_DISABLE = 0x0040,
    MAPTYPE_SYN_MAP = 0x0080,
    MAPTYPE_PRISON_MAP = 0x0100,
    MAPTYPE_FLY_DISABLE = 0x00200,
    MAPTYPE_FAMILY = 0x00400,
    MAPTYPE_MINEFIELD = 0x0800,
    MAPTYPE_PKGAME = 0x1000,
}