From c3a18b5df4d2a678dbfa04aaa267d7a5238711d0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Dec 2014 00:44:57 +0300 Subject: localserver: add config files and script for install configs. --- localserver/conf/battle_conf.txt | 0 localserver/conf/char_conf.txt | 0 localserver/conf/inter_conf.txt | 36 ++++++++++++++++++++++++++++++++++++ localserver/conf/log_conf.txt | 0 localserver/conf/login_conf.txt | 0 localserver/conf/map_conf.txt | 0 localserver/conf/msg_conf.txt | 0 localserver/conf/packet_conf.txt | 0 localserver/conf/script_conf.txt | 0 localserver/installconfigs.sh | 8 ++++++++ 10 files changed, 44 insertions(+) create mode 100644 localserver/conf/battle_conf.txt create mode 100644 localserver/conf/char_conf.txt create mode 100644 localserver/conf/inter_conf.txt create mode 100644 localserver/conf/log_conf.txt create mode 100644 localserver/conf/login_conf.txt create mode 100644 localserver/conf/map_conf.txt create mode 100644 localserver/conf/msg_conf.txt create mode 100644 localserver/conf/packet_conf.txt create mode 100644 localserver/conf/script_conf.txt create mode 100755 localserver/installconfigs.sh (limited to 'localserver') diff --git a/localserver/conf/battle_conf.txt b/localserver/conf/battle_conf.txt new file mode 100644 index 0000000..e69de29 diff --git a/localserver/conf/char_conf.txt b/localserver/conf/char_conf.txt new file mode 100644 index 0000000..e69de29 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 diff --git a/localserver/conf/login_conf.txt b/localserver/conf/login_conf.txt new file mode 100644 index 0000000..e69de29 diff --git a/localserver/conf/map_conf.txt b/localserver/conf/map_conf.txt new file mode 100644 index 0000000..e69de29 diff --git a/localserver/conf/msg_conf.txt b/localserver/conf/msg_conf.txt new file mode 100644 index 0000000..e69de29 diff --git a/localserver/conf/packet_conf.txt b/localserver/conf/packet_conf.txt new file mode 100644 index 0000000..e69de29 diff --git a/localserver/conf/script_conf.txt b/localserver/conf/script_conf.txt new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3-70-g09d2