From edbbbc19ba6f636aee19890aba2ec082d45c1034 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 23 Jun 2011 00:05:15 -0700 Subject: Makefile to copy nonexisting conf files, and change defaults to localhost --- Makefile | 10 +++++++++- login/conf/ladmin_local.conf.example | 6 +++--- login/conf/login_local.conf.example | 2 +- world/conf/char_local.conf.example | 4 ++-- world/map/conf/map_local.conf.example | 4 ++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index dc5b5e29..5b593c8f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,12 @@ -.PHONY: maps +.PHONY: all maps conf +all: maps conf maps: ant -f tools/tmwcon/build.xml java -jar tools/tmwcon/converter.jar client-data/ world/map/ +% : | %.example + cp "$|" "$@" +conf: \ +login/conf/login_local.conf login/conf/ladmin_local.conf login/save/gm_account.txt login/save/account.txt \ +world/map/conf/map_local.conf world/map/conf/battle_local.conf world/map/conf/motd.txt world/map/conf/help.txt world/map/conf/atcommand_local.conf \ +world/conf/char_local.conf + diff --git a/login/conf/ladmin_local.conf.example b/login/conf/ladmin_local.conf.example index b3f88e8d..a0706b2b 100644 --- a/login/conf/ladmin_local.conf.example +++ b/login/conf/ladmin_local.conf.example @@ -1,9 +1,9 @@ // Athena Ladmin local configuration file. - + // Login Server IP -login_ip:217.172.177.27 +login_ip:127.0.0.1 // Login Server Port -login_port: 6900 +login_port: 6901 // Administrative password, used to connect remotely to server. // NOTICE: If you enable remote administration, you should change its value for security diff --git a/login/conf/login_local.conf.example b/login/conf/login_local.conf.example index 3c9a6cce..37c7713f 100644 --- a/login/conf/login_local.conf.example +++ b/login/conf/login_local.conf.example @@ -8,7 +8,7 @@ admin_state: 1 // Administrative password, used by ladmin (perl software) to connect remotely to server. // NOTICE: If you enable remote administration, you should change its value for security -admin_pass: p1 +admin_pass: admin // Indicate the IP that the server accepts for remote administration. // put: 'all', or 'xxx.xxx.' (begin of an ip finished by '.' or a complete ip), diff --git a/world/conf/char_local.conf.example b/world/conf/char_local.conf.example index 1d55c977..168b5155 100644 --- a/world/conf/char_local.conf.example +++ b/world/conf/char_local.conf.example @@ -11,12 +11,12 @@ server_name: The Mana World wisp_server_name: Server // Login Server IP -login_ip:81.161.192.4 +login_ip:127.0.0.1 // Login Server Port login_port: 6901 // Character Server IP -char_ip:81.161.192.4 +char_ip:127.0.0.1 // Character Server Port char_port: 6122 diff --git a/world/map/conf/map_local.conf.example b/world/map/conf/map_local.conf.example index 0f09bf59..493d8718 100644 --- a/world/map/conf/map_local.conf.example +++ b/world/map/conf/map_local.conf.example @@ -5,11 +5,11 @@ userid: s1 passwd: p1 // Character Server IP -char_ip:81.161.192.4 +char_ip:127.0.0.1 // Character Server Port char_port: 6122 // Map Server IP -map_ip:81.161.192.4 +map_ip:127.0.0.1 // Map Server Port map_port: 5122 -- cgit v1.2.3-60-g2f50