Updated the YAML parsing method (#3694)
Synchronized the process of loading and parsing YAML databases. Provides more robust parse warnings/errors. Added Header checks to validate database versions. Adjusted root keys to a standard name of Body. Adjusted inter-server storages, achievements, and attendance to follow the new format. Fixes #3483 Thanks to @Lemongrass3110!
This commit is contained in:
@@ -3208,7 +3208,7 @@ int do_init(int argc, char **argv)
|
||||
ShowNotice("And then change the user/password to use in conf/char_athena.conf (or conf/import/char_conf.txt)\n");
|
||||
}
|
||||
|
||||
inter_init_sql((argc > 2) ? argv[2] : inter_cfgName); // inter server configuration
|
||||
inter_init_sql((argc > 2) ? argv[2] : SQL_CONF_NAME); // inter server configuration
|
||||
|
||||
auth_db = idb_alloc(DB_OPT_RELEASE_DATA);
|
||||
online_char_db = idb_alloc(DB_OPT_RELEASE_DATA);
|
||||
|
||||
Reference in New Issue
Block a user