summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2022-01-13 15:01:37 +0100
committerKitzunu <24550914+Kitzunu@users.noreply.github.com>2022-01-13 15:01:37 +0100
commitdc17689bcef62e18dd1ce9dd64d316d604cf8ac6 (patch)
tree70e883242e7af1c5c729e9b2729a648b631e7b66
parentf302103ffdbd1f154b8fce6cd29f04de5c43612b (diff)
downloadwiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.tar.gz
wiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.tar.bz2
wiki-dc17689bcef62e18dd1ce9dd64d316d604cf8ac6.zip
chore: General improvements
-rw-r--r--docs/cmake-options.md20
-rw-r--r--docs/common-errors.md22
-rw-r--r--docs/contribute.md8
-rw-r--r--docs/linux-keeping-the-server-up-to-date.md4
-rw-r--r--docs/server-setup.md6
-rw-r--r--docs/windows-core-installation.md2
6 files changed, 37 insertions, 25 deletions
diff --git a/docs/cmake-options.md b/docs/cmake-options.md
index 3d10533..1b8ee6a 100644
--- a/docs/cmake-options.md
+++ b/docs/cmake-options.md
@@ -6,15 +6,23 @@ redirect_from: "/CMake-options"
## PERFORMANCE
-If you want to disable performance improvement, add this flag `-DENABLE_EXTRAS=0`
+If you want to disable performance optimizations, add this flag `-DENABLE_EXTRAS=0`
+
+Only necessary if you're debugging.
## EXTRA LOGS
-If you want to enable extra logs, add this flag: `-DENABLE_EXTRAS=1 -DENABLE_EXTRA_LOGS=1`
+If you want to enable extra logs, add this flag: `-DENABLE_EXTRA_LOGS=1`
+
+Note: Will be CPU intensive.
+
+## WARNINGS
-## PCH
+Enable all warnings when compiling: `-DWITH_WARNINGS=1`
-Totally disable PCH:
+## Precompiled Headers (PCH)
+
+Disable all uses of PCH:
`-DNOPCH=1`
@@ -24,9 +32,11 @@ Or one by one:
-DUSE_SCRIPTPCH=0
```
+May increase build times.
+
## OTHER OPTIONS
Other options are available here:
-* https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist/config.cmake
+* https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist/config.cmake#L58
* https://github.com/azerothcore/azerothcore-wotlk/blob/master/src/cmake/showoptions.cmake
diff --git a/docs/common-errors.md b/docs/common-errors.md
index 303e680..23e982c 100644
--- a/docs/common-errors.md
+++ b/docs/common-errors.md
@@ -52,7 +52,7 @@ This can mean several things:
## Database Update-related errors
-**ACE00020** My DB Assambler closes and does not import all updates, I get:
+**ACE00020** My DB Assembler closes and does not import all updates, I get:
```
ERROR 1054 (42522) at line 14062: Unknown column 'resistance2' in 'field list'
```
@@ -62,16 +62,16 @@ The easiest way to fix it is by dropping your database and importing it again.
---------------------------------------------------------
-**ACE0021** My DB Assambler closes and does not import all updates, I get:
+**ACE0021** My DB Assembler closes and does not import all updates, I get:
This can be due to several reasons:
-1. You have the wrong credentials set up for the DB Assambler.
+1. You have the wrong credentials set up for the DB Assembler.
2. Your Database structure has been modified manually and is conflicting with the updates. Fix this by dropping the database.
---------------------------------------------------------
-**ACE00022** My DB Assambler closes and does not import all updates, I get:
+**ACE00022** My DB Assembler closes and does not import all updates, I get:
```
ERROR 1067 (42000) at line 181: Invalid default value for 'start_time'.
```
@@ -156,13 +156,13 @@ This is usually due to mixing 32/64bit DLLs with your compiled binaries. Your DL
## Core compilation-related errors
-**ACE00060** I don't get a AzerothCore hash
+**ACE00060** I don't get an AzerothCore hash
-Read how to properly install Git for Windows.
+Reinstall Git for Windows and select "Git from the command line and also 3rd party software" when asked about adjusting your PATH.
---------------------------------------------------------
-**ACE00061** I cannot install AzerothCore on CentOS/Ubtuntu/Debian etc.
+**ACE00061** I cannot install AzerothCore on CentOS/Ubuntu/Debian etc.
AzerothCore requires GCC 8.0 or higher and CLang 7 or higher.
@@ -179,7 +179,7 @@ AzerothCore requires [Visual Studio 2019](https://docs.microsoft.com/en-us/visua
c++: internal compiler error: Segmentation fault (program cc1plus)
```
This can be due to:
-1. Selinux stronged kernels, workaround: change to one standard kernel, compile with clang instad of gcc or compile without pch.
+1. SELinux stronged kernels, workaround: change to one standard kernel, compile with clang instead of gcc or compile without pch.
2. Low ram/swap memory, increase it.
---------------------------------------------------------
@@ -190,12 +190,12 @@ Use google or buy a book to learn the operating system you are using.
---------------------------------------------------------
-**ACE00065** I can't copmile, I get:
+**ACE00065** I can't compile, I get:
```
fatal error C1060: compiler is out of heap space
C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
```
-Read [How to: Enable a 64-Bit, x664 hosted MSVC toolset on the command line. Microsoft](https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line?redirectedfrom=MSDN&view=msvc-160).
+Read [How to: Enable a 64-Bit, x64 hosted MSVC toolset on the command line. Microsoft](https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line?redirectedfrom=MSDN&view=msvc-160).
---------------------------------------------------------
@@ -219,7 +219,7 @@ Locate your Boost folder
**ACE00080** I am looking for map extractors but they are for wow version 4.
-No they are not. The name "vmap4extractor"/"vmap4assambler" reflects the version of the tool. They are all for WoW 3.3.5a.
+No they are not. The name "vmap4extractor"/"vmap4Assembler" reflects the version of the tool. They are all for WoW 3.3.5a.
---------------------------------------------------------
diff --git a/docs/contribute.md b/docs/contribute.md
index 9cf2344..c6f7dac 100644
--- a/docs/contribute.md
+++ b/docs/contribute.md
@@ -6,17 +6,17 @@ redirect_from: "/Contribute"
You can contribute in several ways to AzerothCore:
-- [commenting an open issue](Contribute#how-to-comment-an-issue)
+- [commenting an open issue](how-to-comment-an-issue)
-- [opening an issue](Contribute#how-to-open-an-issue)
+- [opening an issue](how-to-open-an-issue)
- [testing a pull request](How-to-test-a-PR)
- [testing DB-only changes](How-to-test-DB-only-changes)
-- [creating a pull request](Contribute#how-to-create-a-pull-request)
+- [creating a pull request](how-to-create-a-pull-request)
-- [improving our wiki](Contribute#improve-the-wiki)
+- [improving our wiki](improve-the-wiki)
## General information
To contribute, you obviously need a github account.
diff --git a/docs/linux-keeping-the-server-up-to-date.md b/docs/linux-keeping-the-server-up-to-date.md
index 53657db..493fa32 100644
--- a/docs/linux-keeping-the-server-up-to-date.md
+++ b/docs/linux-keeping-the-server-up-to-date.md
@@ -12,12 +12,14 @@ cd ~/azerothcore/
git pull origin master
```
+Rebuild the changes you pulled.
+
```sh
cd build
make -j 8; make install
```
-Sometimes we add or remove files from the repositiory. At that point it is neccessary to recompile the server, the same way as it was installed the first time [in the Linux Core Installation](linux-core-installation.md#configuring-for-compiling).
+Sometimes we add or remove files from the repository. At that point it is necessary to recompile the server, the same way as it was installed the first time [in the Linux Core Installation](linux-core-installation.md#configuring-for-compiling).
## Keeping the Database Up-to-Date
diff --git a/docs/server-setup.md b/docs/server-setup.md
index 7108bab..babbeb3 100644
--- a/docs/server-setup.md
+++ b/docs/server-setup.md
@@ -5,7 +5,7 @@
| 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](core-installation.md) | [Step 4: Database Installation >>](database-installation.md) |
-Now that you have the source compiled, you need to add some neccessary files, by either downloading or extracting them.
+Now that you have the source compiled, you need to add some necessary files, by either downloading or extracting them.
Some files are optional but highly recommended:
@@ -43,7 +43,7 @@ Github link:
If you downloaded the files above you can skip this step and jump forward to [worldserver.conf / authserver.conf](#worldserverconf--authserverconf).
-This part is just a general summary of the overall process - please read it more detaild for the OS you are working with.
+This part is just a general summary of the overall process - please read it more detailed for the OS you are working with.
[Linux Server Setup](linux-server-setup.md)
@@ -57,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 a different directory where you want to keep them by changing DataDir value in the worldserver.conf file.
+After extracting all necessary 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!
diff --git a/docs/windows-core-installation.md b/docs/windows-core-installation.md
index 24cfb50..ff98e7b 100644
--- a/docs/windows-core-installation.md
+++ b/docs/windows-core-installation.md
@@ -139,7 +139,7 @@ There are three DLL files that need to be manually added to this folder, and you
*Note: You need the exact version of libmysql to correspond to the MySQL you have downloaded. Due to this you cannot download the DLL from the web and need to take it out of the folder.*
-OpenSLL _before_ version 1.1.0:
+OpenSSL _before_ version 1.1.0:
**libeay32.dll** and
**ssleay32.dll** → C:\OpenSSL-Win64\ or C:\OpenSSL-Win32\ *(depends on if your core is 64-bit or 32-bit)*.