Mangos series tutorial (1): Official mangos download

Source: Internet
Author: User
Tags svn update

 

I. Databases
1. database:
Http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/Full_DB/ForCleanInstallOnly/
(1) Create Database mangos, characters, and realmd (create_mysql. SQL)
(2) create a database scriptdev2 (create_database_sd2. SQL)
(3) generate data tables realmd. SQL and characters. SQL
(4) generate an empty data table scriptdev2_structure. SQL
(5) generate a data table mangos
Http://unifieddb.svn.sourceforge.net/svnroot/unifieddb/Full_DB/UDB_0.9.1_Core_5057_SD2_233.rar
2. Note: run the preceding SQL file in sequence to generate four databases with raw data: mangos, characters, realmd, and scriptdev2. The version of mangos game world database is 0.9.1, the scriptdev2 script database version is 233, the realmd is the server and account database, characters is the game role database, and 5057 is the corresponding server version. You only need to back up the player-related databases: realmd and charaters databases. Frequent database update patches are generally included in the downloaded server. The file name usually contains the name of the database to be imported. If you are not sure, open the file in text to find the database where the data table to be imported is located. To avoid unnecessary SQL syntax errors, save the SQL file in UTF-8 format.

Ii. Server
1. mangos Official Website: http://www.mangosproject.org
2. Download the server. Pay attention to the corresponding database and wow Client Version.
(1) Method 1: Download a client compiled by a foreign friend. refer:
· Http: // www.mangosproject.org/forum/index.php? Showtopic = 4088 & pid = 147913 & St = 20 & # entry147913 (login required)
· Http: // www.mangos-fae.info/download.php? List.7
· Http: // www.mangos-files.de/index.php? Show = revs
(2) Method 2: compile your own mangos. If the detailed method is available, write it again. refer:
Mangos main program source code SVN update address: https://mangos.svn.sourceforge.net/svnroot/mangos
· Mangosscript Script Development SVN update address: https://opensvn.csie.org/ScriptDev

Iii. mangos Localization
 
I have already talked about how to download the official mangos server and database. However, after simulation, I used my wow client to enter the game. In addition to the client's built-in Chinese display, all the server-related information has changed to the default English language, it can be used as a way to improve the level of English, but it is a bit awkward to face a large number of strange monster names, so we will localize it. Of course, the text in the involved program can only be rewritten and re-compiled, this article does not involve simple localization.
 
1. Download The DBC data obtained from the wow client in China or use a dedicated tool to work out the DBC data file and copy it to the server directory, mangosd. DBC in Conf. locale = 255. When the server is started, DBC is prompted on the console in the United States. locale = 0. DBC in China will prompt DBC. locale = 4;
2. Download the mangos database Chinese-based patch from the Internet and the following data tables: creature_template, gameobject_template, item_template, npc_text, page_text, and quest_template. If the patch is complete, congratulations, most of what you see in the game is Chinese;
3. If the patch is incomplete, there is still a remedy. Borrow data tables from other Chinese people: locales_creature, locales_gameobject, locales_item, locales_npc_text, locales_page_text, and locales_quest. By default, locale = 0. The preceding table is empty, indicating that the server uses the default English language. So how to localize:
· Copy the data tables that have been written in Chinese to overwrite the original data tables or import the corresponding database SQL patches;
· View the localization position of the table. In text_loc2, open the account data table of realmd, find your account, and change the value of locale field 0 to 2;
3. Is it OK after the above steps are completed? There may be strange problems. Before starting the game, find your client cache directory and delete the wdb directory. Otherwise, the content in the game cache is displayed after you modify the corresponding location of the database.

If everything goes well, congratulations, you have obtained the complete original server and database and completed it in Chinese. Tutorial notice: use of software related to mangos, use of tortoisesvn, compilation of mangos project... I wrote this series of articles mainly because of the communist spirit of mangos developers. I only learned excellent open-source projects for technical interest. Please do not abuse them during discussion, please check for viruses after downloading the resources involved in the Article. There are always malicious trojans on the Internet. Reprinted, please note the author time. Thank you!

To be continued... (time)

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.