Achievements mod to make WoTLK achievements work on cmangos classic and tbc cores.
This mod was ported from https://github.com/tsaah/core/tree/hb-achievements and modified to become a independent module as well as adding extra features.
NOTE: This guide assumes that you have basic knowledge on how to generate c++ projects, compile code and modify a database
- You should use a compatible core version for this to work:
- Classic (Achievements only): https://github.com/davidonete/mangos-classic/tree/achievements-mod
- Classic (All mods): https://github.com/celguar/mangos-classic/tree/ike3-bots
- TBC (Achievements only): To be done...
- TBC (All mods): https://github.com/celguar/mangos-tbc/tree/ike3-bots
NOTE: The "Achievements only" version is provided as an example of where to place the code on the cmangos core in order to make it work, however it won't get updated to the latest core version unless the affected changes require it.
-
Clone the core desired and generate the solution using cmake. This mod requires you to enable the "BUILD_ACHIEVEMENTS" flag for it to compile.
-
Build the project.
-
Copy the configuration file from "src/achievements.conf.dist.in" and place it where your mangosd executable is. Also rename it to "achievements.conf".
-
Remember to edit the config file and modify the options you want to use.
-
Lastly you will have to install the database changes located in the "sql/install" folder, each folder inside represents where you should execute the queries. E.g. The queries inside of "sql/install/world" will need to be executed in the world/mangosd database, the ones in "sql/install/characters" in the characters database, etc...
-
For being able to see the UI on the client you will need to download and install the following addon https://github.com/celguar/Achiever
To remove achievements from your server you have multiple options, the first and easiest is to disable it from the achievements.conf file. The second option is to completely remove it from the server and db:
-
Remove the "BUILD_ACHIEVEMENTS" flag from your cmake configuration and recompile the game
-
Execute the sql queries located in the "sql/uninstall" folder. Each folder inside represents where you should execute the queries. E.g. The queries inside of "sql/uninstall/world" will need to be executed in the world/mangosd database, the ones in "sql/uninstall/characters" in the characters database, etc...