World of Warcraft Private Server Setup Tutorial - How to Build a World of Warcraft Private Server

TrinityCore is a World of Warcraft server-side simulator. We can use TrinityCore to learn how to write large-scale online game servers, and draw nutrition from it to write our own games.

1. Preparatory work

The CPU needs to support the SSE2 instruction set

Boost version greater than or equal to 1.59.0

The MySQL database version is greater than or equal to 5.1.0

OpenSSL version is 1.0.x

CMake version greater than or equal to 3.3.2

MicroSoft Visual Studio (Community) version greater than or equal to 14 (2015 update 3)

1. Install Git Extensions

Note that Git, MySYSGit and KDiff must all be installed. When installing Git, select "RunGit from the Windows Command Prompt" in the path selection. MySYSGit and KDiff can be installed with default options.

2. Install the IDE

Install Visual Studio 2015. Note that when installing VS2015, C++ is not supported by default. We need to manually select Visual C++, select Custom Installation, and then select the Visual C++ option, as shown in the following figure:

3. Install MySQL

The MySQL versions supported by TrinityCore are 5.5 and 5.6, please do not use 5.7 and above versions.

Download the installation package

In the MySQL Configuration configuration, set the user name to trinity, the password to trinity, and ensure that the user has access to the localhost domain.

It is recommended to register MySQL as a service, so that the database can be started with Windows.

4. Choose a database management software

1) SQLYog Community Edition (strongly recommended)

2) HeidiSQL (friendly for novices)

3) MySQL Workbench (officially produced by MySQL, I personally feel that it is not very friendly to use, but it is the only software that can build models)

Use the database management software you installed to connect to the database and test whether the database is installed successfully.

5. Install Boost

Download the version corresponding to Visual Studio 2015:

1)64bit:

2)32bit:Download Boost C++ Libraries from SourceForge.net

Boost 1.59.0 is the minimum version that can be used, version 1.60.0 is recommended.

64bit: Download Boost C++ Libraries from SourceForge.net

32bit: Download Boost C++ Libraries from SourceForge.net

Install to the default path (C:\local\boost_1_XX_0), then add an environment variable named "BOOST_ROOT" to your installation path, such as "C:/local/boost_1_60_0". Make sure there is no trailing slash,

Guess you like

Origin blog.csdn.net/chiwang_andy/article/details/129064338