1. #ifndef __INC_METIN2_COMMON_DEFINES_H__
  2. #define __INC_METIN2_COMMON_DEFINES_H__
  3. #pragma once
  4. //////////////////////////////////////////////////////////////////////////
  5. // ### Standard Features ###
  6. #define _IMPROVED_PACKET_ENCRYPTION_ // Improved packet encrypt
  7. #ifdef _IMPROVED_PACKET_ENCRYPTION_
  8. #define USE_IMPROVED_PACKET_DECRYPTED_BUFFER
  9. #endif
  10. #define __UDP_BLOCK__ // UD Port Block
  11. // ### END Standard Features ###
  12. //////////////////////////////////////////////////////////////////////////
  13. #define ENABLE_MELEY_LAIR_DUNGEON
  14. #define ENABLE_CUSTOM_ITEM_UNIQUE_EFFECT
  15. //////////////////////////////////////////////////////////////////////////
  16. // ### New Features ###
  17. #define ENABLE_D_NJGUILD // Join Guild Quest
  18. #define ENABLE_FULL_NOTICE // Full Notice Announcement
  19. #define ENABLE_NEWSTUFF // New Stuff
  20. #define ENABLE_PORT_SECURITY // Port Security
  21. #define ENABLE_BELT_INVENTORY_EX // Belt Inventory Extention
  22. #define ENABLE_CMD_WARP_IN_DUNGEON // Warp in specific Dungeon
  23. // #define ENABLE_SEQUENCE_SYSTEM // Sequence Packet System
  24. #define ENABLE_PLAYER_PER_ACCOUNT5 // 5 characters per account
  25. #define ENABLE_DICE_SYSTEM // Dice function
  26. #define ENABLE_EXTEND_INVEN_SYSTEM // Extend inventory 4 pages
  27. #define ENABLE_MOUNT_COSTUME_SYSTEM // Normal Mount Costume
  28. #define ENABLE_WEAPON_COSTUME_SYSTEM // Weapon Skin System
  29. #define ENABLE_QUEST_DIE_EVENT // Self death quest event
  30. #define ENABLE_QUEST_BOOT_EVENT // Boot quest event
  31. #define ENABLE_QUEST_DND_EVENT // DND quest event
  32. #define ENABLE_SKILL_FLAG_PARTY // Skill flag party
  33. #define ENABLE_NO_DSS_QUALIFICATION // Without DSS Qualification
  34. #define ENABLE_NO_SELL_PRICE_DIVIDED_BY_5 // New recalculation for prices
  35. #define ENABLE_TAX_CHANGES // Change taxes via define
  36. #if defined(ENABLE_TAX_CHANGES)
  37. #define NEW_TAX_VARIABLE 4 // New tax for the bought items in normal shops
  38. #endif
  39. #define ENABLE_CHECK_SELL_PRICE // Check the sell price for overflows
  40. #define ENABLE_GOTO_LAG_FIX // GoTo Lag fix
  41. #define ENABLE_PENDANT_SYSTEM // Talisman System
  42. #define ENABLE_GLOVE_SYSTEM // Glove System
  43. #define ENABLE_MOVE_CHANNEL // Change the Channel
  44. #define ENABLE_QUIVER_SYSTEM // New Quiver System
  45. enum eCommonDefines {
  46. MAP_ALLOW_LIMIT = 32, // Map Limit per Channel. Default : 32
  47. };
  48. #define ENABLE_WOLFMAN_CHARACTER
  49. #ifdef ENABLE_WOLFMAN_CHARACTER
  50. #define DISABLE_WOLFMAN_ON_CREATE
  51. #define USE_MOB_BLEEDING_AS_POISON
  52. #define USE_MOB_CLAW_AS_DAGGER
  53. #define USE_WOLFMAN_STONES
  54. #define USE_WOLFMAN_BOOKS
  55. #endif
  56. #define ENABLE_MAGIC_REDUCTION_SYSTEM // Magic Reduction Recalculation
  57. #ifdef ENABLE_MAGIC_REDUCTION_SYSTEM
  58. #endif
  59. // ### END New Features ###
  60. //////////////////////////////////////////////////////////////////////////
  61. //////////////////////////////////////////////////////////////////////////
  62. // ### Start of Hex Features ###
  63. #define ENABLE_YMIR_REGEN_FIX // New Regen Function ( Memory Usage Reduction )
  64. #define ENABLE_ENTITY_PRELOADING // Load all entities in specific map ( Reduce Frame Spikes )
  65. #define ENABLE_OFFLINESHOP_SYSTEM // Define Offline Shop System
  66. #ifdef ENABLE_OFFLINESHOP_SYSTEM
  67. #define AFTER_BUY_REMOVE_DIRECTLY // Fast Item Purge After Buying
  68. #define ENABLE_SHOP_SEARCH_SYSTEM // Enable Search Shop System
  69. #endif
  70. #define ENABLE_WIKI // State for Wikipedia System
  71. #define __CLIENT_VERSION__ // Check client version for players
  72. #define ENABLE_MULTI_FARM_BLOCK // Multi farm block for more than 3 characters
  73. #define __RENEWAL_BRAVE_CAPE__ // Automatic bravery cape for players
  74. #define __REQUEST_MONEY_FOR_BRAVERY_CAPE__ // Request money for each use of Bravery Cape ( 0-30 Free ; 31-60 1.000yang ; 61-90 2.000 yang ; 91-120 3.000 yang )
  75. #if defined (__REQUEST_MONEY_FOR_BRAVERY_CAPE__)
  76. #define LOW_COST_CAPE 1000
  77. #define MEDIUM_COST_CAPE 2000
  78. #define HIGH_COST_CAPE 3000
  79. #endif
  80. #define ENABLE_DUNGEON_BOSS_ICON_IN_MAP // Position and Respawn Info for Bosses on Minimap
  81. #define RENEWAL_PICKUP_AFFECT // Auto pickup function for Premium Users
  82. #define RENEWAL_MISSION_BOOKS // New Mission Book Window with Random Quests for the Players
  83. #define ENABLE_EVENT_MANAGER // Event Handler
  84. #define ENABLE_REWARD_SYSTEM // Reward System
  85. #define ENABLE_BATTLE_PASS // Battle Pass System
  86. #define ENABLE_WHEEL_OF_FORTUNE // System for Wheel of Random Items
  87. #define ENABLE_BIYOLOG // New Biolog System
  88. #define ENABLE_RENEWAL_AFFECT_SHOWER // Renewal New Affects Categories
  89. #define ENABLE_DS_GRADE_MYTH // New Mythic Alchemy
  90. #define ENABLE_DS_SET // When the wheel is complete you get additional bonuses
  91. #define DRAGON_SOUL_REFINEMENT_FROM_WINDOW // Open Refinement and Change Window from Dragon Soul Inventory
  92. #define __VIEW_TARGET_PLAYER_HP__ // View Target Player HP Amount
  93. #define __VIEW_TARGET_DECIMAL_HP__ // View Target Decimal HP
  94. #define CROSS_CHANNEL_FRIEND_REQUEST // You can send a friend request now from a different channel
  95. #define ENABLE_CUBE_RENEWAL_WORLDARD // Official Cube System
  96. #define ENABLE_CUBE_ATTR_SOCKET // Official Cube System Fix
  97. #define __SEND_TARGET_INFO__ // Info Drop Details for each Mob on the Target
  98. #define ENABLE_SWITCHBOT // Enable Switchbot System
  99. #define __QUEST_RENEWAL__ // Quest Page Renewal
  100. #define NEW_REFINE_INFO // New Scrolls For Refinement
  101. #define ENABLE_REFINE_MSG_ADD // Refine Fail New Message
  102. #define __BL_PARTY_POSITION__ // Party Member Position
  103. #define __ITEM_APPLY4__ // Extended Apply Bonus (4)
  104. #define __NEW_BONUSES__ // New Bonuses (AttBoss, ResMob, ResBoss, CritPVM, ResRace, AttStone)
  105. #define ENABLE_ATTR_6TH_7TH_ATTR_TABLE // New Bonuses (AttBoss, ResMob, ResBoss, CritPVM, ResRace, AttStone)
  106. #define NEW_PROTO // New Proto modifications
  107. #define __RENEWAL_MOUNT__ // New mount system
  108. #define ENABLE_NEW_PET_SYSTEM // New Pet System
  109. #define __BUFFI_SUPPORT__ // New Buffi System
  110. #define ENABLE_SPECIAL_COSTUME_ATTR // Enchant for Costumes
  111. #define __RENEWAL_CRYSTAL__ // New Energy Crystal
  112. #define __PERMA_ACCESSORY__ // Permanent Buff for Accesories
  113. #define __BLEND_AFFECT__ // Blend Affects with Icons
  114. #define __EXTENDED_BLEND_AFFECT__ // Extended Blend Item Affect
  115. #define __TIME_STACKEBLE__ // Stack items for bonuses
  116. #define __BL_67_ATTR__ // 6 & 7 official bonuses
  117. #define __SKIN_SYSTEM__ // Skin system for pet & mount
  118. #define __GEM_SYSTEM__ // Gem (Gaya) System
  119. #if defined(__GEM_SYSTEM__)
  120. # define __GEM_MARKET_SYSTEM__ // Gem (Gaya) Market System
  121. #endif
  122. #define __BL_EVENT_STONE_SHAPE_CHANGE__
  123. #define __SPECIAL_INVENTORY_SYSTEM__ // Special Inventory System
  124. #define __DUNGEON_INFO__ // New Dungeon Tracking Info DracaryS
  125. #define __PENDANT__ // Cool Pendants
  126. #define __ELEMENT_ADD__ // Element System
  127. #define __SORT_INVENTORY_ITEMS__ // Sort Inventory Items
  128. #define ITEM_CHECKINOUT_UPDATE // Check item place
  129. #define __BACK_DUNGEON__ // Back in Dungeon
  130. #define __BL_MOVE_COSTUME_ATTR__ // Move Costume Attributes
  131. #define __HIDE_COSTUME_SYSTEM__ // Hide costumes on button on Inventory
  132. #define __ANTI_EXP_RING__ // Anti Experience Ring
  133. #define __SHOPEX_RENEWAL__ // Shop Renewal / New funcs for price and windows
  134. #if defined(__SHOPEX_RENEWAL__)
  135. # define __SHOPEX_TAB4__ // ShopEx 4 Tabs
  136. #endif
  137. #define __MULTI_LANGUAGE_SYSTEM__
  138. #define __CHATTING_WINDOW_RENEWAL__ // New Chat options
  139. #define WJ_ENABLE_TRADABLE_ICON // New Inventory Slotmark
  140. #define NEW_ITEM_DROP_RATE 250 // New drop chance rate
  141. #define ENABLE_ULTIMATE_REGEN // New regen functions
  142. #define ENABLE_AGGREGATE_MONSTER_EFFECT // Aggregate Effect
  143. #define __BL_ENABLE_PICKUP_ITEM_EFFECT__ // Pickup Item Effect
  144. #define __MAINTENANCE__ // Maintenance System
  145. #define __MESSENGER_BLOCK_SYSTEM__ // Messenger Block System
  146. #define __MESSENGER_GM__ // Messenger GM List
  147. #define __DS_CHANGE_ATTR__ // Change Attr bonuses
  148. #define RENEWAL_DEAD_PACKET // New dead packet
  149. #define BL_SORT_LASTPLAYTIME // Sort by last time
  150. #define __IMPROVED_LOGOUT_POINTS__ // Improved logout points
  151. #define __IMPROVED_HANDSHAKE_PROCESS__ // Improved handshake process
  152. #define __SASH_SKIN__ // New sash skins
  153. #define __SHIP_DEFENSE__ // Ship Defense (Hydra Dungeon)
  154. #define ENABLE_UNIQUE_IMMORTALITY // Unique immortality function for quest
  155. #define _ENABLE_IPBAN_ // Ban Player IP
  156. #define ENABLE_CHEST_OPEN_RENEWAL // Open multiple chests
  157. #define BL_OFFLINE_MESSAGE // Offline messages
  158. #define NEW_STATISTICS // Made by Hex with love.
  159. #define ENABLE_GUILD_TOKEN_AUTH // New guild icon exploit fix.
  160. #define METINSTONES_QUEUE // Metinstones queue system.
  161. #define __ITEM_GROUND_ONLY_OWNER__
  162. #define __SAVE_BLOCK_ATTR__
  163. #define __MINI_GAME_OKEY__
  164. // ### End of Hex Features ###
  165. //////////////////////////////////////////////////////////////////////////
  166. //////////////////////////////////////////////////////////////////////////
  167. // ### Ex Features ###
  168. #define DISABLE_STOP_RIDING_WHEN_DIE // if DISABLE_TOP_RIDING_WHEN_DIE is defined, the player doesn't lose the horse after dying
  169. #define ENABLE_ACCE_COSTUME_SYSTEM //fixed version
  170. #define USE_ACCE_ABSORB_WITH_NO_NEGATIVE_BONUS //enable only positive bonus in acce absorb
  171. #define ENABLE_HIGHLIGHT_NEW_ITEM //if you want to see highlighted a new item when dropped or when exchanged
  172. #define ENABLE_KILL_EVENT_FIX //if you want to fix the 0 exp problem about the when kill lua event (recommended)
  173. // #define ENABLE_SYSLOG_PACKET_SENT // debug purposes
  174. #define ENABLE_EXTEND_ITEM_AWARD //slight adjustement
  175. #ifdef ENABLE_EXTEND_ITEM_AWARD
  176. // #define USE_ITEM_AWARD_CHECK_ATTRIBUTES //it prevents bonuses higher than item_attr lvl1-lvl5 min-max range limit
  177. #endif
  178. // ### END Ex Features ###
  179. //////////////////////////////////////////////////////////////////////////
  180. #endif
  181. //martysama0134's 7f12f88f86c76f82974cba65d7406ac8

CommonDefines.h