inter_athena.conf 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. // Athena InterServer configuration.
  2. // TXT version options only
  3. // Storage flatfile database, used for Karfa storage.
  4. storage_txt: save/storage.txt
  5. // Party flatfile database, for party names, members and other party info.
  6. party_txt: save/party.txt
  7. // Guild flatfile database, for guild names, members, and other guild info.
  8. guild_txt: save/guild.txt
  9. // Pet flatfile database, for pet names, and other pet info.
  10. pet_txt: save/pet.txt
  11. // Castle flatfile database, for emperium war castles, etc.
  12. castle_txt: save/castle.txt
  13. // Status change flatfile database, for status changes that are saved between sessions.
  14. scdata_txt: save/scdata.txt
  15. // Options for both versions
  16. // Log Inter Connections, etc.?
  17. log_inter: 1
  18. // Inter Log Filename
  19. inter_log_filename: log/inter.log
  20. // Level range for sharing within a party
  21. party_share_level: 10
  22. // Disconnect players when the map server loses the connection to the char server?
  23. // NOTE: The default is 1 (yes) to prevent any kinds of exploits, but large servers experience connection loss
  24. // during high load times, in which case it might be desirable to set this to '0'.
  25. // NOTE: Don't use 'yes/no' here, use 1 (yes)/ 0 (no).
  26. kick_on_disconnect: 1
  27. // SQL version options only
  28. // Char-Save method
  29. // 0 = saves over the charserver [default]
  30. // 1 = map server saves character data (reduces strain on the charserver)
  31. // NOTE: Feature still somewhat experimental, needs more testing.
  32. // WARNING: Don't use it in multi char/map or customized table names config.
  33. charsave_method: 0
  34. // GM Reading Method
  35. // 1 to have Char read GMs, 0 to have Login-controlled GMs
  36. gm_read_method: 0
  37. // The level at which a player with access is considered a GM.
  38. // An account with an access level lower than this is not effected
  39. // by gm_can_drop_lv (battle_athena.conf).
  40. lowest_gm_level: 1
  41. // How often the GM accounts will be reloaded by the map-server in minutes
  42. read_gm_interval: 10
  43. // Ideally under linux, you want to use localhost instead of 127.0.0.1.
  44. //
  45. // Under windows, you want to use 127.0.0.1. If you see a message like
  46. // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
  47. // and you have localhost, switch it to 127.0.0.1
  48. // You can specify the codepage to use in your mySQL tables here.
  49. // (Note that this feature requires MySQL 4.1+)
  50. //default_codepage:
  51. // Interval (in hours) at which servers do a ping on all sql-connections
  52. // to keep them alive (the default mysql settings makes a connection time-out
  53. // after 8 hours of inactivity).
  54. // 0 disables (default). Enable it only if you are getting
  55. // "MySQL server has gone Away" errors due to lack of activity on your server
  56. //connection_ping_interval: 3
  57. // MySQL Login SQL Server
  58. login_server_ip: 127.0.0.1
  59. login_server_port: 3306
  60. login_server_id: ragnarok
  61. login_server_pw: ragnarok
  62. login_server_db: ragnarok
  63. // MySQL Character SQL server
  64. char_server_ip: 127.0.0.1
  65. char_server_port: 3306
  66. char_server_id: ragnarok
  67. char_server_pw: ragnarok
  68. char_server_db: ragnarok
  69. // MySQL Map SQL Server
  70. map_server_ip: 127.0.0.1
  71. map_server_port: 3306
  72. map_server_id: ragnarok
  73. map_server_pw: ragnarok
  74. map_server_db: ragnarok
  75. // MySQL Log SQL Database
  76. log_db_ip: 127.0.0.1
  77. log_db_port: 3306
  78. log_db_id: ragnarok
  79. log_db_pw: ragnarok
  80. log_db: log
  81. // MySQL Mail SQL Server
  82. mail_server_ip: 127.0.0.1
  83. mail_server_port: 3306
  84. mail_server_id: ragnarok
  85. mail_server_pw: ragnarok
  86. mail_server_db: ragnarok
  87. // for TXT -> SQL convertors
  88. db_server_ip: 127.0.0.1
  89. db_server_port: 3306
  90. db_server_id: ragnarok
  91. db_server_pw: ragnarok
  92. db_server_logindb: ragnarok
  93. // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL
  94. // this is meant for people who KNOW their stuff, and for some reason want to change their
  95. // database layout. [CLOWNISIUS]
  96. login_db_account_id: account_id
  97. login_db_userid: userid
  98. login_db_user_pass: user_pass
  99. login_db_level: level
  100. // ALL MySQL Database Table names
  101. // GM Account Database Table
  102. gm_db: login
  103. gm_db_level: level
  104. gm_db_account_id: account_id
  105. // Login Database Tables
  106. login_db: login
  107. loginlog_db: loginlog
  108. // Character Database Tables
  109. char_db: char
  110. scdata_db: sc_data
  111. cart_db: cart_inventory
  112. inventory_db: inventory
  113. charlog_db: charlog
  114. storage_db: storage
  115. reg_db: global_reg_value
  116. skill_db: skill
  117. interlog_db: interlog
  118. memo_db: memo
  119. guild_db: guild
  120. guild_alliance_db: guild_alliance
  121. guild_castle_db: guild_castle
  122. guild_expulsion_db: guild_expulsion
  123. guild_member_db: guild_member
  124. guild_skill_db: guild_skill
  125. guild_position_db: guild_position
  126. guild_storage_db: guild_storage
  127. party_db: party
  128. pet_db: pet
  129. friend_db: friends
  130. // Map Database Tables
  131. item_db_db: item_db
  132. item_db2_db: item_db2
  133. mob_db_db: mob_db
  134. mob_db2_db: mob_db2
  135. // Mail Database Table
  136. mail_db: mail
  137. //Use SQL item_db and mob_db for the map server
  138. use_sql_db: no
  139. //SQL for the rest of the databases.
  140. //This is experimental and not meant to be used by anyone other than developers yet.
  141. use_new_sql_db: no
  142. // Use SQL Mail Server
  143. mail_server_enable: no
  144. // Nick for sending mainchat
  145. // messages like whisper
  146. main_chat_nick: Main
  147. import: conf/import/inter_conf.txt