Jump to content
  • 0

how to build/install/enable playerbot


dbq
 Share

Question

I followed the installation guide for ubuntu:

All is good and playable. Many thanks to Elmsroth!!!

But it seems the build does not include the bot module because I can't find aiplayerbot.conf.dist being added to my conf/ directory.
Based on the following code, it should be installed.

# Install config files
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/playerbot/aiplayerbot.conf.dist.in ${CMAKE_CURRENT_BINARY_DIR}/aiplayerbot.conf.dist)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/aiplayerbot.conf.dist DESTINATION ${CONF_INSTALL_DIR})


Can anybody show some pointers or fill-in the gap of the installation guide?

Btw, myself is a C++ developer but  not very good at CMake. So please feel free point me to source code or feel free to use jargon.

Any help/comment is much apprecaited. Thanks again.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

On the CMAKE commandhow have to add -DPLAYERBOTS=1 like

cmake ../sources/ -DCMAKE_INSTALL_PREFIX=/opt/wow/install/mangos -DCONF_INSTALL_DIR=/opt/wow/install/mangos/conf -DPLAYERBOTS=1
  • Like 1
Link to comment
Share on other sites

  • 0
On 7/9/2021 at 8:38 PM, curatio said:

On the CMAKE commandhow have to add -DPLAYERBOTS=1 like

cmake ../sources/ -DCMAKE_INSTALL_PREFIX=/opt/wow/install/mangos -DCONF_INSTALL_DIR=/opt/wow/install/mangos/conf -DPLAYERBOTS=1

This solve my problem and after that you have to load the database. I followed ike's github page and it worked fine so far despite some minor bugs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use