The Code related to debugging skills was originally said this weekend. As a result, it took me half a day to configure the server.
First, we recommend the Trinity server to build a better article, address: http://log4think.com/setup_wow_private_server/
This article introduces 90% of the content, but the content that has been skipped by 10% is so painful.
Let's add a little bit with that article. Here we mainly record the n-plus errors I made when setting up this server ~
Install basic tools:
First, install OpenSSL. Do not download it from www.openssl.org, but download the 16m's installation package at http://slproweb.com/products/win32openssl.html)
Then there is cmake. After installation, configure and generation are completed according to the steps. Be sure to select the options of tools ~ (Otherwise you cannot compile the tools directory)
Compile the Code:
Client code requires versions earlier than 3.3.5 (minor versions do not need to consider differences, such as 13507 and 13930), but note that the Auth Server version support is written to the code, see the http://log4think.com/wow_3-3-5_13930_auth_patch/ for details
Install the database:
Download the latest database. It is best to manually import it to MySQL. It is very slow to use tools and frequent errors (I used several MySQL front-ends to execute SQL files of over 70 MB, directly)
After the database is created, you also need to import updates. Here we will introduce the method for batch importing SQL files in the updates folder (first of all, you must understand ):
(1) run the dir *. SQL/B> SQL. Bat command to put all SQL file names in a BAT file.
(2) Open the BAT file, select all, and press the tab key.
(3) Replace the tab with source-uroot-p123456-F-D db_name> (note that db_name is entered by yourself)
(4) execute the BAT file
There is almost no problem later.
It should be noted that you can directly debug the code, which is better than any patch ~ In fact, the so-called version patching on the Internet is a problem that the Auth Server version supports writing dead code.
Writing so much today is always painful for the first time. I hope it will be helpful to those who have installed a single server ~~~ Let's look at the skill system later ~~~