git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@630 54d463be-8e91-2dee-dedb-b68131a5f0ec

This commit is contained in:
ajarn 2004-12-19 04:36:06 +00:00
parent 92e2d02f61
commit fc35376444
4 changed files with 156 additions and 145 deletions

View File

@ -1,6 +1,7 @@
Date Added
12/18
* Fixed import command in inter_athena.conf file [Ajarn]
* Changed few God-items to fit kRO 12/7/04 Patch [Aria]
* Readded my own npc [Aria]
* Fixed SQL char creation, it now follows MySQL standards and uses mysql_last_insert_id [Ajarn]

View File

@ -2842,6 +2842,9 @@ void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */
}else if(strcmpi(w1,"lowest_gm_level")==0){
lowest_gm_level = atoi(w2);
printf("set lowest_gm_level : %s\n",w2);
//support the import command, just like any other config
}else if(strcmpi(w1,"import")==0){
sql_config_read(w2);
}
}
fclose(fp);

View File

@ -853,6 +853,10 @@ void sql_config_read(const char *cfgName){ /* Kalaspuff, to get login_db */
else if(strcmpi(w1,"lowest_gm_level")==0){
lowest_gm_level = atoi(w2);
}
//support the import command, just like any other config
else if(strcmpi(w1,"import")==0){
sql_config_read(w2);
}
}
fclose(fp);
printf("reading SQL configuration done.....\n");

View File

@ -2047,6 +2047,9 @@ int sql_config_read(char *cfgName)
strcpy(log_db_pw, w2);
} else if(strcmpi(w1,"log_db_port")==0) {
log_db_port = atoi(w2);
//support the import command, just like any other config
} else if(strcmpi(w1,"import")==0){
sql_config_read(w2);
}
}
fclose(fp);