#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