AzerothCore
Pages (Latest 10 updated) :

Windows Server Setup

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Step 2: Core Installation Step 4: Database Installation >>

Extracting DBC, Maps, VMaps & MMaps

  1. Browse into your build directory (C:\Build\RelWithDebInfo\ *) and copy the following files into your World of Warcraft folder (where the wow.exe is located).
mapextractor.exe
mmaps_generator.exe
vmap4extractor.exe
vmap4assembler.exe
  1. Browse into C:\Azerothcore\apps\extractor and copy "extractor.bat" into your World of Warcraft folder with the previous files.

  2. Create mmaps and vmaps folders in your World of Warcraft directory.

  3. Launch extractor.bat and select your extractor options.

Important notes

  • dbc, maps AND vmaps are needed to make server work properly!

  • Do not attempt to stop vmaps exctraction process. It is finished when it prints "Press any key...". It will create two new folders: buildings and vmaps. The buildings folder is completely useless post-running and can be safely deleted.

  • Don't run another task before the 1st is finished or you will have errors.

  • If you stop vmap4extractor before finish you will need to delete the Buildings directory before start again.

  • Optional but extremely recommended: Extract mmaps. Do not attempt to stop this process while it is exctracting.

  1. Create a new folder in C:\Build\RelWithDebInfo * called Data

  2. Move the vmaps, maps, dbc, cameras into the Data folder.

* Can be found in RelWithDebInfo, Debug or Release.

Setting up the configuration files

First of all you need to find the two default config files (named worldserver.conf.dist and authserver.conf.dist) and copy them. Then rename the copies their namesakes without the .dist extension. You can find them within /build/configs/ (may vary).

Open the .conf files and scroll down to LoginDatabaseInfo, WorldDatabaseInfo, and CharacterDatabaseInfo and enter MySQL login information for the server to be able to access your database.

On a newly compiled configuration, you will have the following values by default

LoginDatabaseInfo     = "127.0.0.1;3306;acore;acore;acore_auth" worldserver.conf / authserver.conf
WorldDatabaseInfo     = "127.0.0.1;3306;acore;acore;acore_world" worldserver.conf
CharacterDatabaseInfo = "127.0.0.1;3306;acore;acore;acore_characters" worldserver.conf

They follow this structure:

Variablename = "MySQLIP;Port;Username;Password;database"  

Help

If you are still having problems, check:

Installation Guide
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps.
<< Step 2: Core Installation Step 4: Database Installation >>