Skip to content

Commit

Permalink
some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu committed Jan 5, 2025
1 parent 17bbe54 commit 6112ccd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 85 deletions.
51 changes: 4 additions & 47 deletions docs/common-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tableofcontents: 1
# Common Errors

| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help) on how to proceed with your question in the best way. |
| --- |
| --------------------------------------------------------------------------------------------------------------------------------------------- |

## Database-related errors

Expand Down Expand Up @@ -56,49 +56,6 @@ This can mean several things:
3. You are trying to use a custom patch or module but have forgotten to update your database.
4. You are trying to use an SQL patch from another project.

---------------------------------------------------------

## Database Update-related errors

#### [ACE00020](#a-hreface00020ace00020a)
My DB Assembler closes and does not import all updates, I get:
```
ERROR 1054 (42522) at line 14062: Unknown column 'resistance2' in 'field list'
```
This error is because you have manually changed the database structure and is conflicting with updates.

The easiest way to fix it is by dropping your database and importing it again.

---------------------------------------------------------

#### [ACE0021](#a-hreface00021ace00021a)
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 Assembler.
2. Your Database structure has been modified manually and is conflicting with the updates. Fix this by dropping the database.

---------------------------------------------------------

#### [ACE00022](#a-hreface00022ace00022a)
My DB Assembler closes and does not import all updates, I get:
```
ERROR 1067 (42000) at line 181: Invalid default value for 'start_time'.
```
Disable MySQL strict mode, read [How to turn on/off MySQL strict mode in localhost (xampp)? StackOverflow](https://stackoverflow.com/questions/40881773/how-to-turn-on-off-mysql-strict-mode-in-localhost-xampp).

------------------------------------------------------------------------------------------------------------------

#### [ACE00023](#a-hreface00023ace00023a)
My Worldserver closes when autoupdater, I get:
```
ERROR 2013 (HY000) at line 4: Lost connection to MySQL server during query
```
This is most likely due to your MySQL server's max_allowed_packet setting is too low. See [this](https://docs.oracle.com/cd/E19509-01/820-6323/gicxk/index.html) or run the command `SET GLOBAL max_allowed_packet=1073741824;` in your SQL client (HeidiSQL, SQLyog, etc.) to update your max_allowed_packet.

**This value will reset the next time your SQL server restarts and it may be necessary to run this query again in the future.**

## Core-related Errors

#### [ACE00040](#a-hreface00040ace00040a)
Expand All @@ -125,7 +82,7 @@ The code execution cannot proceed because libmysql.dll was not found. Reinstalli
Or similar error.
```
You have not copied the necessary .dll files into the binaries directory.
You have not copied the necessary .dll files into the binaries directory. See [Core Installation](core-installation).

---------------------------------------------------------

Expand Down Expand Up @@ -163,7 +120,7 @@ I get an error when WorldServer is starting:
```
Used MySQL library version (8.0.19 id 80019) does not match the version id used to compile AzerothCore (id 80024)
````
You need to use the exact version of libmysql.dll as the version you used to compile your source with. You get it from **C:\Program Files\MySQL\MySQL Server 8.x\lib\\** or by following the [installation guide](windows-core-installation#compiling-the-source).
You need to use the exact version of libmysql.dll as the version you used to compile your source with. You get it from **C:\Program Files\MySQL\MySQL Server 8.x\lib\** or by following the [installation guide](windows-core-installation#compiling-the-source).
This is due to that you have updated your MySQL server but have not recompiled and added the new libmysql.dll file.
Expand Down Expand Up @@ -351,4 +308,4 @@ If you get an error that *CMake could NOT find OpenSSL*
---------------------------------------------------------
| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help) on how to proceed with your question in the best way. |
| --- |
| --------------------------------------------------------------------------------------------------------------------------------------------- |
12 changes: 6 additions & 6 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tableofcontents: 1
If you have trouble installing or compiling AzerothCore read [Common Errors](common-errors).

| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help) on how to proceed with your question in the best way. |
| --- |
| --------------------------------------------------------------------------------------------------------------------------------------------- |

## General-related FAQ

Expand Down Expand Up @@ -85,10 +85,10 @@ If you have trouble installing or compiling AzerothCore read [Common Errors](com
- You can follow the [Core Installation](core-installation) guide to find the libraries.

- I am missing the libraries for OpenSSL and can't seem to find them in the repository?
- For OpenSSL versions prior to 1.1.0 they will be named "libeay32.dll" and "ssleay32.dll".
- For OpenSSL versions 1.1.0 and more recent they are called:
- For 32bit installs: "libssl-1_1.dll" and "libcrypto-1_1.dll".
- for 64bit installs: "libssl-1_1-x64.dll" and "libcrypto-1_1-x64.dll"
- You need the following dlls:
- legacy.dll
- libcrypto-3-x64.dll
- libssl-3-x64.dll
- You can follow the [Core Installation](core-installation) guide to find the libraries.

## Debug-related FAQ
Expand Down Expand Up @@ -118,4 +118,4 @@ If you have trouble installing or compiling AzerothCore read [Common Errors](com
- All disabling is handled in the [disables table](disables).

| Did this FAQ not answer your questions? Read [How to ask for help](how-to-ask-for-help) on how to proceed with your question in the best way. |
| --- |
| --------------------------------------------------------------------------------------------------------------------------------------------- |
43 changes: 11 additions & 32 deletions docs/windows-core-installation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Windows Core Installation

| Installation Guide | |
| :- | :- |
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 1: Requirements](windows-requirements) | [Step 3: Server Setup >>](server-setup) |
| [<< Step 1: Requirements](windows-requirements) | [Step 3: Server Setup >>](server-setup) |

## Required software

Expand Down Expand Up @@ -95,19 +95,9 @@ authserver.pbd
worldserver.exe
worldserver.pdb
libmysql.dll
---------
For OpenSSL 1.1.x
libeay32.dll / libcrypto-1_1.dll / libcrypto-1_1-x64.dll
ssleay32.dll / libssl-1_1.dll / libssl-1_1-x64.dll
---------
For OpenSSL 3.0 and later
legacy.dll
libcrypto-3.dll / libcrypto-3-x64.dll
libssl-3.dll / libssl-3-x64.dll
libcrypto-3-x64.dll
libssl-3-x64.dll
```

In the **configs** folder you should find:
Expand All @@ -117,24 +107,13 @@ authserver.conf.dist
worldserver.conf.dist
```

There are two/three DLL files that need to be manually added to this folder, and you need to copy them from the following installation/bin directories:
There are four DLL files that need to be manually added to this folder, and you need to copy them from the following directories:

{% include callout.html content="<b>libmysql.dll</b> → C:\Program Files\MySQL\MySQL Server 8.x\lib" type="primary" %}

{% include note.html content="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." %}

#### OpenSSL _before_ version 1.1.0:

{% include callout.html content="<b>libeay32.dll</b> and <b>ssleay32.dll</b> → C:\OpenSSL-Win64\ or C:\OpenSSL-Win32\ <i>(depends on if your core is 64-bit or 32-bit)</i>." type="primary" %}

#### OpenSSL 1.1.x names have changed:

{% include callout.html content="<b>libssl-1_1-x64.dll</b> and <b>libcrypto-1_1-x64.dll</b> → C:\OpenSSL-Win64\bin" type="primary" %}

#### OpenSSL 3.0 and more recent installed, you need to copy:
{% include note.html content="Your libmysql.dll version need to match the MySQL Server version you run. If you update your MySQL server you need to recompile the core and copy the new dll file over." %}

{% include callout.html content="<b>legacy.dll</b> → C:\OpenSSL-Win(32/64)\bin<br/>
<b>libcrypto-3-x64.dll</b> and <b>libssl-3-x64.dll</b> → C:\OpenSSL-Win64\bin" type="primary" %}
{% include callout.html content="<b>legacy.dll</b>, <b>libcrypto-3-x64.dll</b> and <b>libssl-3-x64.dll</b> → C:\OpenSSL-Win64\bin" type="primary" %}

#### About compilation log and report

Expand All @@ -156,7 +135,7 @@ If you are still having problems, check:

* [Join our Discord Server](https://discord.gg/gkt4y2x), but it is not a 24/7 support channel. A staff member will answer you whenever they have time.

| Installation Guide | |
| :- | :- |
| Installation Guide | |
| :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------- |
| This article is a part of the Installation Guide. You can read it alone or click the previous link to easily move between the steps. |
| [<< Step 1: Requirements](windows-requirements) | [Step 3: Server Setup >>](server-setup) |
| [<< Step 1: Requirements](windows-requirements) | [Step 3: Server Setup >>](server-setup) |

0 comments on commit 6112ccd

Please sign in to comment.