
1) global_acc_reg_num_table and global_acc_reg_str_table are used in the login server only and their configuration and access is not shared with any other component. 2) The character server does not check for global_acc_reg_str_table and global_acc_reg_str_table, but for acc_reg_str_table and acc_reg_str_table.
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
// Athena InterServer configuration.
|
|
// Contains settings shared/used by more than 1 server.
|
|
|
|
// Options for both versions
|
|
|
|
// Log Inter Connections, etc.?
|
|
log_inter: 1
|
|
|
|
// Inter Log Filename
|
|
inter_log_filename: log/inter.log
|
|
|
|
// Level range for sharing within a party
|
|
party_share_level: 15
|
|
|
|
// You can specify the codepage to use in your MySQL tables here.
|
|
// (Note that this feature requires MySQL 4.1+)
|
|
//default_codepage:
|
|
|
|
// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1
|
|
// Under windows, you want to use 127.0.0.1. If you see a message like
|
|
// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
|
|
// and you have localhost, switch it to 127.0.0.1
|
|
|
|
// Global SQL settings
|
|
// overridden by local settings when the hostname is defined there
|
|
// (currently only the login-server reads/obeys these settings)
|
|
|
|
// MySQL Login server
|
|
login_server_ip: 127.0.0.1
|
|
login_server_port: 3306
|
|
login_server_id: ragnarok
|
|
login_server_pw: ragnarok
|
|
login_server_db: ragnarok
|
|
login_codepage:
|
|
login_case_sensitive: no
|
|
|
|
ipban_db_ip: 127.0.0.1
|
|
ipban_db_port: 3306
|
|
ipban_db_id: ragnarok
|
|
ipban_db_pw: ragnarok
|
|
ipban_db_db: ragnarok
|
|
ipban_codepage:
|
|
|
|
// MySQL Character server
|
|
char_server_ip: 127.0.0.1
|
|
char_server_port: 3306
|
|
char_server_id: ragnarok
|
|
char_server_pw: ragnarok
|
|
char_server_db: ragnarok
|
|
|
|
// MySQL Map Server
|
|
map_server_ip: 127.0.0.1
|
|
map_server_port: 3306
|
|
map_server_id: ragnarok
|
|
map_server_pw: ragnarok
|
|
map_server_db: ragnarok
|
|
|
|
// MySQL Log Database (Shared used with Login server for login logs)
|
|
log_db_ip: 127.0.0.1
|
|
log_db_port: 3306
|
|
log_db_id: ragnarok
|
|
log_db_pw: ragnarok
|
|
log_db_db: ragnarok
|
|
log_codepage:
|
|
log_login_table: loginlog
|
|
|
|
// MySQL Reconnect Settings
|
|
// - mysql_reconnect_type:
|
|
// 1: When MySQL disconnects during runtime, the server tries to reconnect
|
|
// mysql_reconnect_count times and shuts down if unsuccessful.
|
|
// 2: When mysql disconnects during runtime, it tries to reconnect indefinitely.
|
|
mysql_reconnect_type: 2
|
|
mysql_reconnect_count: 1
|
|
|
|
inter_server_conf: inter_server.yml
|
|
|
|
import: conf/import/inter_conf.txt
|