Code Monkey home page Code Monkey logo

cmangos-achievements's Introduction

Achievements Mod

Achievements mod to make WoTLK achievements work on cmangos classic and tbc cores. image

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.

How to install

NOTE: This guide assumes that you have basic knowledge on how to generate c++ projects, compile code and modify a database

  1. You should use a compatible core version for this to work:

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.

  1. Clone the core desired and generate the solution using cmake. This mod requires you to enable the "BUILD_ACHIEVEMENTS" flag for it to compile.

  2. Build the project.

  3. Copy the configuration file from "src/achievements.conf.dist.in" and place it where your mangosd executable is. Also rename it to "achievements.conf".

  4. Remember to edit the config file and modify the options you want to use.

  5. 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...

  6. 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

How to uninstall

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:

  1. Remove the "BUILD_ACHIEVEMENTS" flag from your cmake configuration and recompile the game

  2. 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...

cmangos-achievements's People

Contributors

davidonete avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.