Windows Server Setup
Table of contents
- Client Data Files (Download Pre-Extracted)
- Client Data Extractors (Extract Files Yourself)
- Config Files: Worldserver and Authserver
Now that you have the source compiled, you need to add the necessary client data. You can either download pre-extracted files or use the compiled extractors to extract the files yourself. Once the data is ready, you must update the DataDir option in your worldserver.conf file to point to the directory containing the data.
Some files are optional but highly recommended:
| Directory | |
|---|---|
| dbc | Mandatory |
| maps | Mandatory |
| vmaps | HIGHLY RECOMMENDED |
| mmaps | HIGHLY RECOMMENDED |
| cameras | Recommended |
Option 1: Download Pre-Extracted Files
If you intend to use an enUS client you can download the data files below. If you intend to use any other language client you will need to extract the data yourself.
- Download the files above.
- Create a new folder within the build folder called Data. i.e C:\Build\bin\RelWithDebInfo\Data
- Extract the files from the zip file and place them within the Data folder.
- Edit your the DataDir config option to the location of your folder.
Option 2: Extract Files Yourself
(Not needed if you downloaded the files above)
- Browse into your build directory (C:\Build\bin\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- Browse into C:\Azerothcore\apps\extractor and copy "extractor.bat" into your World of Warcraft folder with the previous files.
- Create mmaps and vmaps folders in your World of Warcraft directory.
- Launch extractor.bat and select your extractor options.
- 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 first 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.- Create a new folder in C:\Build\bin\RelWithDebInfo called Data
- Move the vmaps, maps, dbc, cameras into the Data folder.
Config Files: Worldserver and Authserver
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 C:\Build\bin\RelWithDebInfo\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.confThey follow this structure:
Variablename = "MySQLIP;Port;Username;Password;database"The following steps must be verified:
The hostname (127.0.0.1) can stay the same if AzerothCore is being installed on the same computer that you run WoW on. If not, follow the instruction in Realmlist Table.
The port (3306) is the standard configured value. If you changed the default port in your MySQL settings, you must change it accordingly. The username and password can be variable. You can choose to either:
- use default acore / acore username and password pair.
- create a unique login within a User Manager within your preferred database management tool (commonly identified by an icon that looks like a person or people) and give it the necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).
Updating DataDir
- In your worldserver.conf file locate the DataDir option.
- Edit it to the path of your folder. i.e C:\Build\bin\RelWithDebInfo\Data
TIP
For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.
WARNING
The AzerothCore Team and Owners DO NOT in any case sponsor nor support illegal public servers. If you use these projects to run an illegal public server and not for testing and learning it is your own personal choice.
(Optional) Config options by environment variable
It is possible to load config options via environment variables, which you can read about here.
Help
If you are still having problems, check:
- FAQ
- Common Errors
- How to ask for help
- Join our Discord Server, but it is not a 24/7 support channel. A staff member will answer you whenever they have time.