Atrinik Server  4.0
Map flags


#define MAP_FLAG_OUTDOOR   1
#define MAP_FLAG_UNIQUE   2
#define MAP_FLAG_NOMAGIC   8
#define MAP_FLAG_NOHARM   32
#define MAP_FLAG_NOSUMMON   64
#define MAP_FLAG_FIXED_LOGIN   128
#define MAP_FLAG_UNUSED2   1024
#define MAP_FLAG_UNUSED3   2048
#define MAP_FLAG_PVP   4096
#define MAP_FLAG_NO_SAVE   8192

Detailed Description

Map flags for global map settings, used in mapstruct::map_flags.

Macro Definition Documentation

#define MAP_FLAG_FIXED_LOGIN   128

When set, a player login on this map will be forced to default mapstruct::enter_x and mapstruct::enter_y of this map. This avoids getting stuck in a map and treasure camping.

Definition at line 423 of file map.h.


If true, reset time is not affected by players entering / exiting map

Definition at line 405 of file map.h.


Height difference will be taken into account when rendering the map.

Definition at line 411 of file map.h.

#define MAP_FLAG_NO_SAVE   8192

Don't save maps - only used with unique maps.

Definition at line 433 of file map.h.

#define MAP_FLAG_NOHARM   32

No harmful spells like fireball, magic bullet, etc.

Definition at line 413 of file map.h.

#define MAP_FLAG_NOMAGIC   8

No wizardry based spells

Definition at line 407 of file map.h.

#define MAP_FLAG_NOSUMMON   64

Don't allow any summoning spells.

Definition at line 417 of file map.h.

#define MAP_FLAG_OUTDOOR   1

Map is outdoor map - daytime effects are on

Definition at line 398 of file map.h.


Players cannot save on this map.

Definition at line 425 of file map.h.

#define MAP_FLAG_PVP   4096

PvP is possible on this map.

Definition at line 431 of file map.h.

#define MAP_FLAG_UNIQUE   2

Special unique map

Definition at line 400 of file map.h.

#define MAP_FLAG_UNUSED2   1024


Definition at line 427 of file map.h.

#define MAP_FLAG_UNUSED3   2048


Definition at line 429 of file map.h.