Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Configuring MaNGOS


    antz

    Configuring MaNGOS

    Once all the files are on the server it's now time to pull things together.
    This can be one of the most frustrating steps to do, but with a little patience it’s easy.

    1) Navigate to the folder where you copied the compiled mangos server and data files

    2) Open mangosd.conf with WordPad

    3) Find the following lines:-

    DataDir = "."
    LogsDir = "."

    Change these to:-

    DataDir = "data"
    LogsDir = "logs"

    4) Find the following 3 lines:-

    LoginDatabaseInfo = "127.0.0.1;3306;root;mangos;realmd"
    WorldDatabaseInfo = "127.0.0.1;3306;root;mangos;mangos0"
    ScriptDev3DatabaseInfo = "127.0.0.1;3306;root;mangos;mangos0"
    CharacterDatabaseInfo = "127.0.0.1;3306;root;mangos;character0"

    You need to change the following:-

    root to the username you use for the database.
    mangos to the password for the user for the database.

    Then you need to set the name of the databases to the names you created earlier:
    realmd = The Realm database name
    mangos0 = The World database name used by both the World database and ScriptDev3 Engine
    character0 = The character Database name

    5) Save the file then Close WordPad

    6) Open realmd.conf with WordPad

    7) Find the following line:-

    LoginDatabaseInfo = "127.0.0.1;3306;root;mangos;realmd"

    You need to change the following:-

    root to the username you use for the database.
    mangos to the password for the user for the database.

    Then you need to set the name of the databases to the names you created earlier:
    realmd = The Realm database name.

    8) Save the file then Close WordPad.

    9) Open aiplayerbot.conf with WordPad

    10) Find the following line:-

    AiPlayerbot.Enabled = 1

    Change this to:

    AiPlayerbot.Enabled = 0

    11) Save the file then Close WordPad.  

    Edited by antz



    User Feedback

    Recommended Comments

    I would like to thank you all for the work you do here and the time you spend and sharing the fruits of those labors.

    I have worked my way up to this point. It hasn't been easy for me as a non-coder. A few things don't quite match up in the guide with the results that I've encountered after following the steps. I've gotten passed those as I considered them nothing more than typos. However, at this point I realize that step 9) aiplayerbot.conf file doesn't exist for me. I figure that the link that I followed on the guide to install the version of mangos is not updated to include the playerbots or some such thing.

    I am looking at my lovely directory with all the other stuff in there but my heart breaks to see it does not include the player bots. I was so close...

    Does this mean I have to restart everything?

    Share this comment


    Link to comment
    Share on other sites

    One part that interests me, you're using `root` for the database. Is this required? Obviously using a non-root user would be better

     

    E: Nevermind, needed to do more than skimming the directions 

    Edited by Aurora Pariseau
    clarification

    Share this comment


    Link to comment
    Share on other sites
    5 hours ago, Aurora Pariseau said:

    One part that interests me, you're using `root` for the database. Is this required? Obviously using a non-root user would be better

     

    E: Nevermind, needed to do more than skimming the directions 

    HI, no its not. You can use your own user with full access o' mangos schemas. 

    Share this comment


    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

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×