Jump to content
  • 0

Mangos and enabled modules


Specu

Question

Hi,

I just compiled recent MaNGOS Zero server with Playerbots enabled. But when I run the server:

_______________________________________________________

 MaNGOS Server: World Initialization Complete
_______________________________________________________

        Server Version : 2118001
      Database Version : Rel21.22.1

    Supporting Clients : 1.12.x
                Builds : 5875 6005 6141 

         Module Status -
 
                 Eluna : Enabled 
                Warden : Enabled 
            PlayerBots : Disabled 
      ScriptDev3 (SD3) : Enabled 
    Remote Access (RA) : Disabled
_______________________________________________________

CMakeLists.txt

#==================================================================================
# Define available cmake options below
option(BUILD_MANGOSD        "Build the main server"                         ON)
option(BUILD_REALMD         "Build the login server"                        ON)
option(BUILD_TOOLS          "Build the map/vmap/mmap extractors"            ON)
option(USE_STORMLIB         "Use StormLib for reading MPQs"                 OFF)
option(SCRIPT_LIB_ELUNA     "Compile with support for Eluna scripts"        ON)
option(SCRIPT_LIB_SD3       "Compile with support for ScriptDev3 scripts"   ON)
option(PLAYERBOTS           "Enable Player Bots"                            ON)
option(SOAP                 "Enable remote access via SOAP"                 OFF)
option(PCH                  "Enable precompiled headers"                    ON)
option(DEBUG                "Enable debug build (only on non IDEs)"         OFF)
#==================================================================================

cat mangos/etc/aiplayerbot.conf

##########################################
# MANGOS Ai Playerbot Configuration file #
##########################################

[AiPlayerbotConf]
ConfVersion=2010102201

# Enable or disable AI Playerbot
AiPlayerbot.Enabled = 1


 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Nope only options that I put while cmake was -DCMAKE_INSTALL_PREFIX. I thought that if I define options in CMakeLists.txt file they will be compiled.

EDIT: mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/bin/mangos -DPLAYERBOTS=1 && make -j12 && make install

_______________________________________________________

 MaNGOS Server: World Initialization Complete
_______________________________________________________

        Server Version : 2118001
      Database Version : Rel21.22.1

    Supporting Clients : 1.12.x
                Builds : 5875 6005 6141 

         Module Status -
 
                 Eluna : Enabled 
                Warden : Enabled 
            PlayerBots : Disabled 
      ScriptDev3 (SD3) : Enabled 
    Remote Access (RA) : Disabled
_______________________________________________________

build a while ago

-rwxr-xr-x 1 root root  1343320 Jul 24 11:52 realmd
-rwxr-xr-x 1 root root 15472792 Jul 24 12:10 mangosd
 

Of course I deleted build folder when I build server again.

Edited by Specu
Link to comment
Share on other sites

  • 0
On 7/24/2020 at 3:36 AM, Specu said:

Hi,

I just compiled recent MaNGOS Zero server with Playerbots enabled. But when I run the server:

_______________________________________________________

 MaNGOS Server: World Initialization Complete
_______________________________________________________

        Server Version : 2118001
      Database Version : Rel21.22.1

    Supporting Clients : 1.12.x
                Builds : 5875 6005 6141 

         Module Status -
 
                 Eluna : Enabled 
                Warden : Enabled 
            PlayerBots : Disabled 
      ScriptDev3 (SD3) : Enabled 
    Remote Access (RA) : Disabled
_______________________________________________________

CMakeLists.txt

#==================================================================================
# Define available cmake options below
option(BUILD_MANGOSD        "Build the main server"                         ON)
option(BUILD_REALMD         "Build the login server"                        ON)
option(BUILD_TOOLS          "Build the map/vmap/mmap extractors"            ON)
option(USE_STORMLIB         "Use StormLib for reading MPQs"                 OFF)
option(SCRIPT_LIB_ELUNA     "Compile with support for Eluna scripts"        ON)
option(SCRIPT_LIB_SD3       "Compile with support for ScriptDev3 scripts"   ON)
option(PLAYERBOTS           "Enable Player Bots"                            ON)
option(SOAP                 "Enable remote access via SOAP"                 OFF)
option(PCH                  "Enable precompiled headers"                    ON)
option(DEBUG                "Enable debug build (only on non IDEs)"         OFF)
#==================================================================================

cat mangos/etc/aiplayerbot.conf

##########################################
# MANGOS Ai Playerbot Configuration file #
##########################################

[AiPlayerbotConf]
ConfVersion=2010102201

# Enable or disable AI Playerbot
AiPlayerbot.Enabled = 1


 

Did you fix it? i have the same problem with you. If you know, please help to reply my question in below.

 

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
×
×
  • 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