Pages

Tuesday 21 January 2014

building a cMangos server with bots in a nutshell.

I'm posting this so I remember how the hell to do this when i need to know again in 2 years.

The basic workflow is as follows:
clone cmangos, pull playerbot to merge projects, clone ScriptDev2, then build.

10 steps to get it setup  (git addresses may change)

1. git clone git://github.com/cmangos/mangos-classic.git mangos

2. cd mangos

3. git pull https://github.com/blueboy/portalclassic.git  (this merges playerbot into cmangos classic)

4. git clone git://github.com/scriptdev2/scriptdev2-classic.git ~/mangos/src/bindings/ScriptDev2

5. create a ‘build’ and ‘run’ folder in mangos folder

6. cd into ‘build’

7. cmake .. -DCMAKE_INSTALL_PREFIX=~/mangos/run -DINCLUDE_BINDINGS_DIR=ScriptDev2

8. make

9. make install

10. Setup Databases according to current site instructions

No comments:

Post a Comment