[1] | 1 | // Athena InterServer configuration. |
---|
| 2 | |
---|
| 3 | // TXT version options only |
---|
| 4 | |
---|
| 5 | // Storage flatfile database, used for Karfa storage. |
---|
| 6 | storage_txt: save/storage.txt |
---|
| 7 | |
---|
| 8 | // Party flatfile database, for party names, members and other party info. |
---|
| 9 | party_txt: save/party.txt |
---|
| 10 | |
---|
| 11 | // Hotkeys flatfile database, where character skill shortcuts are stored. |
---|
| 12 | hotkeys_txt: save/hotkeys.txt |
---|
| 13 | |
---|
| 14 | // Guild flatfile database, for guild names, members, and other guild info. |
---|
| 15 | guild_txt: save/guild.txt |
---|
| 16 | |
---|
| 17 | // Pet flatfile database, for pet names, and other pet info. |
---|
| 18 | pet_txt: save/pet.txt |
---|
| 19 | |
---|
| 20 | // Homunculus flatfile database, for homunculus information. |
---|
| 21 | homun_txt: save/homun.txt |
---|
| 22 | |
---|
| 23 | // Castle flatfile database, for emperium war castles, etc. |
---|
| 24 | castle_txt: save/castle.txt |
---|
| 25 | |
---|
| 26 | // Status change flatfile database, for status changes that are saved between sessions. |
---|
| 27 | scdata_txt: save/scdata.txt |
---|
| 28 | |
---|
| 29 | // Options for both versions |
---|
| 30 | |
---|
| 31 | // Log Inter Connections, etc.? |
---|
| 32 | log_inter: 1 |
---|
| 33 | |
---|
| 34 | // Inter Log Filename |
---|
| 35 | inter_log_filename: log/inter.log |
---|
| 36 | |
---|
| 37 | // Level range for sharing within a party |
---|
| 38 | party_share_level: 10 |
---|
| 39 | |
---|
| 40 | // SQL version options only |
---|
| 41 | |
---|
| 42 | // GM Reading Method |
---|
| 43 | // 1 to have Char read GMs, 0 to have Login-controlled GMs |
---|
| 44 | gm_read_method: 0 |
---|
| 45 | |
---|
| 46 | // The level at which a player with access is considered a GM. |
---|
| 47 | // An account with an access level lower than this is not effected |
---|
| 48 | // by gm_can_drop_lv (battle_athena.conf). |
---|
| 49 | lowest_gm_level: 1 |
---|
| 50 | |
---|
| 51 | // You can specify the codepage to use in your mySQL tables here. |
---|
| 52 | // (Note that this feature requires MySQL 4.1+) |
---|
| 53 | //default_codepage: |
---|
| 54 | |
---|
| 55 | // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1 |
---|
| 56 | // Under windows, you want to use 127.0.0.1. If you see a message like |
---|
| 57 | // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" |
---|
| 58 | // and you have localhost, switch it to 127.0.0.1 |
---|
| 59 | |
---|
| 60 | // MySQL Login SQL Server |
---|
| 61 | login_server_ip: 127.0.0.1 |
---|
| 62 | login_server_port: 3306 |
---|
| 63 | login_server_id: ragnarok |
---|
| 64 | login_server_pw: ragnarok |
---|
| 65 | login_server_db: ragnarok |
---|
| 66 | |
---|
| 67 | // MySQL Character SQL server |
---|
| 68 | char_server_ip: 127.0.0.1 |
---|
| 69 | char_server_port: 3306 |
---|
| 70 | char_server_id: ragnarok |
---|
| 71 | char_server_pw: ragnarok |
---|
| 72 | char_server_db: ragnarok |
---|
| 73 | |
---|
| 74 | // MySQL Map SQL Server |
---|
| 75 | map_server_ip: 127.0.0.1 |
---|
| 76 | map_server_port: 3306 |
---|
| 77 | map_server_id: ragnarok |
---|
| 78 | map_server_pw: ragnarok |
---|
| 79 | map_server_db: ragnarok |
---|
| 80 | |
---|
| 81 | // MySQL Log SQL Database |
---|
| 82 | log_db_ip: 127.0.0.1 |
---|
| 83 | log_db_port: 3306 |
---|
| 84 | log_db_id: ragnarok |
---|
| 85 | log_db_pw: ragnarok |
---|
| 86 | log_db: log |
---|
| 87 | |
---|
| 88 | // for TXT -> SQL convertors |
---|
| 89 | db_server_ip: 127.0.0.1 |
---|
| 90 | db_server_port: 3306 |
---|
| 91 | db_server_id: ragnarok |
---|
| 92 | db_server_pw: ragnarok |
---|
| 93 | db_server_logindb: ragnarok |
---|
| 94 | |
---|
| 95 | // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL |
---|
| 96 | // this is meant for people who KNOW their stuff, and for some reason want to change their |
---|
| 97 | // database layout. [CLOWNISIUS] |
---|
| 98 | |
---|
| 99 | //Column names for the login table. |
---|
| 100 | login_db_account_id: account_id |
---|
| 101 | login_db_userid: userid |
---|
| 102 | login_db_user_pass: user_pass |
---|
| 103 | login_db_level: level |
---|
| 104 | |
---|
| 105 | // ALL MySQL Database Table names |
---|
| 106 | |
---|
| 107 | // Login Database Tables |
---|
| 108 | login_db: login |
---|
| 109 | loginlog_db: loginlog |
---|
| 110 | |
---|
| 111 | // Char Database Tables |
---|
| 112 | char_db: char |
---|
| 113 | hotkey_db: hotkey |
---|
| 114 | scdata_db: sc_data |
---|
| 115 | cart_db: cart_inventory |
---|
| 116 | inventory_db: inventory |
---|
| 117 | charlog_db: charlog |
---|
| 118 | storage_db: storage |
---|
| 119 | reg_db: global_reg_value |
---|
| 120 | skill_db: skill |
---|
| 121 | interlog_db: interlog |
---|
| 122 | memo_db: memo |
---|
| 123 | guild_db: guild |
---|
| 124 | guild_alliance_db: guild_alliance |
---|
| 125 | guild_castle_db: guild_castle |
---|
| 126 | guild_expulsion_db: guild_expulsion |
---|
| 127 | guild_member_db: guild_member |
---|
| 128 | guild_skill_db: guild_skill |
---|
| 129 | guild_position_db: guild_position |
---|
| 130 | guild_storage_db: guild_storage |
---|
| 131 | party_db: party |
---|
| 132 | pet_db: pet |
---|
| 133 | friend_db: friends |
---|
| 134 | mail_db: mail |
---|
| 135 | auction_db: auction |
---|
| 136 | |
---|
| 137 | // Map Database Tables |
---|
| 138 | item_db_db: item_db |
---|
| 139 | item_db2_db: item_db2 |
---|
| 140 | mob_db_db: mob_db |
---|
| 141 | mob_db2_db: mob_db2 |
---|
| 142 | |
---|
| 143 | //Use SQL item_db and mob_db for the map server |
---|
| 144 | use_sql_db: no |
---|
| 145 | |
---|
| 146 | // Nick for sending mainchat |
---|
| 147 | // messages like whisper |
---|
| 148 | main_chat_nick: Main |
---|
| 149 | |
---|
| 150 | import: conf/import/inter_conf.txt |
---|