Advertisement
Guest User

Untitled

a guest
Feb 4th, 2019
576
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.67 KB | None | 0 0
  1. #define LOCALE_SERVICE_EUROPE
  2.  
  3. //-----SECURITY----->
  4. #define CCC_PROTECTION
  5. // #define ENABLE_CHANGE_PACKET_LOGIN // Ändert den Login Packet
  6. // #define ENABLE_HARDWARE_ID_BANN
  7.  
  8. //#define ENABLE_PACK_PROTECT
  9. #ifdef ENABLE_PACK_PROTECT
  10. #define ENABLE_EIX_CHANGE_TO_ENI // EIX TO ENI
  11. #define ENABLE_EIX_CHANGE_TO_TY2 // EPK TO TY2
  12. #define ENABLE_NEW_KEYS // OTHER LZOs
  13. #endif
  14.  
  15.  
  16.  
  17.  
  18.  
  19. //-----CHARACTERS----->
  20. #define ENABLE_PLAYER_PER_ACCOUNT5 // Erlaubt 5 Character
  21.  
  22. #define ENABLE_WOLFMAN_CHARACTER // Wolfman Character
  23.  
  24. #define ENABLE_KEYTO_CHARACTER // Keyto/Elfe Character
  25. #ifdef ENABLE_KEYTO_CHARACTER
  26. #define ENABLE_KEYTO_CHARACTER_EFFECT // Skill Effekt (Red-Shield)
  27. #define ENABLE_KEYTO_CHARACTER_TABLE // MOB_TABLE
  28. #endif
  29.  
  30.  
  31.  
  32.  
  33.  
  34. //-----SYSTEMS----->
  35. #define ENABLE_SHOW_MOB_INFO // Lv-Anzeige DE-Like
  36. #define ENABLE_ACCE_COSTUME_SYSTEM // Sashsystem inkl. Item-Scale
  37. #ifdef ENABLE_ACCE_COSTUME_SYSTEM
  38. #define ENABLE_ITEM_SCALE
  39. #endif
  40. #define ENABLE_SOULBIND_SYSTEM // Seelebindung
  41. #define ENABLE_WEAPON_COSTUME_SYSTEM // Waffenkostümsystem
  42. #define ENABLE_ENCHANT_BONUS_ADD // Costume-Bonus Switchen und hinzufügen
  43. #define ENABLE_MOUNT_COSTUME_SYSTEM // Mount Slot
  44. #define ENABLE_OKAY_CARD // Okay Card-Event
  45. // #define USE_CHANGE_ATTRIBUTE_PLUS // Gegenstand verzaubern +
  46. // #define USE_CHANGE_ATTRIBUTE_MINUS // Gegenstand verzaubern -
  47. #define ENABLE_7AND8TH_SKILLS // 7&8 Skill
  48. #define ENABLE_DRAGON_SOUL_SYSTEM // Alchemysystem
  49. #define ENABLE_ENERGY_SYSTEM // Energie-System
  50. #define ENABLE_COSTUME_SYSTEM // Costümsystem
  51. // #define ENABLE_ITEM_EFFECT_SYSTEM // Item Effekt System
  52. // #define ENABLE_SKILLS_LEVEL_OVER_P // P1-S Skill
  53. #define ENABLE_BOOK_COMBINATION // Fertigkeitsbücher Kombination
  54. #define ENABLE_TITLE_SYSTEM // Vegas Titel-System
  55. #define ENABLE_CHANGE_LOOK_SYSTEM // Item Transmutation System
  56. #define ENABLE_VIP_SYSTEM
  57.  
  58. #define ENABLE_FULL_YANG // Max-Yang
  59. // #define ENABLE_CHEQUE_SYSTEM // WON
  60.  
  61. #define ENABLE_MAGIC_REDUCTION_SYSTEM // Anti-Magic bonus
  62. #define ENABLE_LANGUAGE_SYSTEM // string, quest, proto
  63.  
  64. #define NEW_PET_SYSTEM // Petsystem inkl. Mob-Scale
  65. #ifdef NEW_PET_SYSTEM
  66. #define ENABLE_MOB_SCALE
  67. #endif
  68.  
  69. #define ENABLE_OFFLINE_SHOP // Offline Shop System
  70. #ifdef ENABLE_OFFLINE_SHOP
  71. #define ENABLE_SHOP_SEARCH // Shop Search
  72. #endif
  73.  
  74. #define ENABLE_MELEY_LAIR_DUNGEON // Meleyr Hort Dungeon
  75. #ifdef ENABLE_MELEY_LAIR_DUNGEON
  76. #define MELEY_LAIR_DUNGEON_STATUE 6118
  77. #endif
  78.  
  79.  
  80.  
  81.  
  82.  
  83. //-----OPTIONS----->
  84. #define ENABLE_EXTEND_INVEN_SYSTEM // Aktiv: 4 Invis, Deaktiviert: 2 Invis
  85. #define ENABLE_ITEM_NAME_MAX_LEN // Erweitert die Namenlänge der Items
  86. // #define ENABLE_BIGGER_SHOPS // Wenn aktiv: doppelte größe als normal
  87. #define ENABLE_HIGHLIGHT_SYSTEM // Effekt für neu gedroppte Items
  88. #define ENABLE_DICE_SYSTEM // Randomdrop in einer Gruppe bei Bosse
  89. #define ENABLE_SELLING_DRAGONSOUL // Erlaubt das verkaufen von Dragonsoul Items
  90. #define ENABLE_DUELL_BLOCK_SYSTEM // Duellanfragen Ingame Blocken
  91. #define ENABLE_EXTENDED_EQUIP_VIEW // Equipment Viewer
  92. #define ENABLE_DROP_DIALOG // Item Drop Dialog
  93. #define ENABLE_GM_ONLINE_LIST // GM-Online in der Freundesliste
  94. #define ENABLE_MONARCH_AFFECT // Monarch KING Zeichen
  95. #define ENABLE_TARGET_COLOR_SYSTEM // Target-Select Color System
  96. #define ENABLE_NEW_EQUIPMENT_SYSTEM // Ring1, Ring2, BELT
  97. #define ENABLE_PACK_GET_CHECK // X
  98. #define ENABLE_LEVEL_IN_TRADE // Lvl-Anzeige im Handelscenter
  99. #define ENABLE_METINSTONE_MINIMAP // Metinsteine werden in Minimap angezeigt
  100. #define ENABLE_TARGET_CRIT_SYSTEM // Krit Anzeige
  101. #define ENABLE_NON_TRADEABLE_ITEM_EFFEKT // Hinterlegung nicht Handelbarer Items
  102. #define ENABLE_MESSAGE_FLASHING // Message -> Clientblinken
  103. #define ENABLE_GLOBAL_AUCTION_HOUSE // Globales Auktionshaus (Python only)
  104. #define ENABLE_QUIVER_SYSTEM // Pfeilköcher
  105. #define ENABLE_NO_WAITE_TIME_QUESTDIALOG // Questdialog Wartezeit wird entfernt
  106. #define ENABLE_ENVIRONMENT_EFFECT_OPTION // Effekt Snow
  107. #define QUEST_FIX // X
  108. #define ENABLE_PLAYERS_SET_STATES_WITH_GM_COMMAND
  109. // #define ENABLE_GUILD_WAR_EXTENSION // Mehrere Gildenkrieg Optionen
  110. #define ENABLE_SEND_TARGET_INFO
  111.  
  112. #define ENABLE_NEW_EFFECT // NEW Effekt-System
  113. #ifdef ENABLE_NEW_EFFECT
  114. #define ENABLE_NEW_RING_EFFECT // Ring Effekt
  115. #define ENABLE_NEW_WS_EFFECT // Windschuhe Effekt
  116. #define ENABLE_NEW_HM_EFFECT // Helden Medaille Effekt
  117. #define ENABLE_NEW_CHOC_EFFECT // Chocolade Effekt
  118. #define ENABLE_EMOTION_MASK_EFFECT // Emotions Maske Effekt
  119.  
  120. #define ENABLE_NEW_AFFECT_POTION // Tau Effekt Bonus Icon
  121. #endif
  122.  
  123. #define ENABLE_NEW_SHINING_EFFEKT // Neues Shining-System
  124. #ifdef ENABLE_NEW_SHINING_EFFEKT
  125. #define ENABLE_NEW_WEAPON_EFFEKT // Waffenshining
  126. #define ENABLE_LVL115_ARMOR_EFFECT // Rüstungsshining
  127. #define USE_WEAPON_COSTUME_WITH_EFFECT // enable refine effect for weapon costume
  128. #define USE_BODY_COSTUME_WITH_EFFECT // enable refine effect for body costume
  129. #endif
  130.  
  131.  
  132.  
  133.  
  134.  
  135. //-----OTHERS----->
  136.  
  137. /*<-----ETERPACK----->*/
  138. #define ENABLE_CRC32_CHECK // [EterPack.cpp] mine: enable/disable crc32 check for type2
  139.  
  140.  
  141. /*<-----GAMELIB----->*/
  142. #define AUTODETECT_LYCAN_RODNPICK_BONE // [ActorInstanceAttach.cpp] adjust fishrod/pickaxe attached bone for lycan to equip_right instead of equip_right_weapon
  143. #define ENABLE_PETS_WITHOUT_COLLISIONS // [ActorInstanceCollisionDetection.cpp] disable collisions for pets
  144. #define ENABLE_SHOPS_WITHOUT_COLLISIONS // [ActorInstanceCollisionDetection.cpp] disable collisions for shops
  145. #define ENABLE_MOUNTS_WITHOUT_COLLISIONS // [ActorInstanceCollisionDetection.cpp] disable collisions for mounts
  146. #define ENABLE_LOAD_ALTER_ITEMICON // [ItemData.cpp] load a default item icon if the one inside the item_list.txt is missing
  147. #define ENABLE_PROTOSTRUCT_AUTODETECT // [ItemData.h] if enabled, all the item_proto/mob_proto official structures (2007~2016) are automatically detected and supported without recompiling
  148. #define ENABLE_SKIN_EXTENDED // [RaceDataFile.cpp] extended source/targetskin[2-9] inside .msm
  149.  
  150.  
  151. /*<-----USERINTERFACE----->*/
  152. // #define ENABLE_SIMPLE_REFINED_EFFECT_CHECK // [InstanceBase.cpp] enable simple refine effect check (+7 blue, +8 green, +9 red) for any weapon/armor
  153. // #define ENABLE_NO_MOUNT_CHECK // [InstanceBase.cpp] enable attack and skill from all horses/mounts
  154. #define ENABLE_CANSEEHIDDENTHING_FOR_GM // [InstanceBase.cpp] enable gm to see invisible characters (both normal semi-transparent and gm invisibility)
  155. #define ENABLE_NEUTRAL_RANG // [InstanceBaseEffect.cpp] Neutraler Rang bei wenigen Rufpunkten
  156. #define ENABLE_TEAM_GAMEMASTER // [InstanceBaseEffect.cpp] GM's haben statt Lv Anzeige ein [GM] vor dem Namen
  157. #define ENABLE_ATLASINFO_FROM_ROOT // [PythonBackground.cpp] read atlasinfo.txt from root instead of locale
  158. #define ENABLE_PYLIB_CHECK // [UserInterface.cpp] check python lib files to prevent exploit before load them
  159. #define ENABLE_MILES_CHECK // [UserInterface.cpp] check miles files to prevent mss32.dll exploit before load them
  160.  
  161.  
  162.  
  163.  
  164.  
  165. /*
  166. @#GENERAL MACROS
  167. #define __OBSOLETE__ //useless and pointless code removed
  168. #define __UNIMPLEMENTED__ //drafts of new things to be implemented
  169. */
  170.  
  171.  
  172. /*
  173. #@@Globally
  174. @warme601: use release as advanced distribute with syserr.txt and so on
  175. @warme666: those features requires the same feature server-sidely otherwise you'll get random issues. (packets not correctly handled)
  176. @warme667: on ScriptLib/StdAfx.h; AT has been unset before loading python include
  177. @warme668: trivial errors will be treated as mere warnings (sys_err -> sys_log)
  178.  
  179.  
  180. #@@Client
  181.  
  182. #@/UserInterface
  183. @fixme001: on Packet.h; for do_view_equip (WEAR_MAX_NUM: server 32, client 11) now equal (32 both sides)
  184. @fixme006: on PythonNetworkStreamModule.cpp, PythonNetworkStreamPhaseGame.cpp; "SEQUENCE mismatch 0xaf != 0x64 header 254" fix
  185. This happens due to a bug on the TODO_RECV_SYMBOL phase when calling the __SendSymbolCRCList.
  186. That function will connect via MarkServer_Login and iterate m_kVec_dwGuildID to send sub-"HEADER_CG_SYMBOL_CRC" packets.
  187. If m_kVec_dwGuildID is 0, the server will never receive packets after logged in the MarkServer, and the connection won't be closed.
  188. When a connection is established, a ping_event will be triggered every 60 seconds.
  189. When the time will come, a ping packet will be send to the client, and the client will reply back with a pong one.
  190. In this case, the secondary marklogin connection would be asynchronous, and the packet sequence for the pong mismatched too.
  191. After the sequence error occurs, the marklogin connection will be finally closed.
  192.  
  193. In few words, everytime someone logs in the server (after character selection),
  194. the syserr will get once the mismatch error after 60 seconds.
  195. The fix is to not establish a marklogin connection for TODO_RECV_SYMBOL if the m_kVec_dwGuildID is 0.
  196. @fixme007: on Packet.h, PythonNetworkStream.cpp, PythonNetworkStreamPhaseGame.cpp; added unknown header 213 (2 bytes)
  197. @fixme009: on PythonPlayerModule.cpp; player.GetItemLink wasn't considering 6-7 bonuses enough
  198. they could have been seen as 1-5 bonuses if the item didn't have 1-5 bonuses
  199. @fixme010: on PythonCharacterManager.cpp; ymir forgot .m_dwVID in the format argument (c_rkCreateData -> c_rkCreateData.m_dwVID)
  200. @fixme013: on PythonPlayerModule.cpp; player.IsValuableItem was selecting a wrong item.cell
  201. @fixme014: on PythonPlayerInput.cpp; if you (mouse) click a monster without having arrows, the automatic attack will go in loop (clicking on ground again will fix, but moving with WASD will be bad)
  202.  
  203. #@/GameLib
  204. @fixme015: on MapOutdoorLoad.cpp; regen.txt was loaded from launcher even though it's used only by the WorldEditor
  205.  
  206. #@/EterLib
  207. @fixme002: on GrpImageTexture.cpp, GrpImage.cpp; to show the name of the failed mapped .dds load
  208. @fixme005: on SkyBox.cpp; the bottom pic was not shown
  209. @fixme008: on IME.cpp; Ctrl+V crash when pasting images&co (no checks whether the handle was NULL or not)
  210. @fixme011: on IME.cpp; non-printing/control characters were printed in the (chat) input (the ones you get when you press Ctrl+<key> in game)
  211. @fixme012: on TextTag.cpp; on arabic locales, the [HyperText code] (alias Prism code) could be edited pressing <Backspace>
  212.  
  213. #@/MilesLib
  214. @warme001: AIL_startup responsible to load *.asi *.flt *.m3d *.mix
  215. @warme002: comments to be cleaned if necessary
  216.  
  217. #@/PRTerrainLib
  218. @fixme003: on TextureSet.cpp; a new texture was added where the last was put
  219. @fixme004: on TextureSet.cpp; a new textureset index was -1 instead of 0
  220. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement