From fd2fa010196ad951fb5b84cc7997b4a7a8310439 Mon Sep 17 00:00:00 2001
From: Cold <90683398+Cold-Martijn@users.noreply.github.com>
Date: Fri, 22 Oct 2021 16:00:37 +0200
Subject: chore: server-setup.md (#642)
* Update server-setup.md
Add info about DataDir. Many users forget to set DataDir to their Data directory.
Added description where to place downloaded data that should be linked to by DataDir
* Update server-setup.md
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
---
docs/server-setup.md | 35 ++++++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 9 deletions(-)
(limited to 'docs')
diff --git a/docs/server-setup.md b/docs/server-setup.md
index 23f9c28..62b8c72 100644
--- a/docs/server-setup.md
+++ b/docs/server-setup.md
@@ -17,6 +17,8 @@ Some files are optional but highly recommended:
| mmaps | HIGHLY RECOMMENDED |
| cameras | Recommended |
+## Download
+
If you do not want to extract these files using the extractors you can find download links here:
Github link:
@@ -29,7 +31,15 @@ Github link:
DBC & maps for all versions (ALTERNATIVE)
-->
-## Extractors
+1. Download the files above.
+
+1. Create a new folder within the build folder called **Data**. i.e **E:\AzerothCore\RelWithDebInfo\Data**
+
+1. Extract the files from the zip file and place them within the **Data** folder.
+
+1. Edit your the [DataDir](#config-files-worldserver-conf---authserver-conf) config option to the location of your folder.
+
+## Extractors (Not needed if you downloaded the files above)
If you downloaded the files above you can skip this step and jump forward to [worldserver.conf / authserver.conf](#worldserverconf--authserverconf).
@@ -47,7 +57,7 @@ By default you will compile your core with tools and you will get the following
Place the files with your World of Warcraft binary (wow.exe on windows) and run them.
-After extracting all neccessary files, create a folder called **Data** within the **RelWithDebInfo** or **Debug** directory and place the files in there. Alternatively you can specify directory where you want to keep them changing DataDir value in worldserver.conf file.
+After extracting all neccessary files, create a folder called **Data** within the **RelWithDebInfo** or **Debug** directory and place the files in there. Alternatively you can specify a different directory where you want to keep them by changing DataDir value in the worldserver.conf file.
If you use extractors from other projects or branches it is almost certain that your AzerothCore will not recognize the extracted data or even work!
@@ -64,7 +74,15 @@ Done!
Extract V4.00 2012_02. Work complete. No errors.
```
-## worldserver.conf / authserver.conf
+### Trouble Shooting
+
+"**Unable to open wmo_list.txt! Nothing extracted.**"
+
+You need to run Mapextractor.exe before the makevmaps_simple.bat.
+
+## Config Files worldserver.conf / authserver.conf
+
+### Creating the config files
1. Make copies of both .dist files.
@@ -97,16 +115,15 @@ The following steps must be verified:
- create an 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 necessary permissions (SELECT, INSERT, UPDATE, DELETE permissions are sufficient, and is much safer).
+### Updating DataDir
-*Pro Tip: For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.*
-
-*NOTE: 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.*
+1. In your worldserver.conf file locate **DataDir** option.
-## Trouble Shooting
+1. Edit it to the path of your folder. i.e **E:\AzerothCore\RelWithDebInfo\Data**
-"**Unable to open wmo_list.txt! Nothing extracted.**"
+*Pro Tip: For most worldserver.conf setting changes, you can simply type .reload config in-game to see changes instantly without restarting the server.*
-You need to run Mapextractor.exe before the makevmaps_simple.bat.
+*NOTE: 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.*
--
cgit