core.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef _CONFIG_CORE_H_
  4. #define _CONFIG_CORE_H_
  5. /**
  6. * rAthena configuration file (http://rathena.org)
  7. * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
  8. **/
  9. /// Max number of items on @autolootid list
  10. #define AUTOLOOTITEM_SIZE 10
  11. /// The maximum number of atcommand suggestions
  12. #define MAX_SUGGESTIONS 10
  13. /// Comment to disable the official walk path
  14. /// The official walkpath disables users from taking non-clear walk paths,
  15. /// e.g. if they want to get around an obstacle they have to walk around it,
  16. /// while with OFFICIAL_WALKPATH disabled if they click to walk around a obstacle the server will do it automatically
  17. #define OFFICIAL_WALKPATH
  18. /// leave this line uncommented to enable callfunc checks when processing scripts.
  19. /// while allowed, the script engine will attempt to match user-defined functions
  20. /// in scripts allowing direct function callback (without the use of callfunc.)
  21. /// this CAN affect performance, so if you find scripts running slower or find
  22. /// your map-server using more resources while this is active, comment the line
  23. #define SCRIPT_CALLFUNC_CHECK
  24. /// Uncomment to disable rAthena's anonymous stat report
  25. /// We kindly ask you to consider keeping it enabled, it helps us improve rAthena.
  26. //#define STATS_OPT_OUT
  27. /// uncomment to enable query_sql script command and mysql logs to function on it's own thread
  28. /// be aware this feature is under tests and you should use at your own risk, we however
  29. /// welcome any feedback you may have regarding this feature, please send us all bug reports.
  30. //#define BETA_THREAD_TEST
  31. /// Uncomment to enable the Cell Stack Limit mod.
  32. /// It's only config is the battle_config cell_stack_limit.
  33. /// Only chars affected are those defined in BL_CHAR (mobs and players currently)
  34. //#define CELL_NOSTACK
  35. /// Uncomment to enable circular area checks.
  36. /// By default, all range checks in Aegis are of Square shapes, so a weapon range
  37. /// - of 10 allows you to attack from anywhere within a 21x21 area.
  38. /// Enabling this changes such checks to circular checks, which is more realistic,
  39. /// - but is not the official behaviour.
  40. //#define CIRCULAR_AREA
  41. /// Uncomment to enable Non Stackable items unique ID
  42. /// By enabling it, the system will create an unique id for each new non stackable item created
  43. //#define NSI_UNIQUE_ID
  44. /// Comment to disable Guild/Party Bound item system
  45. /// By default, we recover/remove Guild/Party Bound items automatically
  46. #define BOUND_ITEMS
  47. /// Uncomment to enable real-time server stats (in and out data and ram usage).
  48. //#define SHOW_SERVER_STATS
  49. /// Uncomment to enable skills damage adjustments
  50. /// By enabling this, db/skill_damage.txt and the skill_damage mapflag will adjust the
  51. /// damage rate of specified skills.
  52. //#define ADJUST_SKILL_DAMAGE
  53. /// The skill damage adjustment rate is capped at 100000.
  54. #ifdef ADJUST_SKILL_DAMAGE
  55. #define MAX_SKILL_DAMAGE_RATE 100000
  56. #endif
  57. /**
  58. * No settings past this point
  59. **/
  60. #include "./renewal.h"
  61. #include "./secure.h"
  62. #include "./classes/general.h"
  63. /**
  64. * Constants come last; so they process anything that could've been modified in early includes
  65. **/
  66. #include "./const.h"
  67. #endif // _CONFIG_CORE_H_