Jump to content

Max Wang

Members
  • Posts

    9
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Posts posted by Max Wang

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

     

  2. Hi Everyone,

    When i started mangosd.exe, it should me message that "PlayerBots : Disabled". Does anyone know what happened? I had set "AiPlayerbot.Enabled = 1" in file "aiplayerbot.conf". I checked everything i know, but still don't know how to enable playerbots function. Please help me!!

    Here is what mangosd.exe displayed.

    image.png.b039a11dd2aae194f23c15a245adb850.png

     

    Here is my file "aiplayerbot.conf", which is located in the same folder with "mangosd.exe".

    image.png.39ae739f3649d9157b1d3702c71189a4.png

    And here is screenshot of my configure in cmake window.

    image.thumb.png.3be9f36fef50fee6c648081e35f7dcef.png

     

    Regards, 

    Max Wang

  3. My wow client version is 1.12.3.6141, language is Chinese, OS is windows 7. I followed article below to install mangos zero server in Ubuntu 18.04. When executing ./ExtractResources.sh,   error below occurred, does anyone know how to fix it? Or anywhere I can download the game data (maps, dbc, vmaps, mmaps) for wow 1.12.x?

    For more detail logs, please refer to attached file "MaNGOSExtractor.log" and "MaNGOSExtractor_detailed.log". Also added file "ExtractResources.sh" and "MoveMapGen.sh" in attachment.

    Error message: 

    extract game data.jpg

    vmaps empty.png

     

    I followed this article.

    MaNGOSExtractor.log MaNGOSExtractor_detailed.log

    ExtractResources.sh MoveMapGen.sh

     

    Thanks, 

    Max 

  4. On 6/14/2020 at 9:42 AM, antz said:

    In both the sd3 and eluna folders, issue the following command :

    git pull

    Tried it just now, but still not fixed. Below is the detail information.

    After i executed below command, it show me "There is no tracking information for the current branch."

    cd /root/mangos/server/src/modules/Eluna
    git checkout -b Eluna

    git pull

     

    Detail information:

    -------------------------------------------------------------------------------------

    root@ip-172-31-38-92:~/mangos/server/src/modules/Eluna# git pull
    There is no tracking information for the current branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details.

        git pull <remote> <branch>

    If you wish to set tracking information for this branch you can do so with:

        git branch --set-upstream-to=origin/<branch> Eluna

    -------------------------------------------------------------------------------------

    And then i executed command below, it show me "error: the requested upstream branch 'origin/Eluna' does not exist"

    git branch --set-upstream-to=origin/Eluna Eluna

     

    -------------------------------------------------------------------------------------

    error: the requested upstream branch 'origin/Eluna' does not exist
    hint:
    hint: If you are planning on basing your work on an upstream
    hint: branch that already exists at the remote, you may need to
    hint: run "git fetch" to retrieve it.
    hint:
    hint: If you are planning to push out a new local branch that
    hint: will track its remote counterpart, you may want to use
    hint: "git push -u" to set the upstream config as you push.
    -------------------------------------------------------------------------------------

  5. I am compiling mangos zero server follow below article on my ubuntu_16.04, but error occurred.  Anyone know what i can do next?

     

    Firstly, when i execute "git clone https://github.com/mangoszero/server.git --recursive --depth 1", below error occurred:

    fatal: reference is not a tree: 69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff
    fatal: reference is not a tree: d1f1854d3f96ec0fcb7141ea22731c432eaf0d63
    Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'
    Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

    To fix it, i execute below command, seems it worked, but don't know whether it will caused error when compiling.

    cd /root/mangos/server/src/modules/Eluna
    git checkout -b Eluna

    cd /root/mangos/server/src/modules/SD3
    git checkout -b SD3

     

    Then, execute cmake, and no error occurred.

    cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/bin/mangos

    After that, i execute command make, below error message occurred.

    --------------------------------------------------------------------------

    [ 74%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/ScriptMgr.cpp.o
    /root/mangos/server/src/game/WorldHandlers/ScriptMgr.cpp: In member function ‘GameObjectAI* ScriptMgr::GetGameObjectAI(GameObject*)’:
    /root/mangos/server/src/game/WorldHandlers/ScriptMgr.cpp:2500:16: error: ‘GetGameObjectAI’ is not a member of ‘SD3’
             return SD3::GetGameObjectAI(pGo);
                    ^
    /root/mangos/server/src/game/WorldHandlers/ScriptMgr.cpp: In member function ‘bool ScriptMgr::OnGameObjectUse(Unit*, GameObject*)’:
    /root/mangos/server/src/game/WorldHandlers/ScriptMgr.cpp:2752:41: error: invalid conversion from ‘Unit*’ to ‘Player*’ [-fpermissive]
         return SD3::GOUse(pUnit, pGameObject);
                                             ^
    In file included from /root/mangos/server/src/game/WorldHandlers/ScriptMgr.cpp:49:0:
    /root/mangos/server/src/modules/SD3/system/ScriptDevMgr.h:76:17: note:   initializing argument 1 of ‘static bool SD3::GOUse(Player*, GameObject*)’

     

  6. 11 hours ago, antz said:

    Hi,

    Try removing the --depth=1 and try that

    git clone https://github.com/mangoszero/server.git --recursive

    Regards
    Antz

    Thank you, but after removing "--depth=1", issue still there.

     

    error messages: 

    fatal: reference is not a tree: 69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff

    fatal: reference is not a tree: d1f1854d3f96ec0fcb7141ea22731c432eaf0d63

    Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

    Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

  7. i got another error information here:

    ---------------------------------------------------------------------------------

    fatal: reference is not a tree: 69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff

    fatal: reference is not a tree: d1f1854d3f96ec0fcb7141ea22731c432eaf0d63

    Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

    Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

     

  8. I want to compile mangoszero code, When I execute below command, it show me message: unable to checkout .....

    Is there anyone know how to fix it?

    My is is Ubuntu 16.04 LTS.

    git clone https://github.com/mangoszero/server.git --recursive --depth 1

    Unable to checkout '69a7b14d723f0145df9eb2cb2fcf40b50b48a3ff' in submodule path 'src/modules/Eluna'

    Unable to checkout 'd1f1854d3f96ec0fcb7141ea22731c432eaf0d63' in submodule path 'src/modules/SD3'

     

     

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