1. #pragma once
  2. // Client version ////////////////////////////////////////////////////////
  3. #define APP_CLIENT_VERSION 1000011
  4. //#define LIVE_SERVER
  5. #if defined(LIVE_SERVER)
  6. #define __USE_CYTHON__
  7. #define CHECK_AUTOPATCHER
  8. #if defined(CHECK_AUTOPATCHER)
  9. #define PATCHER_ARG "--ghf3Nqww5N8D4qB62s3vk5by"
  10. #endif
  11. #endif
  12. // End of client version ////////////////////////////////////////////////
  13. //////////////////////////////////////////////////////////////////////////
  14. // ### Default Ymir Macros ###
  15. #define LOCALE_SERVICE_EUROPE // New Locale Service
  16. #define ENABLE_COSTUME_SYSTEM // Costume System
  17. #define ENABLE_ENERGY_SYSTEM // Energy Old System
  18. #define ENABLE_DRAGON_SOUL_SYSTEM // DSS
  19. #define ENABLE_NEW_EQUIPMENT_SYSTEM // New Equipment Slots
  20. // ### Default Ymir Macros ###
  21. //////////////////////////////////////////////////////////////////////////
  22. #define ENABLE_MELEY_LAIR_DUNGEON
  23. #ifdef ENABLE_MELEY_LAIR_DUNGEON
  24. #define MELEY_LAIR_DUNGEON_STATUE 6118
  25. #endif
  26. #define ENABLE_CUSTOM_ITEM_UNIQUE_EFFECT
  27. #define ENABLE_ATTR_6TH_7TH_EXTEND
  28. //////////////////////////////////////////////////////////////////////////
  29. // ### New From LocaleInc ###
  30. //#define ENABLE_PACK_GET_CHECK // Check Pack
  31. #define ENABLE_CANSEEHIDDENTHING_FOR_GM // You can see invisible things as GM
  32. #define ENABLE_PLAYER_PER_ACCOUNT5 // 5 characters per account
  33. #define ENABLE_LEVEL_IN_TRADE // Level in trade
  34. #define ENABLE_DICE_SYSTEM // Dice system
  35. #define ENABLE_EXTEND_INVEN_SYSTEM // Extend inventory to 4pages
  36. #define ENABLE_LVL115_ARMOR_EFFECT // New Lv115 armor effects
  37. #define ENABLE_SLOT_WINDOW_EX // New Slow window
  38. #define ENABLE_TEXT_LEVEL_REFRESH // New Text Level Refresh
  39. #define ENABLE_USE_COSTUME_ATTR // Costume Attributes
  40. #define ENABLE_DISCORD_RPC // Discord RPC Information
  41. #define ENABLE_PET_SYSTEM_EX // New Pet System items
  42. #define ENABLE_LOCALE_EX // New Locale funcs
  43. #define ENABLE_NO_DSS_QUALIFICATION // No DSS Qualifiucation
  44. #define ENABLE_NO_SELL_PRICE_DIVIDED_BY_5 // New recalculation for prices
  45. #define ENABLE_PENDANT_SYSTEM // Talisman system
  46. #define ENABLE_ELEMENT_ADD // New Talisman Icon
  47. #define ENABLE_GLOVE_SYSTEM // Glove System
  48. #define ENABLE_MOVE_CHANNEL // Change channel
  49. #define ENABLE_QUIVER_SYSTEM // New Quiver System
  50. #define ENABLE_4TH_AFF_SKILL_DESC // 4th Aff Skill description
  51. #define WJ_SHOW_MOB_INFO // Show Mob Info State
  52. #ifdef WJ_SHOW_MOB_INFO
  53. #define ENABLE_SHOW_MOBAIFLAG // Show Mob Aggresive State
  54. #define ENABLE_SHOW_MOBLEVEL // Show Mob Level
  55. #endif
  56. // ### New From LocaleInc ###
  57. //////////////////////////////////////////////////////////////////////////
  58. //////////////////////////////////////////////////////////////////////////
  59. // ### From GameLib ###
  60. #define ENABLE_WOLFMAN_CHARACTER // Enable Wolfman
  61. #ifdef ENABLE_WOLFMAN_CHARACTER
  62. #define DISABLE_WOLFMAN_ON_CREATE // Disable wolfman creation
  63. #endif
  64. #define ENABLE_MAGIC_REDUCTION_SYSTEM // New Magic Reduction Recalculation
  65. #define ENABLE_MOUNT_COSTUME_SYSTEM // Mount Costume System
  66. #define ENABLE_WEAPON_COSTUME_SYSTEM // Weapon Costume System
  67. // ### From GameLib ###
  68. //////////////////////////////////////////////////////////////////////////
  69. //////////////////////////////////////////////////////////////////////////
  70. // ### New System Defines - Extended Version ###
  71. #define ENABLE_ACCE_COSTUME_SYSTEM // Shoulder Sash System
  72. #define ENABLE_OBJ_SCALLING // Object Size Scalling
  73. // #define USE_ACCE_ABSORB_WITH_NO_NEGATIVE_BONUS // No Negative Bonus on Absortion
  74. // if you want use SetMouseWheelScrollEvent or you want use mouse wheel to move the scrollbar
  75. #define ENABLE_MOUSEWHEEL_EVENT // New mousewheel event
  76. // it shows emojis in the textlines
  77. #define ENABLE_EMOJI_SYSTEM // Emoji functions
  78. // effects while hidden won't show up
  79. #define __ENABLE_STEALTH_FIX__ // Stealth Ninja fix
  80. // circle dots in minimap instead of squares
  81. #define ENABLE_MINIMAP_WHITEMARK_CIRCLE // New Whitemark circle
  82. // for debug: print received packets
  83. //#define ENABLE_PRINT_RECV_PACKET_DEBUG // Print Packet Debug
  84. // ### New System Defines - Extended Version ###
  85. //////////////////////////////////////////////////////////////////////////
  86. //////////////////////////////////////////////////////////////////////////
  87. // ### Hex Defines - New Zenaris Version ###
  88. #define ENABLE_ENTITY_PRELOADING // Load Entity Information from Server ( Prevent Frame Spikes )
  89. #define ENABLE_LOADING_PERFORMANCE // Client loading performance ( Boost Loading Time )
  90. //#define __VERTEX_BUFFER_PERFORMANCE__ // Vertex Buffer ( Boost Frames Per Second )
  91. #define __TEXT_PERFORMANCE__ // Boosts the Text Performance
  92. #define __TEXT_BOOST__ // Outline render boost
  93. #define ENABLE_OFFLINESHOP_SYSTEM // Define the Offlineshop System
  94. #ifdef ENABLE_OFFLINESHOP_SYSTEM
  95. #define ENABLE_SHOP_SEARCH_SYSTEM // Define Search Shop System
  96. #endif
  97. #define WJ_MULTI_TEXTLINE // Multiple lines of text on the same script
  98. #define ENABLE_DETAILS_UI // Page Info for Bonuses in Character Window
  99. #define ENABLE_WIKI // Wikipedia System
  100. #define ENABLE_RENDER_TARGET // Render Target Objects
  101. #define ENABLE_NEW_GAMEOPTION // New Game Option Settings and new Button funcs
  102. #define _USE_CPP_RTL_FLIP // Define for C++ variant for Right To Left Flip
  103. #define __VERSION__ // Check client version for players
  104. #define ENABLE_MULTI_FARM_BLOCK // Multi Farm Block for multiple characters
  105. #define __RENEWAL_BRAVE_CAPE__ // Automatic Bravery Cape
  106. #define ENABLE_DUNGEON_BOSS_ICON_IN_MAP // Boss Position and Respawn Info on atlas
  107. #define RENEWAL_PICKUP_AFFECT // Auto Pick Up Premium Feature
  108. #define RENEWAL_MISSION_BOOKS // Renewal Mission Book System
  109. #define ENABLE_EVENT_MANAGER // Event Handler
  110. #define ENABLE_REWARD_SYSTEM // Reward For New Players
  111. #define ENABLE_BATTLE_PASS // Battle Pass
  112. #define ENABLE_WHEEL_OF_FORTUNE // Wheel Of Fortune with item
  113. #define ENABLE_BIYOLOG // Biolog System
  114. #define ENABLE_RENEWAL_AFFECT_SHOWER // New Categories for the Affects
  115. #define ENABLE_DS_GRADE_MYTH // New Mythic Alchemy
  116. #define ENABLE_DS_SET // New bonuses when the wheel is complete
  117. #define ENABLE_VIEW_TARGET_PLAYER_HP // Player HP
  118. #define ENABLE_VIEW_TARGET_DECIMAL_HP // Decimal HP
  119. #define ENABLE_CUBE_RENEWAL_WORLDARD // Offical Cube System
  120. #define ENABLE_POISON_GAUGE_EFFECT // Poison Effect for Target Bar
  121. #define ENABLE_SEND_TARGET_INFO // Info about drops on the Target Menu
  122. #define ENABLE_SHINING_SYSTEM
  123. #define ENABLE_SWITCHBOT // Switchbot
  124. #define ENABLE_FIX_PICKITEM // Fix Pickup Item Distance
  125. #define ENABLE_QUEST_RENEWAL // Quest Page Renewal
  126. #define ENABLE_FOV_OPTION // Fov System + Slider + Fov on Minimap
  127. #define ENABLE_REFINE_RENEWAL // New Refine Keep Window
  128. #define ENABLE_REFINE_MSG_ADD // Fail message
  129. #define __BL_PARTY_POSITION__ // Party Position for each Member
  130. #define ENABLE_ITEM_APPLY4 // 4 attributes on the item
  131. #define ENABLE_NEW_PET_SYSTEM // New Pet System
  132. #define __BUFFI_SUPPORT__ // Enable New Buffi System
  133. #define ENABLE_SPECIAL_COSTUME_ATTR // Enchant for Costumes
  134. #define __RENEWAL_CRYSTAL__ // New Energy Crystal
  135. #define __PERMA_ACCESSORY__ // Perma buff for accessories
  136. #define ENABLE_NEW_BLEND_AFFECT // New Blends
  137. #define ENABLE_EXTENDED_BLEND_AFFECT // Extended Blend System
  138. #define __TIME_STACKEBLE__ // Item Time Stackable
  139. #define __BL_67_ATTR__ // 6 7 bonuses
  140. #define TEXT_LAG_IMPROVEMENT // Improvements for text performance
  141. #define __RENEWAL_INTERFACE_RENDER__ // New Interface Render
  142. #define ENABLE_PERFORMANCE // New performance mode
  143. #define ENABLE_NEW_OPTIMIZATION // New optimization
  144. #define EMOTICON_FIX // Fix emoticon icons
  145. #define ENABLE_GEM_SYSTEM // New Gem System
  146. // Damage effect types
  147. #define ENABLE_EFFECT_DAMAGE_CRITICAL_AND_PENETRATE
  148. #define ENABLE_EFFECT_TARGET_CRITICAL_AND_PENETRATE
  149. #define ENABLE_EFFECT_DAMAGE_CRITICAL
  150. #define ENABLE_EFFECT_TARGET_CRITICAL
  151. #define ENABLE_EFFECT_DAMAGE_PENETRATE
  152. #define ENABLE_EFFECT_TARGET_PENETRATE
  153. #define ENABLE_EFFECT_DAMAGE_POISON
  154. #define ENABLE_EFFECT_DAMAGE_FIRE
  155. #define ENABLE_EFFECT_DAMAGE_BLEEDING
  156. #define ENABLE_CONFIG_MODULE // New Configuration Module (File Settings)
  157. #define __BL_EVENT_STONE_SHAPE_CHANGE__ // Stone shape based on event
  158. #define ENABLE_SPECIAL_INVENTORY_SYSTEM // Special Inventory System
  159. #define __DUNGEON_INFO__ // New dungeon manager
  160. #define __PENDANT__ // New pendants
  161. #define ENABLE_SWAP_SLOT_SYSTEM // Swap Item Slot
  162. #if defined(ENABLE_SWAP_SLOT_SYSTEM)
  163. # define ENABLE_SWAP_SLOT_DIFFUSE_COLOR // Diffuse Color Swap Slot
  164. #endif
  165. #define ENABLE_SORT_INVENTORY // Sort Inventory Items
  166. #define ITEM_CHECKINOUT_UPDATE // Check Items
  167. #define __BACK_DUNGEON__ // Back in dungeon
  168. #define __BL_MOVE_COSTUME_ATTR__ // Move Costume Attributes
  169. #define ENABLE_HIDE_COSTUME_SYSTEM // Hide costumes from inventory
  170. #define ENABLE_RENEWAL_SHOPEX // New Shop functions with pges
  171. #define ENABLE_CHATTING_WINDOW_RENEWAL // New chat interface and functions
  172. #define WJ_ENABLE_TRADABLE_ICON // Tradable icons
  173. #define ENABLE_678TH_SKILL // New boost and ward skills
  174. #define ENABLE_RENDER_STATE_FIX // Fix for render state.
  175. #define __ENABLE_SHAMAN_ATTACK_FIX__ // Fix for shaman attack
  176. #define ENABLE_NEW_EXCHANGE_WINDOW // New exchange functions.
  177. #define ENABLE_BADGE_NOTIFICATION_MANAGER // New notifications for the game.
  178. #define ENABLE_NPC_WEAR_ITEM // Preview function for NPCs.
  179. #define ENABLE_ULTIMATE_REGEN // New regen with info on atlas.
  180. #define __RENEWAL_NOTICE__ // New notice aspect.
  181. #define ENABLE_TELEPORT_MINIMAP_GM // GMs can teleport via click on atlas.
  182. #define __BL_ENABLE_PICKUP_ITEM_EFFECT__ // Pickup item effect in inventory.
  183. #define LINK_IN_CHAT // Link in chat.
  184. #define __MAINTENANCE__ // New maintenance mode.
  185. #define KEEP_DRAGON_BEAN // Keep dragon beans in the refinement window.
  186. #define ENABLE_MESSENGER_BLOCK // Messenger Block System.
  187. #define ENABLE_MESSENGER_LOCK_FIX // Messenger List Lock Fix.
  188. #define ENABLE_MESSENGER_GM // Messenger GM List.
  189. #define ENABLE_DS_CHANGE_ATTR // Change DSS bonus.
  190. #define ENABLE_SHOPEX_RENEWAL // New shop functions.
  191. #if defined(ENABLE_SHOPEX_RENEWAL)
  192. # define ENABLE_SHOPEX_TAB4 // Now you can use up to 4 pages for the shops.
  193. #endif
  194. #define RENEWAL_DEAD_PACKET // New timer for dead event.
  195. #define BL_SORT_LASTPLAYTIME // Sort characters by last play time.
  196. #define ENABLE_IMPROVED_LOGOUT_POINTS // Improved logout points.
  197. #define ENABLE_SAVE_LAST_WINDOW_POSITION // Save last window position.
  198. #define __SASH_SKIN__ // New sash skins.
  199. #define ENABLE_SHIP_DEFENSE // Ship Defense (Hydra Dungeon)
  200. #define ENABLE_GUILD_TOKEN_AUTH // Fix for guild exploit.
  201. //#define ENABLE_SEQUENCE_SYSTEM
  202. #define CEF_BROWSER // Chromium Embedded Framework Browser
  203. #define ENABLE_CHEST_OPEN_RENEWAL // Open multiple chests at once.
  204. #define ENABLE_CHAT_LOG_FIX // Chat-log window fix
  205. #define SAVE_WHISPER // Save whisper even if offline.
  206. #define ENABLE_QUEST_WIDTH_EXPANSION // New quest size.
  207. #define BL_OFFLINE_MESSAGE // Offline private messages
  208. #define ENABLE_TAB_NEXT_TARGET // Tab Targeting
  209. #define METINSTONES_QUEUE // Metinstones queue system
  210. #define __SAVE_BLOCK_ATTR__
  211. #define __LOBBY_MAP_VISIBILITY__
  212. #define ENABLE_MINI_GAME_OKEY
  213. // ### Hex Defines - New Zenaris Version ###
  214. //////////////////////////////////////////////////////////////////////////
  215. //////////////////////////////////////////////////////////////////////////
  216. // ### Jettyx Defines - New Zenaris Version ###
  217. #define DIRECTX9 // Define DirectX9 Update
  218. /* DIRECTX SELECT*/
  219. #ifdef DIRECTX9
  220. #define D3DLIGHT8 D3DLIGHT9
  221. #define D3DMATERIAL8 D3DMATERIAL9
  222. #define IDirect3DVertexBuffer8 IDirect3DVertexBuffer9
  223. #define LPDIRECT3DTEXTURE8 LPDIRECT3DTEXTURE9
  224. #define LPDIRECT3DSURFACE8 LPDIRECT3DSURFACE9
  225. #define D3DVIEWPORT8 D3DVIEWPORT9
  226. #define LPDIRECT3DDEVICE8 LPDIRECT3DDEVICE9
  227. #define LPDIRECT3DVERTEXBUFFER8 LPDIRECT3DVERTEXBUFFER9
  228. #define LPDIRECT3DINDEXBUFFER8 LPDIRECT3DINDEXBUFFER9
  229. #define DXLOCKTYPE (void**)
  230. #define D3DVERTEXELEMENT8 D3DVERTEXELEMENT9
  231. #define LPDIRECT3DBASETEXTURE8 LPDIRECT3DBASETEXTURE9
  232. #define LPDIRECT3DPIXELSHADER8 LPDIRECT3DPIXELSHADER9
  233. #define D3DADAPTER_IDENTIFIER8 D3DADAPTER_IDENTIFIER9
  234. #define IDirect3D8 IDirect3D9
  235. #define IDirect3DDevice8 IDirect3DDevice9
  236. #define D3DCAPS8 D3DCAPS9
  237. #define LPDIRECT3D8 LPDIRECT3D9
  238. #define D3DCAPS2_CANRENDERWINDOWED DDCAPS2_CANRENDERWINDOWED
  239. #define IDirect3DTexture8 IDirect3DTexture9
  240. #define Direct3DCreate8 Direct3DCreate9
  241. #define IDirect3DSurface8 IDirect3DSurface9
  242. #else
  243. #define DXLOCKTYPE (BYTE**)
  244. #endif
  245. #define JETTYX_TRANSPARENCY_BUILDING_FIX
  246. #define JTX_SPECULAR
  247. #define JTX_EXTENDED_COLLISIONS
  248. #define JTX_ENABLE_GRAPHICS_OPTIONS
  249. #define JTX_UNLOAD_GRASS
  250. #define JTX_DISTANCE_SETTINGS
  251. #define ENABLE_GRAPHIC_ON_OFF
  252. #define ENABLE_ENVIRONMENT_EFFECT_OPTION // Environment Effect Options
  253. #define JTX_INDOOR_LIGHT
  254. #define ENABLE_FIX_MOBS_LAG
  255. #if defined(ENABLE_FIX_MOBS_LAG)
  256. // -> The define ENABLE_FIX_MOBS_LAG have problems in device reseting.
  257. // -> With this new define all this problems are fixed.
  258. #define FIX_MOBS_LAG_FIX
  259. #endif
  260. #define IMPROVE_ENTITY_FREEZE
  261. #define JTX_BLOOD
  262. #define ENABLE_SAFEZONE_STOP_COLLISION
  263. #define JTX_FIX_CAN_ATTACK
  264. //#define JTX_FIX_WIKIFRUSTUM
  265. //#define JTX_FPS
  266. #define JTX_ENTIRE_TERRAIN_RENDER // Randare in cache full map, fix freeze schimbare chunk
  267. // ### Jettyx Defines - New Zenaris Version ###
  268. //////////////////////////////////////////////////////////////////////////
  269. //martysama0134's 7f12f88f86c76f82974cba65d7406ac8

Locale_inc.h