diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-01 00:44:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-01 00:44:57 +0300 |
commit | c3a18b5df4d2a678dbfa04aaa267d7a5238711d0 (patch) | |
tree | 72e7717c323c5bf8a955c79b060f3b6ccf7f57ae /localserver | |
parent | 8c023395258e35e78464155de47c03341630d288 (diff) | |
download | evol-tools-c3a18b5df4d2a678dbfa04aaa267d7a5238711d0.tar.gz evol-tools-c3a18b5df4d2a678dbfa04aaa267d7a5238711d0.tar.bz2 evol-tools-c3a18b5df4d2a678dbfa04aaa267d7a5238711d0.tar.xz evol-tools-c3a18b5df4d2a678dbfa04aaa267d7a5238711d0.zip |
localserver: add config files and script for install configs.
Diffstat (limited to 'localserver')
-rw-r--r-- | localserver/conf/battle_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/char_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/inter_conf.txt | 36 | ||||
-rw-r--r-- | localserver/conf/log_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/login_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/map_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/msg_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/packet_conf.txt | 0 | ||||
-rw-r--r-- | localserver/conf/script_conf.txt | 0 | ||||
-rwxr-xr-x | localserver/installconfigs.sh | 8 |
10 files changed, 44 insertions, 0 deletions
diff --git a/localserver/conf/battle_conf.txt b/localserver/conf/battle_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/battle_conf.txt diff --git a/localserver/conf/char_conf.txt b/localserver/conf/char_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/char_conf.txt diff --git a/localserver/conf/inter_conf.txt b/localserver/conf/inter_conf.txt new file mode 100644 index 0000000..9200f69 --- /dev/null +++ b/localserver/conf/inter_conf.txt @@ -0,0 +1,36 @@ +// 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) +sql.db_hostname: 127.0.0.1 +sql.db_port: 3306 +sql.db_username: evol +sql.db_password: evol +sql.db_database: evol +sql.codepage: + +// MySQL Character SQL server +char_server_ip: 127.0.0.1 +char_server_port: 3306 +char_server_id: evol +char_server_pw: evol +char_server_db: evol + +// MySQL Map SQL Server +map_server_ip: 127.0.0.1 +map_server_port: 3306 +map_server_id: evol +map_server_pw: evol +map_server_db: evol + +// MySQL Log SQL Database +log_db_ip: 127.0.0.1 +log_db_port: 3306 +log_db_id: evol +log_db_pw: evol +log_db_db: evol +log_codepage: diff --git a/localserver/conf/log_conf.txt b/localserver/conf/log_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/log_conf.txt diff --git a/localserver/conf/login_conf.txt b/localserver/conf/login_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/login_conf.txt diff --git a/localserver/conf/map_conf.txt b/localserver/conf/map_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/map_conf.txt diff --git a/localserver/conf/msg_conf.txt b/localserver/conf/msg_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/msg_conf.txt diff --git a/localserver/conf/packet_conf.txt b/localserver/conf/packet_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/packet_conf.txt diff --git a/localserver/conf/script_conf.txt b/localserver/conf/script_conf.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/localserver/conf/script_conf.txt diff --git a/localserver/installconfigs.sh b/localserver/installconfigs.sh new file mode 100755 index 0000000..cedfb79 --- /dev/null +++ b/localserver/installconfigs.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +export SD="../../server-data" +export CONF="$SD/conf/import" + +mkdir $CONF +cp conf/*.txt $CONF +cp -f conf/inter_conf.txt $CONF |