summaryrefslogtreecommitdiff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/conf/.gitignore1
-rw-r--r--login/conf/ladmin_athena.conf7
-rw-r--r--login/conf/ladmin_local.conf.example11
-rw-r--r--login/conf/lan_support.conf45
-rw-r--r--login/conf/login_athena.conf74
-rw-r--r--login/conf/login_local.conf.example37
-rw-r--r--login/conf/tmwa-admin-old.conf6
-rw-r--r--login/conf/tmwa-admin.conf7
-rw-r--r--login/conf/tmwa-login-old.conf7
-rw-r--r--login/conf/tmwa-login.conf8
-rw-r--r--login/save/.gitignore2
-rw-r--r--login/save/account.txt.example17
-rw-r--r--login/save/gm_account.txt.example1
13 files changed, 0 insertions, 223 deletions
diff --git a/login/conf/.gitignore b/login/conf/.gitignore
deleted file mode 100644
index 2c43e911..00000000
--- a/login/conf/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/*_local.conf
diff --git a/login/conf/ladmin_athena.conf b/login/conf/ladmin_athena.conf
deleted file mode 100644
index 651826c5..00000000
--- a/login/conf/ladmin_athena.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-// Athena Ladmin configuration file.
-
-// Log for all actions.
-ladmin_log_filename: log/ladmin.log
-
-// local settings for this server in this file
-import: conf/ladmin_local.conf
diff --git a/login/conf/ladmin_local.conf.example b/login/conf/ladmin_local.conf.example
deleted file mode 100644
index aaef5fb3..00000000
--- a/login/conf/ladmin_local.conf.example
+++ /dev/null
@@ -1,11 +0,0 @@
-// Athena Ladmin local configuration file.
-
-// Login Server IP
-login_ip: 127.0.0.1
-// Login Server Port
-login_port: 6901
-
-// Administrative password, used to connect remotely to server.
-// NOTICE: You should change its value for security.
-// This is also in login_local.conf
-admin_pass: admin
diff --git a/login/conf/lan_support.conf b/login/conf/lan_support.conf
deleted file mode 100644
index 73d5362b..00000000
--- a/login/conf/lan_support.conf
+++ /dev/null
@@ -1,45 +0,0 @@
-// Note: used by the login-server; another copy is used by the char-server
-
-// This file is necessary to connect to your server locally:
-// by using it's internal (LAN) IP address, or localhost (127.0.0.1)
-
-// The default version treats you LAN as localhost only,
-// which is fine if you have only one computer
-// You only need to change this file if you have a public server
-// AND want to connect from other machines in the LAN
-// (for an nonpublic server it would be best to leave localhost as LAN
-// and treat the rest of your LAN as the WAN)
-
-// Note: if you set up this file to point to your real LAN, you will not
-// be able to do:
-// mana --server localhost --port 6901
-// or mana --server 127.0.0.1 --port 6901
-// because of the check_ip_flag: yes option
-// (which will become mandatory in the next release of the server)
-// instead do:
-// mana --server 192.168.1.100 --port 6901
-// or maybe, depending on how your /etc/hosts and /etc/host.conf are setup,
-// mana --server ben-desktop --port 6901
-// or mana --server ben-desktop.local --port 6901
-
-// Note that only one IP is used, so you can't put different char servers
-// on different machines (unless you do some internal port-forwarding)
-
-
-// the IP that LAN players should use to connect to the char-server
-lan_char_ip: 127.0.0.1
-//lan_char_ip: 192.168.1.100
-
-// put here the Subnet mask of your LAN
-// see output of ifconfig (Linux) or ipconfig (Windows)
-lan_subnet: 127.0.0.1
-//lan_subnet: 127.0.0.1/255.0.0.0
-
-// Common subnets (if you have a subnet that is not one of these,
-// you probably don't need to be reading this)
-//lan_subnet: 10.0.0.0/8
-//lan_subnet: 172.16.0.0/12
-//lan_subnet: 192.168.0.0/16
-
-// Many home routers only use a portion:
-//lan_subnet: 192.168.1.0/255.255.255.0
diff --git a/login/conf/login_athena.conf b/login/conf/login_athena.conf
deleted file mode 100644
index a14cfa6f..00000000
--- a/login/conf/login_athena.conf
+++ /dev/null
@@ -1,74 +0,0 @@
-// Athena Login Server configuration file.
-
-// Can you make new accounts on the server?
-new_account: yes
-
-// Account flatfile database, stores account information.
-account_filename: save/account.txt
-
-// What account AIDs have GM privs, and what level?
-gm_account_filename: save/gm_account.txt
-
-// Time, in seconds, to poll the gm file for changes.
-// Please use ladmin instead of editing the file manually.
-gm_account_filename_check_timer: 15
-
-// General log.
-login_log_filename: log/login.log
-
-// Print basic header information about incoming client packets.
-// Also print a little more about client or char auth attempts.
-display_parse_login: no
-
-// Print basic header information about incoming ladmin packets.
-display_parse_admin: no
-
-// Print basic header information about incoming char-server packets.
-// 0: no packets
-// 1: all packets except 0x2714
-// 2: all packets, including 0x2714
-display_parse_fromchar: 0
-
-// Accounts must have this GM level to log in.
-// 0: all players, 1-99: GM level at least this.
-min_level_to_connect: 0
-
-// How the IP allow/deny lists (below) are interpreted.
-// Possible values:
-// "deny, allow" (default):
-// if in deny list, deny
-// if not in deny list, accept
-// "allow, deny"
-// if in allow list, accept
-// if not in allow list, deny
-// "mutual-failure"
-// if in deny list, deny
-// if not in deny list, if in allow list, allow
-// if in no list, deny
-// In any case, if both lists are empty, all IPs are allowed.
-// In future, all this will go away: instead the latest setting will apply.
-// NOTE: in any case, it's probably better to use iptables:
-// - iptables happens before the connection is established
-// - iptables can be changed without restarting the login-server
-// Note: internally this is called 'access_order'.
-order: deny, allow
-
-// List of IPs (or prefixes or masks) on the allow list.
-// The meaning is determined by the 'order' setting.
-// Note: internally this is called 'access_allow'.
-//allow: all
-
-// List of IPs (or prefixes or masks) on the deny list.
-// The meaning is determined by the 'order' setting.
-// Note: internally this is called 'access_deny'.
-//deny: 123.123.123.123
-//deny: 234.234.234.234
-
-// If true, unresponsive char-servers will be kicked.
-anti_freeze_enable: no
-// Interval, in seconds, for one step of the antifreeze timer.
-// Five of these must pass before the kick will happen.
-anti_freeze_interval: 15
-
-// local settings for this server in this file
-import: conf/login_local.conf
diff --git a/login/conf/login_local.conf.example b/login/conf/login_local.conf.example
deleted file mode 100644
index 635f22ee..00000000
--- a/login/conf/login_local.conf.example
+++ /dev/null
@@ -1,37 +0,0 @@
-// Athena Login Server local configuration file.
-
-// Port to bind Login Server to (always binds to all IPv4 addresses)
-login_port: 6901
-
-// Whether remote administration is enabled or disabled
-admin_state: yes
-
-// Administrative password, used by ladmin to connect remotely to server.
-// NOTICE: You should change its value for security.
-// This is also in ladmin_local.conf
-admin_pass: admin
-
-// List of IPs that the server accepts for remote administration.
-// This can be repeated, with one entry per line.
-// Each line can be an IP prefix (xxx.xxx.), a full IP, or a network/mask.
-// Particularly, it *cannot* be a hostname.
-// The special value 'all' allows all IPs.
-// The special value 'clear' empties the list (useful for includes).
-// Note: internally this is called 'access_ladmin'.
-//ladminallowip: all
-//ladminallowip: clear
-ladminallowip: 127.0.0.1
-
-// Update host
-// If not empty, send address for client to download data.
-// This must contain news.txt and resources.xml
-update_host: http://tmwdata.org/updates/
-
-// Which world should appear first to the players.
-// see server_name in world/conf/char_local.conf
-main_server: The Mana World
-
-// Server Communication username and password.
-// This used to be in save/account.txt, but this is better.
-userid: s1
-passwd: p1
diff --git a/login/conf/tmwa-admin-old.conf b/login/conf/tmwa-admin-old.conf
deleted file mode 100644
index 7670b002..00000000
--- a/login/conf/tmwa-admin-old.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-// Master config file for The Mana World Athena (admin component)
-// This file is used since version 14.x.y
-
-version-lt: 15.1.23
-
-import: conf/ladmin_athena.conf
diff --git a/login/conf/tmwa-admin.conf b/login/conf/tmwa-admin.conf
deleted file mode 100644
index 69f333d9..00000000
--- a/login/conf/tmwa-admin.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-// Master config file for The Mana World Athena (admin component)
-// This file is used since version 14.x.y, but major changes in 15.x.y
-
-import: conf/tmwa-admin-old.conf
-version-ge: 15.1.23
-
-admin_conf: conf/ladmin_athena.conf
diff --git a/login/conf/tmwa-login-old.conf b/login/conf/tmwa-login-old.conf
deleted file mode 100644
index 907ada2e..00000000
--- a/login/conf/tmwa-login-old.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-// Master config file for The Mana World Athena (login component)
-// This file is used since version 14.x.y
-
-version-lt: 15.1.23
-
-import: conf/login_athena.conf
-import: conf/lan_support.conf
diff --git a/login/conf/tmwa-login.conf b/login/conf/tmwa-login.conf
deleted file mode 100644
index 44e3adfe..00000000
--- a/login/conf/tmwa-login.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-// Master config file for The Mana World Athena (login component)
-// This file is used since version 14.x.y, but major changes in 15.x.y
-
-import: conf/tmwa-login-old.conf
-version-ge: 15.1.23
-
-login_conf: conf/login_athena.conf
-login_lan_conf: conf/lan_support.conf
diff --git a/login/save/.gitignore b/login/save/.gitignore
deleted file mode 100644
index 82cfa276..00000000
--- a/login/save/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/account.txt*
-/gm_account.txt*
diff --git a/login/save/account.txt.example b/login/save/account.txt.example
deleted file mode 100644
index a842f60c..00000000
--- a/login/save/account.txt.example
+++ /dev/null
@@ -1,17 +0,0 @@
-// Accounts file: here are saved all information about the accounts.
-// Structure: ID, account name, password, last login time, sex, # of logins, state, email, error message for state 7, validity time, last (accepted) login ip, memo field, ban timestamp, repeated(register text, register value)
-// Some explanations:
-// account name : between 4 to 23 char for a normal account (standard client can't send less than 4 char).
-// account password: between 4 to 23 char
-// sex : M or F for normal accounts, S for server accounts
-// state : 0: account is ok, 1 to 256: error code of packet 0x006a + 1
-// email : between 3 to 39 char (a@a.com is like no email)
-// error message : text for the state 7: 'Your are Prohibited to login until <text>'. Max 19 char
-// valitidy time : 0: unlimited account, <other value>: date calculated by addition of 1/1/1970 + value (number of seconds since the 1/1/1970)
-// memo field : max 254 char
-// ban time : 0: no ban, <other value>: banned until the date: date calculated by addition of 1/1/1970 + value (number of seconds since the 1/1/1970)
-0 s1 p1 - S 694 0 a@a.com - 0 - - 0
-1 s2 p2 - S 1 0 a@a.com - 0 - - 0
-2 s3 p3 - S 1 0 a@a.com - 0 - - 0
-3 s4 p4 - S 0 0 a@a.com - 0 - - 0
-4 s5 p5 - S 0 0 a@a.com - 0 - - 0
diff --git a/login/save/gm_account.txt.example b/login/save/gm_account.txt.example
deleted file mode 100644
index 912e1a09..00000000
--- a/login/save/gm_account.txt.example
+++ /dev/null
@@ -1 +0,0 @@
-// <account ID> <level>