Converted statpoint.txt to YAML (#6010)
* Converts the Statpoint Database into YAML. * Includes CSV2YAML converter. * Added start_status_points to inter_athena.conf Co-authored-by: Lemongrass3110 <lemongrass@kstp.at> Co-authored-by: Aleos <aleos89@users.noreply.github.com>
This commit is contained in:
@@ -97,6 +97,8 @@ char log_db_pw[32] = "";
|
||||
char log_db_db[32] = "log";
|
||||
Sql* logmysql_handle;
|
||||
|
||||
uint32 start_status_points = 48;
|
||||
|
||||
// DBMap declaration
|
||||
static DBMap* id_db=NULL; /// int id -> struct block_list*
|
||||
static DBMap* pc_db=NULL; /// int id -> struct map_session_data*
|
||||
@@ -4251,6 +4253,9 @@ int inter_config_read(const char *cfgName)
|
||||
if(strcmpi(w1,"log_db_db")==0)
|
||||
safestrncpy(log_db_db, w2, sizeof(log_db_db));
|
||||
else
|
||||
if(strcmpi(w1,"start_status_points")==0)
|
||||
start_status_points=atoi(w2);
|
||||
else
|
||||
if( mapreg_config_read(w1,w2) )
|
||||
continue;
|
||||
//support the import command, just like any other config
|
||||
|
||||
Reference in New Issue
Block a user