#pragma once
#define LINK_IN_CHAT
#define ENABLE_MILES_CHECK
#define ENABLE_PYLIB_CHECK
#define MURATKPROPERTY
#define ENABLE_DOGMODE
#define INGAME_WIKI
#ifdef INGAME_WIKI
*/
#endif
#define ENABLE_EXTRA_INVENTORY
#define ENABLE_EVENT_MANAGER
//////////////////////////////////////////////////////////////////////////
// ### Default Ymir Macros ###
#define ENABLE_RANKING
#define LOCALE_SERVICE_EUROPE
#define ENABLE_COSTUME_SYSTEM
#define ENABLE_ENERGY_SYSTEM
#define ENABLE_DRAGON_SOUL_SYSTEM
#define ENABLE_NEW_EQUIPMENT_SYSTEM
#define ENABLE_BUY_WITH_ITEM
#ifdef ENABLE_BUY_WITH_ITEM
#define MAX_SHOP_PRICES 5
#endif
#define ENABLE_NEW_SECONDARY_SKILLS
//////////////////////////////////////////////////////////////////////////
// ### New From LocaleInc ###
#define ENABLE_PACK_GET_CHECK
#define ENABLE_PROTOSTRUCT_AUTODETECT
#define ATTR_LOCK
#define ENABLE_PLAYER_PER_ACCOUNT5
#define ENABLE_LEVEL_IN_TRADE
#define ENABLE_DICE_SYSTEM
#define ENABLE_EXTEND_INVEN_SYSTEM
#define ENABLE_LVL115_ARMOR_EFFECT
#define ENABLE_SLOT_WINDOW_EX
#define ENABLE_TEXT_LEVEL_REFRESH
#define ENABLE_USE_COSTUME_ATTR
#define WJ_SHOW_MOB_INFO
#ifdef WJ_SHOW_MOB_INFO
#define ENABLE_SHOW_MOBAIFLAG
#define ENABLE_SHOW_MOBLEVEL
#endif
#define ENABLE_MAGIC_REDUCTION_SYSTEM
#define ENABLE_MOUNT_COSTUME_SYSTEM
#define ENABLE_WEAPON_COSTUME_SYSTEM
#define ENABLE_SWITCHBOT
#define ENABLE_SEND_TARGET_INFO
#define ENABLE_MAP_TELEPORTER
#define ENABLE_SAVEPOINT_SYSTEM
#define ENABLE_DEFENSE_WAVE
#define VERSION_162_ENABLED
#define NEW_PET_SYSTEM
#define ENABLE_WHISPER_ADMIN_SYSTEM
#define ENABLE_MELEY_LAIR_DUNGEON
#ifdef ENABLE_MELEY_LAIR_DUNGEON
#define MELEY_LAIR_DUNGEON_STATUE 6118
#endif
#define ADVANCED_GUILD_INFO
#define ENABLE_CUBE_RENEWAL_WORLDARD
#ifdef ENABLE_CUBE_RENEWAL_WORLDARD
#define ENABLE_CUBE_RENEWAL_COPY_WORLDARD
#endif
#define ENABLE_GAYA_SYSTEM // Gaya System Metin2
#define ENABLE_CAPITALE_SYSTEM // Expanded Capital System
#define __ENABLE_RANGE_ALCHEMY__ // Open shop everywhere
#define __ENABLE_REFINE_ALCHEMY__ // Open Refine Window everywhere
#define ENABLE_STRONG_BOSS // Bonus strong against Boss
#define ENABLE_STRONG_METIN // Bonus strong against Metin
#define ENABLE_RESIST_MONSTER // New Bonus Resist Monster
#define ENABLE_MEDI_PVM // New Bonus Medi Pvm
#define ELEMENT_NEW_BONUSES // Bonus Elemental Resistence (Fire, Ice, Dark, Earth, Elect, Wind)
#ifdef ELEMENT_NEW_BONUSES //
#define ENABLE_PENDANT // New Item Talisman Resistence (Item Metin2 17.5)
#define ENABLE_NEW_BONUS_TALISMAN // New Bonus DB for Talisman (Metin2 17.5)
#define ENABLE_TALISMAN_EFFECT // Effect Talisman like Acce
#endif
#define ENABLE_VIEW_TARGET_PLAYER_HP // Show Decimal HP
#ifdef ENABLE_VIEW_TARGET_PLAYER_HP //
#define ENABLE_VIEW_TARGET_DECIMAL_HP //
#endif
#define __CHANNEL_CHANGE_SYSTEM__ // Instant Change Channel
#define ENABLE_DATETIME_UNDER_MINIMAP // DateTime (ONly PythonApplicationModule.cpp)
#define ENABLE_HIDE_COSTUME_SYSTEM // Hide costume parts (Only PythonApplicationModule.cpp)
#define ENABLE_SORT_INVEN // Sort Inventory (Only PythonApplicationModule.cpp)
#define __ENABLE_EXTEND_INVEN_SYSTEM__ // Extend Official Inventory witk Key
#define ENABLE_SOUL_SYSTEM //System Anima
#define ENABLE_NEW_PASSIVE_SKILLS //Systemm skill passive
#define ENABLE_ACCE_SYSTEM
#define ENABLE_OBJ_SCALLING
#define ENABLE_QUEST_RENEWAL // Quest page renewal
#define ENABLE_FEATURES_REFINE_SYSTEM // Refine System
#define __ENABLE_NEW_EFFECT_CIANITE__ // New Effect for Armor Cianite
#define __ENABLE_NEW_EFFECT_CIANITE_WEAPON__ // New Effect for Weapon Cianite
#define __ENABLE_NEW_EFFECT_ZODIACO_WEAPON1__ // New Effect for Weapon1 Zodiaco
#define __ENABLE_NEW_EFFECT_ZODIACO__ // New Effect for Armor Zodiaco
#define __ENABLE_NEW_EFFECT_ZODIACO1__ // New Effect for Armor1 Zodiaco
#define __ENABLE_NEW_EFFECT_ZODIACO_WEAPON__ // New Effect for Weapon Zodiaco
#define ENABLE_SKILL_COLOR_SYSTEM // Skill color
#ifdef ENABLE_SKILL_COLOR_SYSTEM
#define ENABLE_5LAYER_SKILL_COLOR // Enable 5 layers for skill color
#endif
#define ENABLE_CONFIG_MODULE // Enable configuration module for saving settings
#define ENABLE_NEW_EXCHANGE_WINDOW
#define ENABLE_PVP_ADVANCED
#define EQUIP_ENABLE_VIEW_SASH
#define ENABLE_MULTI_LANGUAGE // MultiLanguage
#define __ENABLE_EMOJI_SYSTEM__
#define __ENABLE_NEW_OFFLINESHOP__
#define ENABLE_OFFLINESHOP_DEBUG
#define ENABLE_NEW_SHOP_IN_CITIES
#define BLOCK_AUTO_ATTACK_PLAYER
#define ENABLE_ITEM_EXTRA_PROTO
#define ENABLE_RARITY_SYSTEM
#define ENABLE_NEW_EXTRA_BONUS
#define ENABLE_ATTR_TRANSFER_SYSTEM
#define ENABLE_ATTR_COSTUMES
#if defined(ENABLE_OFFLINESHOP_DEBUG) && defined(_DEBUG)
#define OFFSHOP_DEBUG(fmt , ...) Tracenf("%s:%d >> " fmt , __FUNCTION__ , __LINE__, __VA_ARGS__)
#else
#define OFFSHOP_DEBUG(...)
#endif
#define ENABLE_DUNGEON_INFO_SYSTEM
#define ENABLE_LOCKED_EXTRA_INVENTORY
#define ENABLE_DS_SET
#define ENABLE_DS_ENCHANT
#define ENABLE_HIGHLIGHT_SYSTEM
#define ENABLE_NEW_PET_EDITS
#define ENABLE_REMOTE_ATTR_SASH_REMOVE
#define __ENABLE_NEW_EFFECT_STOLE__
#define ENABLE_ATLAS_BOSS
#define ENABLE_STOLE_REAL
#define ENABLE_STOLE_COSTUME
#define ENABLE_COSTUME_PET
#define ENABLE_COSTUME_MOUNT
#define ENABLE_COSTUME_EFFECT
#define ENABLE_LONG_LONG
#define KASMIR_PAKET_SYSTEM
#define ENABLE_EFFECT_WEAPON_COSTUME
#define ENABLE_BUGFIX_EFFECT_FAN
#define ENABLE_DS_RUNE
#define ENABLE_BLOCK_MULTIFARM
#define ENABLE_BUGFIXES_NOTDONE
#define BL_OFFLINE_MESSAGE
#define ENABLE_NEW_USE_POTION
#define __EFFETTO_MANTELLO__
#define ENABLE_LIMIT_PUSH_DEST
#define ENABLE_NEW_RESTART
#define ENABLE_RACE_HEIGHT
#define DISABLE_MENU_IF_KEY_F10
#define ENABLE_NEW_STACK_LIMIT
#define ENABLE_VIEW_ELEMENT
#define ENABLE_RECALL
#define ENABLE_NEW_COMMON_BONUSES
#define ENABLE_PERSPECTIVE_VIEW
#define ENABLE_UI_EXTRA
#define ENABLE_NEW_CHAT
#define ENABLE_DS_GRADE_MYTH
#define ENABLE_NO_COLLISION
#define TEXTS_IMPROVEMENT
#define __ENABLE_LARGE_DYNAMIC_PACKET__
#define ENABLE_INFINITE_RAFINES
#define ENABLE_BIOLOGIST_UI
#define ENABLE_EMPIRE_EFFECT_LIMITED
#define ENABLE_DS_POTION_DIFFRENT
#define ENABLE_NEW_FISHING_SYSTEM
#define ENABLE_NEW_BUGFIXES
#define WJ_ENABLE_TRADABLE_ICON
#define ENABLE_3D_MODELS_TEXTURE_FIX
#define ENABLE_NEW_GYEONGGONG_SKILL
#define ENABLE_SAVECAMERA_PREFERENCES
#define ENABLE_GENDER_ALIGNMENT
#define DISABLE_CRITICAL_EFFECT
#define OUTLINE_NAMES_TEXTLINE
#define ENABLE_MULTI_NAMES
#define NORMAL_ROTATION_SPEED 2400.0f
#define MOUNT_ROTATION_SPEED 1200.0f
#define ENABLE_CHOOSE_DOCTRINE_GUI
#define ENABLE_ITEMSHOP_ITEM
#define ENABLE_BUGFIXES
#define ENABLE_CONQUEROR_LEVEL
#define SPECIAL_ACTION_START_INDEX 101
#define ENABLE_AUTO_PICKUP
#define ENABLE_INSTANT_PICKUP
#define ENABLE_DS_REFINE_ALL
#define ENABLE_NEW_ATTACK_METHOD
#define ENABLE_BUY_STACK_FROM_SHOP
#ifdef ENABLE_BUY_STACK_FROM_SHOP
#define MULTIPLE_BUY_LIMIT 100
#else
#define MULTIPLE_BUY_LIMIT 0
#endif
#define ENABLE_OPENSHOP_PACKET
#define ENABLE_HWID
#define ENABLE_VOTE_FOR_BONUS
#define ENABLE_MESSENGER_TEAM
#define ENABLE_MESSENGER_HELPER
#define ENABLE_CHRISTMAS_2021
#ifdef ENABLE_CHRISTMAS_2021
#define ENABLE_CHRISTMAS_WHEEL_OF_DESTINY
#endif
#define ENABLE_SERVER_SELECT_RENEWAL //
#define ENABLE_BINARY_SERVERINFO
#define ENABLE_CHANNEL_LIST
#define ENABLE_OFFICAL_FEATURES
#define WJ_NEW_USER_CARE
#define ENABLE_AUTOSAVE
#ifndef __INC_SERVICE_H__
#define __INC_SERVICE_H__
#ifndef __INC_METIN2_COMMON_DEFINES_H__
#define __INC_METIN2_COMMON_DEFINES_H__
//////////////////////////////////////////////////////////////////////////
// ### General Features ###
#define ENABLE_FULL_NOTICE
#define ENABLE_NEWSTUFF
#define ENABLE_PORT_SECURITY
#define ENABLE_BELT_INVENTORY_EX
enum eCommonDefines {
MAP_ALLOW_LIMIT = 32, // 32 default
};
#define ENABLE_PLAYER_PER_ACCOUNT5
#define ENABLE_DICE_SYSTEM
#define ENABLE_EXTEND_INVEN_SYSTEM
#define ENABLE_MOUNT_COSTUME_SYSTEM
#define ENABLE_WEAPON_COSTUME_SYSTEM
#define ENABLE_MAGIC_REDUCTION_SYSTEM
// ### CommonDefines Systems ###
//////////////////////////////////////////////////////////////////////////
#define __DUNGEON_INFO_SYSTEM__
#define ENABLE_SWITCHBOT
#define __SEND_TARGET_INFO__
#define ENABLE_MAP_TELEPORTER
#define __ENABLE_BLOCK_EXP__
#define __INFINITE_ARROW__
#define __CMD_WARP_IN_DUNGEON__
#define ENABLE_SAVEPOINT_SYSTEM
#define __DEFENSE_WAVE__
#define __VERSION_162__
#ifdef __VERSION_162__
#define HEALING_SKILL_VNUM 265
#endif
/******************************/
/* WORLDART SYSTEMS */
#define ENABLE_CUBE_RENEWAL_WORLDARD
#ifdef ENABLE_CUBE_RENEWAL_WORLDARD
#define ENABLE_CUBE_RENEWAL_COPY_WORLDARD // COPY-PASTE attribute and stones trasfert
#endif
/****************************************/
#define ENABLE_GAYA_SYSTEM // Gaya System Metin2
#define __ENABLE_RANGE_ALCHEMY__ // Open shop everywhere
#define __ENABLE_REFINE_ALCHEMY__ // Open Refine Window everywhere
#define ENABLE_STRONG_BOSS // Bonus strong against Boss
#define ENABLE_STRONG_METIN // Bonus strong against Metin
#define ENABLE_RESIST_MONSTER // New Bonus Resist Monster
#define ENABLE_ACCE_SYSTEM // Sash System Metin2
#define ELEMENT_NEW_BONUSES // Bonus Elemental Resistence (Fire, Ice, Dark, Earth, Elect, Wind)
#ifdef ELEMENT_NEW_BONUSES //
#define ELEMENT_TARGET // Target Element Resistence (Target Mob)
#define ENABLE_PENDANT // New Item Talisman Resistence (Item Metin2 17.5)
#define ENABLE_NEW_BONUS_TALISMAN // New Bonus DB for Talisman (Metin2 17.5)
#define ENABLE_TALISMAN_EFFECT // Instant Effect Talisman Like Acce
#define ENABLE_TALISMAN_ATTR // New Add-Change bonus for talisman
#endif
#define __VIEW_TARGET_PLAYER_HP__ // Show Decimal HP
#ifdef __VIEW_TARGET_PLAYER_HP__ //
#define __VIEW_TARGET_DECIMAL_HP__ //
#endif
#define ENABLE_ITEMAWARD_REFRESH
#define ENABLE_CHANNEL_SWITCH_SYSTEM // Instant Change Channel
#define __USE_ADD_WITH_ALL_ITEMS__ //Use Green Add & switch for all items
#define __ENABLE_GREEN_ITEM_LVL_30__ //Use Green Add & switch for all items max lvl 30
#define __ENABLE_CAPITALE_MAP__ //New Coord Warp Map in Capital (index 214)
#define __HIDE_COSTUME_SYSTEM__ // Hide costume part
#define __QUEST_RENEWAL__ // Quest renewal with categories
#define ENABLE_FEATURES_REFINE_SYSTEM // Refine System
#define __OPEN_SAFEBOX_CLICK__ // Command to open Safebox from python
#define ENABLE_SORT_INVEN // Sort Inventory
#define __ENABLE_EXTEND_INVEN_SYSTEM__ // Extend Official System with Key
#define ENABLE_MULTI_LANGUAGE // MultiLanguage
#ifdef ENABLE_MULTI_LANGUAGE
#define ENABLE_MULTI_NAMES //Multilanguage Translate Mob/Npc
#endif
//OFFLINESHOP
#define __ENABLE_NEW_OFFLINESHOP__
#define ENABLE_NEW_OFFLINESHOP_LOGS
#ifdef __ENABLE_NEW_OFFLINESHOP__
#define ENABLE_NEW_SHOP_IN_CITIES
#endif
#ifdef ENABLE_OFFLINESHOP_DEBUG
# ifdef __WIN32__
# define OFFSHOP_DEBUG(fmt , ...) sys_log(0,"%s:%d >> " fmt , __FUNCTION__ , __LINE__, __VA_ARGS__)
# else
# define OFFSHOP_DEBUG(fmt , args...) sys_log(0,"%s:%d >> " fmt , __FUNCTION__ , __LINE__, ##args)
# endif
#else
# define OFFSHOP_DEBUG(...)
#endif
#define __ENABLE_LARGE_DYNAMIC_PACKET__
#define ENABLE_ITEM_EXTRA_PROTO
#define ENABLE_RARITY_SYSTEM
#define ENABLE_NEW_EXTRA_BONUS
#define ENABLE_MEDI_PVM
#define ENABLE_LONG_LONG //yang over 2kkk
#endif
#define ENABLE_NEW_CHANGES
#define _IMPROVED_PACKET_ENCRYPTION_
#define __ATTR_TRANSFER_SYSTEM__
#define __PET_SYSTEM__
#define __UDP_BLOCK__
#define ENABLE_NEW_SECONDARY_SKILLS
#define ENABLE_NEW_PASSIVE_SKILLS
#define ENABLE_ATTR_COSTUMES
#define __ENABLE_BERAN_ADDONS_
#define GROUP_BUFF
#define __ENABLE_SPIDER_ADDONS_
#define ADVANCED_GUILD_INFO
#define ENABLE_ANNOUNCEMENT_LEVELUP
#define ENABLE_MAX_ADD_ATTRIBUTE
#define ENABLE_BUY_WITH_ITEM
#define ENABLE_SOUL_SYSTEM
#define ATTR_LOCK
#define __SKILL_COLOR_SYSTEM__ // Skill color system
#define __NEW_EXCHANGE_WINDOW__
#define __NEWPET_SYSTEM__
#define EQUIP_ENABLE_VIEW_SASH
#define ENABLE_PVP_ADVANCED
#ifdef ENABLE_PVP_ADVANCED
#define BLOCK_CHANGEITEM "pvp.BlockChangeItem"
#define BLOCK_BUFF "pvp.BlockBuff"
#define BLOCK_POTION "pvp.BlockPotion"
#define BLOCK_RIDE "pvp.BlockRide"
#define BLOCK_PET "pvp.BlockPet"
#define BLOCK_POLY "pvp.BlockPoly"
#define BLOCK_PARTY "pvp.BlockParty"
#define BLOCK_EXCHANGE_ "pvp.BlockExchange"
#define BLOCK_EQUIPMENT_ "pvp.BLOCK_VIEW_EQUIPMENT"
#define BET_WINNER "pvp.BetMoney"
#define CHECK_IS_FIGHT "pvp.IsFight"
#endif
#define ENABLE_RANKING
#define ENABLE_LOCKED_EXTRA_INVENTORY
#define ENABLE_DS_SET
#define ENABLE_DS_EDITS
#define ENABLE_DS_ENCHANT
#define ENABLE_MOUNT_COSTUME_SYSTEM
#define __HIGHLIGHT_SYSTEM__
#define ENABLE_NEW_PET_EDITS
#define ENABLE_REMOTE_ATTR_SASH_REMOVE
#define ENABLE_ATLAS_BOSS
#define ENABLE_STOLE_REAL
#define ENABLE_STOLE_COSTUME
#define ENABLE_COSTUME_PET
#define ENABLE_COSTUME_MOUNT
#define ENABLE_COSTUME_EFFECT
#define ENABLE_FIX_LEVELUP_EFFECT
#define KASMIR_PAKET_SYSTEM
#define ENABLE_WHISPER_ADMIN_SYSTEM
#define ENABLE_BUG_FIXES
#define ENABLE_DS_RUNE
#define ENABLE_BLOCK_MULTIFARM
#define ENABLE_ANCIENT_PYRAMID
#ifdef ENABLE_ANCIENT_PYRAMID
#define PYRAMID_BOSSVNUM 4158
#endif
#define BL_OFFLINE_MESSAGE
#define ENABLE_DUNGEON_MANAGER
#define ENABLE_NEW_USE_POTION
#define ENABLE_ENCHANT_CHANGES
#define ENABLE_STATUS_MAX_344_POINTS
#define __EFFETTO_MANTELLO__
#define ENABLE_RECALL
#define ENABLE_SKILLS_BUFF_ALTERNATIVE
#define ENABLE_NEW_STACK_LIMIT
#define ENABLE_NEW_COMMON_BONUSES
#define ENABLE_CHANGE_ATTRIBUTE_RULES
#define ENABLE_NEW_CHAT
#define ENABLE_DS_GRADE_MYTH
#define TEXTS_IMPROVEMENT
#define BLOCK_RIDING_INSIDE_WAR
#define ENABLE_INFINITE_RAFINES
#define ENABLE_BIOLOGIST_UI
#define ENABLE_DS_POTION_DIFFRENT
#define ENABLE_NEW_FISHING_SYSTEM
#if defined(ENABLE_NEW_FISHING_SYSTEM) && !defined(FISHING_NEED_CATCH)
#define FISHING_NEED_CATCH 3
#endif
#define ENABLE_NEW_UNIQUE_WEAR_LIMITED
#define ENABLE_EXTRA_INVENTORY
#define ENABLE_NO_MALUS_JEONGWIHON
#define __INGAME_WIKI__
#define WJ_ENABLE_TRADABLE_ICON
#define ENABLE_NEW_GYEONGGONG_SKILL
#define __DISABLE_SEND_SEQUENCE__
#define ENABLE_REWARD_AT_START
#define ENABLE_25082021
#ifdef ENABLE_25082021
#define ENABLE_EXTEND_ITEM_AWARD
#endif
#define ENABLE_MULTI_NAMES
#define ENABLE_NEW_MOVEMENT_SPEED
#define ENABLE_01092021
#ifdef ENABLE_01092021
#define ENABLE_SPECIAL_INV_TO_SAFEBOX
#endif
#define ENABLE_REVIVE_WITH_HALF_HP_IF_MONSTER_KILLED_YOU
#define ENABLE_CHOOSE_DOCTRINE_GUI
#define ENABLE_GENERAL_CH
#define ENABLE_ITEMSHOP_ITEM
#define ENABLE_RESTRICT_GM_PERMISSIONS
#define STATIC_NUMBER_GUILD
#define ENABLE_SPAM_CHECK
#define ENABLE_DS_REFINE_ALL
#define ENABLE_BUY_STACK_FROM_SHOP
#ifdef ENABLE_BUY_STACK_FROM_SHOP
#define MULTIPLE_BUY_LIMIT 100
#else
#define MULTIPLE_BUY_LIMIT 0
#endif
#define ENABLE_OPENSHOP_PACKET
#define ENABLE_HWID
#ifdef ENABLE_HWID
#define EANBLE_HWID_BAN
#endif
#define ENABLE_VOTE_FOR_BONUS
#define ENABLE_MELEY_LAIR
#define ENABLE_MESSENGER_TEAM
#define ENABLE_MESSENGER_HELPER
#define ENABLE_USEITEM_COOLDOWN
#endif
#define ENABLE_EVENT_MANAGER
#define NEW_ITEMS