1. #if !defined(__INC_COMMON_SERVICE_H__)
  2. #define __INC_COMMON_SERVICE_H__
  3. #define __LOCALE_SERVICE_EUROPE__
  4. #define __LOCALE_SERVICE_OWSAP__
  5. ////////////////////////////////////////////////////////////////////////////////
  6. // Game Related
  7. #define __MAILBOX__ // Mail Box System
  8. #define __QUEST_RENEWAL__ // Quest Page Renewal
  9. #if defined(__QUEST_RENEWAL__)
  10. # define __QUEST_EVENT_DAMAGE__ // Damage Quest Event
  11. # define __QUEST_EVENT_DEAD__ // Dead Quest Event
  12. # define __QUEST_EVENT_FISH__ // Fishing Quest Event
  13. # define __QUEST_EVENT_MINE__ // Mining Quest Event
  14. # define __QUEST_EVENT_BUY_SELL__ // NPC Buy/Sell Quest Event
  15. # define __QUEST_EVENT_CRAFT__ // Craft Quest Event
  16. # define __QUEST_EVENT_EMOTION__ // Emotion Quest Event
  17. # define __QUEST_EVENT_RESTART_HERE__ // Restart Here Quest Event
  18. # define __QUEST_REQUEST_EVENT__ // Request Quest Event
  19. #endif
  20. #define __CHATTING_WINDOW_RENEWAL__ // Chatting Window Renewal (Mini Version)
  21. #define __CUBE_RENEWAL__ // Cube Renewal
  22. #define __RANKING_SYSTEM__ // Ranking System
  23. #define __ELEMENT_SYSTEM__ // Element System
  24. #define __SEND_TARGET_INFO__ // Monster Information & Drops
  25. #define __PVP_COUNTDOWN__ // PvP Duel Countdown
  26. #define __REFINE_MSG_ADD__ // Extended refine fail message
  27. #define __PVP_BALANCE_IMPROVING__ // PvP Balance Improving
  28. ////////////////////////////////////////////////////////////////////////////////
  29. // Map & Dungeon Related
  30. #define __SNOW_DUNGEON__ // Snow Dungeon
  31. #define __DUNGEON_RENEWAL__ // Extended Dungeon Functions
  32. #define __BLUE_DRAGON_RENEWAL__ // Blue Dragon Rework
  33. #define __MT_THUNDER_DUNGEON__ // Ochao Temple
  34. #define __DAWNMIST_DUNGEON__ // Erebus Dungeon
  35. #define __DEFENSE_WAVE__ // Defense Wave
  36. #define __CLIENT_TIMER__ // Client Timer (Used for instances)
  37. #define __LABYRINTH_DUNGEON__ // Labyrinth Dungeon (Utils)
  38. #define __ELEMENTAL_DUNGEON__ // Elemental Dungeon
  39. #define __GUILD_DRAGONLAIR_SYSTEM__ // Guild Dragon Lair
  40. #if defined(__GUILD_DRAGONLAIR_SYSTEM__)
  41. # define __GUILD_DRAGONLAIR_PARTY_SYSTEM__ // Guild Dragon Lair Party
  42. #endif
  43. ////////////////////////////////////////////////////////////////////////////////
  44. // Mini-Game Related
  45. #define __MINI_GAME_RUMI__ // Mini-Game Rumi
  46. #if defined(__MINI_GAME_RUMI__)
  47. # define __OKEY_EVENT_FLAG_RENEWAL__
  48. #endif
  49. #define __MINI_GAME_YUTNORI__ // Mini-Game Yutnori
  50. #if defined(__MINI_GAME_YUTNORI__)
  51. # define __YUTNORI_EVENT_FLAG_RENEWAL__
  52. #endif
  53. #define __MINI_GAME_CATCH_KING__ // Mini-Game Catch King
  54. #if defined(__MINI_GAME_CATCH_KING__)
  55. # define __CATCH_KING_EVENT_FLAG_RENEWAL__
  56. #endif
  57. #define __FISHING_GAME__ // Fishing Game
  58. #define __SUMMER_EVENT_ROULETTE__ // Mini-Game Roulette (Late Summer Event)
  59. ////////////////////////////////////////////////////////////////////////////////
  60. // Event Related
  61. #define __EASTER_EVENT__ // Easter Event 2011
  62. #define __XMAS_EVENT_2008__ // Christmas Event 2008
  63. #define __XMAS_EVENT_2012__ // Christmas Event 2012
  64. #define __2016_VALENTINE_EVENT__ // Valentine Event 2016~2024
  65. #define __HALLOWEEN_EVENT_2014__ // Halloween Event 2011~2014 (Halloween Hair)
  66. #define __OX_RENEWAL__ // OX Renewal
  67. #define __EVENT_BANNER_FLAG__ // Event Banner Flags
  68. #define __METINSTONE_SWAP__ // Swap Stone Shape
  69. #define __RACE_SWAP__ // Swap Race Shape
  70. #define __SNOWFLAKE_STICK_EVENT__ // Snowflake Stick Event
  71. #define __INGAME_EVENT_MANAGER__ // InGame Event Manager
  72. #define __FLOWER_EVENT__ // Flower Event
  73. ////////////////////////////////////////////////////////////////////////////////
  74. // Currency Related
  75. #define __CHEQUE_SYSTEM__ // Cheque (Won) System
  76. #define __GEM_SYSTEM__ // Gem (Gaya) System
  77. ////////////////////////////////////////////////////////////////////////////////
  78. // Shop Related
  79. #define __SHOPEX_RENEWAL__ // ShopEX Renewal
  80. #if defined(__SHOPEX_RENEWAL__)
  81. # define __SHOPEX_TAB4__ // ShopEx 4 Tabs
  82. #endif
  83. //#define __SHOPEX_EMPIRE_TAX__ // ShopEx Tax (Triple Price)
  84. #define __MYSHOP_DECO__ // Private Shop Decoration
  85. #define __MYSHOP_EXPANSION__ // Additional Private Shop Tab
  86. #define __PRIVATESHOP_SEARCH_SYSTEM__ // Private Shop Search System
  87. #if defined(__GEM_SYSTEM__)
  88. # define __GEM_SHOP__ // Gem (Gaya) Shop
  89. #endif
  90. ////////////////////////////////////////////////////////////////////////////////
  91. // Dragon Soul Related
  92. #define __DRAGON_SOUL_SYSTEM__ // Dragon Soul System
  93. #if defined(__DRAGON_SOUL_SYSTEM__)
  94. #define __DS_GRADE_MYTH__ // Dragon Soul Mythical Grade
  95. #define __DS_SET__ // Dragon Soul Table Handling
  96. #define __DS_CHANGE_ATTR__ // Dragon Soul Change Attribute
  97. #define __DS_7_SLOT__ // Dragon Soul 7th Slot
  98. #endif
  99. ////////////////////////////////////////////////////////////////////////////////
  100. // Pet Related
  101. #define __PET_SYSTEM__ // Pet System
  102. #define __PET_LOOT__ // Pet Loot
  103. //#define __PET_LOOT_AI__ // Pet Loot AI (Goes and picks items)
  104. ////////////////////////////////////////////////////////////////////////////////
  105. // Character Related
  106. #define __PLAYER_PER_ACCOUNT5__ // Players Per Account (5)
  107. #define __WOLFMAN_CHARACTER__ // Wolfman Character
  108. #if defined(__WOLFMAN_CHARACTER__)
  109. //# define __DISABLE_WOLFMAN_CREATION__ // Disable Wolfman Creation
  110. #endif
  111. #define __VIEW_TARGET_HP__ // View Target HP
  112. #if defined(__VIEW_TARGET_HP__)
  113. # define __VIEW_TARGET_PLAYER_HP__ // View Player Target HP
  114. #endif
  115. #define __IMPROVED_LOGOUT_POINTS__ // Improved Logout Points
  116. #define __EXPRESSING_EMOTIONS__ // Special Actions
  117. #define __CONQUEROR_LEVEL__ // Conqueror Level
  118. #define __MULTI_LANGUAGE_SYSTEM__ // Multi Language System
  119. #define __DELETE_FAILURE_TYPE__ // Delete Character Failure Type
  120. #define __LEFT_SEAT__ // Left Seat (AFK)
  121. #define __AFFECT_RENEWAL__ // Affect Renewal
  122. ////////////////////////////////////////////////////////////////////////////////
  123. // Skill Related
  124. #define __7AND8TH_SKILLS__ // 7th, 8th Passive Skills
  125. #define __SKILL_COOLTIME_UPDATE__ // Refresh Skill Cooldown After Death
  126. #define __9TH_SKILL__ // 9th Player Skill
  127. #define __PARTY_PROFICY__ // Party Proficiency Passive Skill
  128. #define __PARTY_INSIGHT__ // Party InSight Passive Skill
  129. ////////////////////////////////////////////////////////////////////////////////
  130. // Party & Guild Related
  131. #define __DICE_SYSTEM__ // New Dice System (Party)
  132. #define __WJ_SHOW_PARTY_ON_MINIMAP__ // Party Member Atlas (Map)
  133. #define __PARTY_CHANNEL_FIX__ // Party Channel Fix
  134. #define __GUILD_LEADER_GRADE_NAME__ // Guild Leader Grade Name (TextTail)
  135. #define __PARTY_KILL_RENEWAL__ // All kill events count towards the party.
  136. #define __GUILD_WAR_AUTO_JOIN_LEADER__ // Join the Guild War automatically as the Leader.
  137. #define __GUILD_EVENT_FLAG__ // Guild Event Flag
  138. ////////////////////////////////////////////////////////////////////////////////
  139. // Messenger Related
  140. #define __MESSENGER_BLOCK_SYSTEM__ // Messenger Block System
  141. #define __MESSENGER_GM__ // Messenger GM List
  142. #define __MESSENGER_DETAILS__ // Messenger Details
  143. ////////////////////////////////////////////////////////////////////////////////
  144. // Inventory Related
  145. #define __EXTEND_INVEN_SYSTEM__ // Extended Inventory System
  146. #define __EXTEND_MALLBOX__ // Extended Mallbox
  147. #define __SAFEBOX_IMPROVING__ // Safebox Improving
  148. ////////////////////////////////////////////////////////////////////////////////
  149. // Equipment Related
  150. #define __QUIVER_SYSTEM__ // Quiver Equipment
  151. #define __PENDANT_SYSTEM__ // Talisman Elements
  152. #define __GLOVE_SYSTEM__ // Glove Equipment
  153. ////////////////////////////////////////////////////////////////////////////////
  154. // Costume Related
  155. #define __COSTUME_SYSTEM__ // Costume System
  156. #define __MOUNT_COSTUME_SYSTEM__ // Mount Costume System
  157. #define __ACCE_COSTUME_SYSTEM__ // Acce (Sash) Costume System
  158. #define __AURA_COSTUME_SYSTEM__ // Aura Costume System
  159. #define __WEAPON_COSTUME_SYSTEM__ // Weapon Costume System
  160. #if defined(__WEAPON_COSTUME_SYSTEM__)
  161. # define __HIDE_WEAPON_COSTUME_WITH_NO_MAIN_WEAPON__
  162. #endif
  163. #define __MOVE_COSTUME_ATTR__ // Move Costume Attribute (Item Combination)
  164. #define __HIDE_COSTUME_SYSTEM__ // Hide Costume System
  165. ////////////////////////////////////////////////////////////////////////////////
  166. // Item Related
  167. #define __MAGIC_REDUCTION__ // Magic Reduction Item
  168. #define __STONE_OF_BLESS__ // Stone of Bless (Refinement Item)
  169. #define __REFINE_PICKAXE_RENEWAL__ // Refine Pickaxe Renewal
  170. #define __REFINE_FISHINGROD_RENEWAL__ // Refine Fishing Rod Renewal
  171. #define __SOUL_BIND_SYSTEM__ // Seal Scroll System
  172. #if defined(__SOUL_BIND_SYSTEM__)
  173. # define __DRAGON_SOUL_SEAL__ // Dragon Soul Seal
  174. # define __UN_SEAL_SCROLL_PLUS__ // Unseal Scroll Plus
  175. #endif
  176. //#define __SOUL_SYSTEM__ // Soul System
  177. #if defined(__SOUL_SYSTEM__)
  178. # define __SOUL_SYSTEM_CALC_FINAL_DAMAGE__
  179. #endif
  180. #define __ITEM_APPLY4__ // Extended Apply Bonus (4)
  181. #define __ITEM_SOCKET6__ // Extended Item Sockets (6)
  182. #define __ITEM_VALUE10__ // Extended Item Values
  183. #define __ITEM_APPLY_RANDOM__ // Apply Random Bonus (Base Bonus)
  184. #define __CHANGED_ATTR__ // Change / Select Attribute
  185. #define __ATTR_6TH_7TH__ // 6th and 7th Attribute
  186. #define __SKILLBOOK_COMB_SYSTEM__ // Skill Book Combination
  187. #define __CHANGE_LOOK_SYSTEM__ // Change Look System (Item Look)
  188. #define __LOOT_FILTER_SYSTEM__ // Looting System
  189. #if defined(__LOOT_FILTER_SYSTEM__)
  190. # define __PREMIUM_LOOT_FILTER__ // Enable Premium Usage of the Loot Filter System
  191. #endif
  192. #define __GACHA_SYSTEM__ // Boss (Gacha) Boxes (Open x Times)
  193. #define __LUCKY_BOX__ // Lucky Box
  194. #define __SET_ITEM__ // Set Item Bonus
  195. #define __GEM_CONVERTER__ // Gem Converter
  196. #define __REFINE_ELEMENT_SYSTEM__ // Refine Element System
  197. #define __USE_NEXT_AUTO_POTION__ // When the automatic potion runs out, use the next one.
  198. #define __REFINE_STACK_FIX__ // Refine Stack Fix (Used for stones)
  199. ////////////////////////////////////////////////////////////////////////////////
  200. // UI Related
  201. #define __WJ_SHOW_MOB_INFO__ // Monsters Level & Aggressive Flag
  202. #define __WJ_PICKUP_ITEM_EFFECT__ // Picking Item Effect
  203. #define __NEW_USER_CARE__ // User Care (Control)
  204. #define __BINARY_ATLAS_MARK_INFO__ // Atlas Mark Info Load
  205. #define __POPUP_NOTICE__ // Pop-up notification
  206. #define __NEW_DROP_DIALOG__ // New Drop Dialog w/ Delete Item Option
  207. #define __ITEM_DROP_RENEWAL__ // Item Drop Renewal w/ Color Effect
  208. #define __GAME_OPTION_ESCAPE__ // Game Option (Escape)
  209. ////////////////////////////////////////////////////////////////////////////////
  210. // Miscellaneous
  211. #define __EXTENDED_RELOAD__ // Extended GM Reload Commands (For drops)
  212. #define __EXTENDED_ITEM_AWARD__ // Extended Item Award
  213. #define __ENVIRONMENT_SYSTEM__ // Environment System
  214. #define __LOCALE_CLIENT__ // Locale Client
  215. ////////////////////////////////////////////////////////////////////////////////
  216. // Network Related
  217. //#define __IMPROVED_PACKET_ENCRYPTION__ // Improved Packet Encryption
  218. //#define __SEND_SEQUENCE__ // Sequence Matching
  219. #define __UDP_BLOCK__ // UDP Block
  220. //#define __ALLOW_EXTERNAL_PEER__ // Allow External Peer API
  221. #define __PROXY_IP__ // Proxy IP
  222. #define __MOVE_CHANNEL__ // Move Game Channel
  223. #define __CHECK_PORT_STATUS__ // Check Port Status
  224. #define __AUTO_DETECT_INTERNAL_IP__ // Detect Internal IP
  225. //#define __USE_SERVER_KEY__ // Check Server Key
  226. #include "disclaimer.h"
  227. #endif // __INC_COMMON_SERVICE_H__

service.h