@@ -1,6 +1,9 @@
Date Added
12/19
+ * Modified all the *_athena.conf's to have the import command enabled by default [Ajarn]
+ * Added charcommand_conf.txt and log_conf.txt in conf-tmpl/import [Ajarn]
+ * Fixed import command for log_athena.conf file [Ajarn]
* Updated charcommand.conf [nsstrunks]
12/18
@@ -671,4 +671,4 @@ gm: 100
//---------------------
// OTHER: not a command
-//import: conf/import/atcommand_conf.txt
+import: conf/import/atcommand_conf.txt
@@ -168,4 +168,6 @@ anti_freeze_interval: 6
imalive_on: 0
imalive_time: 30
flush_on: 0
-flush_time: 30
+flush_time: 30
+
+import: conf/import/char_conf.txt
@@ -22,3 +22,5 @@ spiritball: 60
item: 60
job: 60
jobchange: 60
+import: conf/import/charcommand_conf.txt
@@ -126,3 +126,5 @@ use_sql_db: no
// Log Inter Connections, etc.?
log_inter: 1
+import: conf/import/inter_conf.txt
@@ -30,5 +30,4 @@ ladmin_log_filename: log/ladmin.log
// 3: 2004-12-31 23:59:59 (default)
date_format: 3
-// If you want use an additional configuration file, uncomment and use this parameter
-//import: path/additional_configuration_file
+import: conf/import/ladmin_conf.txt
@@ -91,4 +91,6 @@ log_trade: log/tradelog.log
log_vend: log/vendlog.log
// GM Log File
-log_gm: log/atcommandlog.log
+log_gm: log/atcommandlog.log
+import: conf/import/log_conf.txt
@@ -153,3 +153,5 @@ imalive_time: 60
// How often to flush the buffer in Mugendai's GUI
flush_time: 60
+import: conf/import/login_conf.txt
@@ -1192,10 +1192,10 @@ map: que_god02.gat
//map: tank_test2.gat
//map: test.gat
-import: conf/import/map_conf.txt
-
// Mugendai's GUI Support
flush_time: 30
+import: conf/import/map_conf.txt
@@ -471,6 +471,9 @@ int log_config_read(char *cfgName)
strcpy(log_config.log_gm, w2);
if(log_config.gm > 0)
printf("Logging GM Level %d Commands to file `%s`.txt\n", log_config.gm, w2);
+ //support the import command, just like any other config
+ } else if(strcmpi(w1,"import")==0){
+ log_config_read(w2);
}