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:
Atemo
2021-07-05 19:06:49 +02:00
committed by GitHub
parent 5d26d86cc0
commit f230b13ded
19 changed files with 1336 additions and 585 deletions

View File

@@ -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