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:
Aleos
2019-02-28 16:19:39 -05:00
committed by Lemongrass3110
parent 757a459320
commit 78eed02273
32 changed files with 2120 additions and 952 deletions

View File

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