Analysis of World of Warcraft server trinitycore 1: Preface

Source: Internet
Author: User
I. Introduction

Post an official website Introduction

Trinitycore isMMORPGFramework based mostly in C ++.

Itis derived fromMangos,Massive Network Game Object Server, And is based on the Code of that project with extensive changes over time tooptimize, improve and cleanup the codebase at the same time as improving thein-game mechanics and functionality.

 

Ii. Learning reason

The World of Warcraft, which is famous, is the crazy online game that I played when I was in college. Later I heard that he has an open-source server implementation. As a game server developer, I don't need to clone it and study it. Haha.

The first time I heard about the trinitycore project, it was at the end of 2012. At that time, I was not a game developer. At that time, its underlying layer was still ace. Of course, I still had no way to run it, but it still attracts me deeply. For this purpose, I will learn ace. As a result, I turned into an ace black, and the plan to study this project is no longer enough (alas, there is still some truth in the legend that ace "the learner is born, the one who uses it is dead)

When I went to the trinitycore official website in 2014 this year, I found that in the latest version of trinitycore, the underlying framework of the Project was changed from Ace to boost. I am so touched that I will not study it seriously, sorry, God, haha.

But the next step is not very smooth. When I compile its debug version on the Ubuntu of the virtual machine, the worldserver will be suspended once it is run. When GDB debugging is enabled, GDB is also running, but the release version does not have any problems. Later, I googled it, probably because my VM performance was not up to standard... Forget it. If you don't have to worry about Linux, install Visual Studio 2013. In other words, Vs + VA is much more user-friendly than GDB + Vim (including plug-ins ).

After vs2013 was changed, the compilation was indeed smooth, and then the next World of Warcraft 3.3.5 client played, but after prompting that the login was successful, I got stuck in the interface "exchanging data with the server" (as if it was). After a long time, I found that the subversion of my client was incorrect, this server only supports the 3.3.5.13930 national server version. It is not difficult to solve this problem. Just release a few patches.

Alas, After deploying a runtime environment, I spent more than a week (fortunately, my work was not too busy recently). Fortunately, I ended up in a comedy. When I deployed World of Warcraft private server in school, it was really convenient to use the one-key installation package.

 

Iii. Version I used

Main Program: TrinityCore-TDB335.55.zip

Database: tdb_full_335.55_2014_08_24

Client: China server 3.3.5.13930 (No, Baidu)

 

4. Remember the previous figure


PS: This version was also used when I was playing World of Warcraft, haha.

 

Analysis of World of Warcraft server trinitycore 1: Preface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.