Skip to content

Commit

Permalink
Ported login-server.conf to libconfig
Browse files Browse the repository at this point in the history
Ported to modern Hercules and cleaned up from Panikon's commits: ceb8a48, c104912, 6feb097, 9f6e27a, 21fa5d2, e22a56a, f753a75, 25dde7e

Signed-off-by: Haru <haru@dotalux.com>
  • Loading branch information
MishimaHaruna committed Aug 19, 2016
1 parent 3c84a4d commit f56264d
Show file tree
Hide file tree
Showing 17 changed files with 1,142 additions and 683 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Thumbs.db
/conf/import/*.conf
/conf/import/battle_conf.txt
/conf/import/log_conf.txt
/conf/import/login_conf.txt
/conf/import/map_conf.txt
/conf/import/msg_conf.txt
/conf/import/packet_conf.txt
Expand Down
3 changes: 3 additions & 0 deletions conf/common/inter-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ inter_configuration: {
// this is meant for people who KNOW their stuff, and for some reason want to change their
// database layout. [CLOWNISIUS]
database_names: {
account_db: "login"
login_db: "loginlog"
ipban_table: "ipbanlist"
char_db: "char"
interlog_db: "interlog"
ragsrvinfo_db: "ragsrvinfo"
Expand Down
3 changes: 3 additions & 0 deletions conf/global/sql_connection.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ sql_connection: {
// (Note that this feature requires MySQL 4.1+)
//default_codepage: ""

// [LOGIN] Is `userid` in account_db case sensitive?
//case_sensitive: false

// 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)"
Expand Down
32 changes: 32 additions & 0 deletions conf/import-tmpl/login-server.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//================= Hercules Configuration ================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2014-2016 Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Login Server local configuration file.
//=========================================================================

login_configuration: {
// See conf/login/login-server.conf for details
}
Empty file removed conf/import-tmpl/login_conf.txt
Empty file.
156 changes: 0 additions & 156 deletions conf/login-server.conf

This file was deleted.

Loading

0 comments on commit f56264d

Please sign in to comment.