Initial release of the Achievement System (#2044)

* Information based on kRO patch notes.
- http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1
* Includes Title System which is integrated into the Achievement System.
* Includes RODEX integration for rewards.
* Added new atcommand reloadachievementdb.
* Added new script commands achievementinfo, achievementadd, achievementremove, achievementcomplete, and achievementexists.
Thanks to @Lux-uri, @RagnarokNova, @Lemongrass3110, and @Tokeiburu for their help!
This commit is contained in:
Aleos
2017-07-27 09:33:03 -04:00
committed by GitHub
parent 433490a202
commit 7f5411da07
62 changed files with 8032 additions and 55 deletions

View File

@@ -38,6 +38,7 @@
#include "elemental.h"
#include "cashshop.h"
#include "channel.h"
#include "achievement.h"
#include <stdlib.h>
#include <math.h>
@@ -4385,6 +4386,7 @@ void do_final(void)
do_final_clif();
do_final_npc();
do_final_quest();
do_final_achievement();
do_final_script();
do_final_instance();
do_final_itemdb();
@@ -4739,6 +4741,7 @@ int do_init(int argc, char *argv[])
do_init_mercenary();
do_init_elemental();
do_init_quest();
do_init_achievement();
do_init_npc();
do_init_unit();
do_init_battleground();
@@ -4758,10 +4761,6 @@ int do_init(int argc, char *argv[])
shutdown_callback = do_shutdown;
runflag = MAPSERVER_ST_RUNNING;
}
#if defined(BUILDBOT)
if( buildbotflag )
exit(EXIT_FAILURE);
#endif
if( console ){ //start listening
add_timer_func_list(parse_console_timer, "parse_console_timer");