Mangos foreign strongman installation manual

Source: Internet
Author: User
This guide was graciously borrowed, and updated, from Spuddlethud . He did the majority of work in this Guide. Done Thanks Go out to him. The following is a tutorial for processing ing mangos for Windows
(Before proceeding, please make sure you have read this, this, and this thoroughly .)

In this guide we willOnlyShow you how to set up for a local installation and hosting situation. If you need maintenance ance in setting up for a LAN or on the Internet, then see this guide.

Do not PM me For maintenance ance !!!

Required software:

  • A windows or Linux operating system.
  • A copy of the client,Updated to 2.2.3 Only .
  • A compiled binary of mangos.
    • Learn to compile your own here.
  • The "ad.exe" map extractor tool here.
  • A *. DBC Extraction Tool
    • Mpqe.exe (requires. NET Framework)
    • Or winmpq (requires VB 4 runtime libraries)
  • MySQL Community Server
  • Any MYSQL client. sqlyog community edition is free and very popular. Found here. sqlyog will be used in this Guide.

Install SQL applications

Install MySQL

  • Launch the MySQL installation application. (setup.exe)
  • When prompted, select "typical" for setup type.
  • When prompted, select "Skip sign-up ".
  • When install is complete you will be given the option to "configure the MySQL server now". Make sure this is checked, then press finish.
  • When prompted, select "standard configuration"
  • When prompted, place a check in "Install as Windows Service" and "launch the MySQL server automatically". Service name shocould be "MySQL"
  • When prompted select "modify Security Settings". In the two empty dialog boxes, type in the password you wish to use for the MySQL Root (aka administrator) account.This is the most important account on MySQLAnd has full access to all databases and functionality. it's recommended you use a very strong password to prevent access to your MySQL server instance. (If you plan on administering your MySQL instance from a remote machine, then select "enable root access from remote machines ". if you don't know if you need this, then do not select it .)
  • Select execute to apply all of your configuration settings.

Install sqlyog(Or your preferred MySQL tool)

  • Launch sqlyog installation application. (sqlyog604.exe)
  • Accept license agreement when prompted.
  • Install in default location when prompted. (You can install in an alternate directory if you prefer .)
  • When installation is complete, place a check in the box for "Run sqlyog 6.04 ".
  • When sqlyog launches you will be prompted to fill in the following:
    • MySQL host address: Usually this will be "localhost" or the IP address of the server where your MySQL database is running.
    • Username: "root"
    • Password: This is the password you selected in your MySQL installation for the root account (Step #7 above ).
    • Database (s): "realmd; characters; mangos"
    • Leave other options to defaults.
  • Press connect. This will connect you to your MySQL instance.
  • Once the interface opens, right-click on root @ localhost in the left pane, and select "create database ".
  • When prompted for a database name type "mangos ".
  • Repeat the prior two steps and type "realmd" for the second database. Once again for "characters ".

Setup mangos server directory:

  • create a directory for your mangos installation. For example: "C: \ mangos"
  • copy all files from your compiled binary to this mangos directory.

    • copy all of the *. EXE and *. DLL files from your \ bin \ release Directory into the mangos directory.
    • make sure that the files mangosd. conf and realmd. conf are placed in this same directory.
    • you will need to copy the mangosd. conf. in And realmd. conf. in files from your "\ SRC \ mangosd" and "\ SRC \ realmd" directories. rename them both by removing ". in "portion of the file name.
    • make sure to embedded ded two. DLL files "libeay32.dll", and "libmysql. DLL "and that these are placed in your mangos directory. you will have these files in your release directory.

Extract client. dBc and Map Files

Extract Map Files

    • Place ad.exe into the client's root directory. ("C: \ World of Warcraft ")
    • Create a subdirectory called 'maps '. ("C: \ World of Warcraft \ maps ")
    • Launch ad.exe. This will begin the extraction of Map Files. (This can take a long time depending on your system .)
    • When ad.exe has finished, copy the folder "C: \ World of Warcraft \ maps" and place it in your mangos Server Directory ("C: \ mangos "). so you shoshould now have a "C: \ mangos \ maps" directory containing numerous (3400 + ). map Files.
    • You may now safely delete the directory "C: \ World of Warcraft \ maps ".

Extract *. DBC files(Command line version)

  • Create a directory for your. DBC files in the mangos Server Directory. ("C: \ mangos \ DBC ")
  • Make sure mpqe is somewhere in your path
  • Open up your DOS command window. (START-> Run, type "cmd" then enter .)
  • Change your directory to "C: \ World of Warcraft \ data \ enus". (type cd "C: \ World of Warcraft \ data \ enus ")
  • Type in the following: Code Mpqe/P locale-enUS.MPQ dbfilesclient \ *. DBC

  • Mpqe will now extract the DBC files to a new directory in your client's data \ Lang directory called... \ enus \ mpqout \ dbfilesclient. ("C: \ World of Warcraft \ data \ enus \ mpqout \ dbfilesclient ")
    • You shoshould see it reference three files: "patch-enUS-2.MPQ", "patch-enUS.MPQ", and "locale-enUS.MPQ ".
  • When mpqe has completed, copy the content all of. DBC files from the output directory listed in the previous step to your server's DBC directory. ("C: \ mangos \ DBC") You shoshould have 176. DBC files.
  • You may now Delete the client output directory ("C: \ World of Warcraft \ data \ mpqout") if you wish.

Extract *. DBC files(GUI Version)

    • Create a directory for your. DBC files in the mangos Server Directory. ("C: \ mangos \ DBC ")
    • Open winmpq
    • Click "File> open"
    • Browse to "... \ World of Warcraft \ data \ enus" or "... \ World of Warcraft \ data \ engb"
    • Open locale-enUS.MPQ"
    • Click "mpq> extract" and choose ("... \ World of Warcraft \ data \ enu ")
    • When it finishes, repeat for "patch-enUS.MPQ", and "patch-enUS-2.MPQ"
    • Browse to "... \ World of Warcraft \ data \ enus \ dbfilesclient" and move all these files into "C: \ mangos \ DBC"

Build the vmap files

Vmaps are being utilized to assist with "line of sight" issues. Gather up these 6 files, and place them in "C: \ mangos \ vmap ".

  • Find the batch file "makevmaps_simple.bat" ("C: \ mangos \ vmap ")
  • Double click. Depending on your system, this step may take quite some time.
    • Alternately you cocould run "make vmaps. Bat" instead, but additional prompts will come up in the process.
    • You may need to rebuild these files more than once. Pay attention to future release notes.
  • Move the "C: \ mangos \ vmap \ vmaps \" Directory into the root of the mangos directory ("C: \ mangos \ vmaps ")

Install the Databases

Realmd Database

  • Connect to your MySQL server. (Follow Steps 5 & 6 from sqlyog Install guide)
  • In the left pane, right-click onRealmdAnd select "restore from SQL dump". (Note: some older versions may read "Import batch file ".)
  • Browse to the "realmd. SQL" file in your server directory. ("C: \ mangos \ SQL ")
    • If your database came with a realmd. SQL use that one
  • Execute. This shoshould only take a moment and you will get a message that it's complete.
  • Close dialog.
* ** Critical ***
You have two options when loading the mangos database. you can use a standard empty database that provides table structure and core components only, or you can install a playable database that has des everything you wocould need to start playing immediately. the baseline database is called "mangos. SQL "and can be found in your server's" \ SQL "folder.This database has no NPCs, no monsters, no quests or other data. It only provides the SQL table structure.

for a playable database you need to go to the unified database site and download a full database that is compatible with your current mangos binaries. after the downloaded file is extracted it shoshould Be at least 40 MB and as large as 100 MB.

mangos database

  • connect to your MySQL server. (Follow Steps 5 & 6 from sqlyog Install guide)
  • In the left pane, right-click on mangos and select "restore from SQL dump ". (Note: Some older versions may read "Import batch file ".)
  • browse to the database file that you wish to load to create your database. (This will either be the basic mangos. SQL from the binary downloads or a large full database from Silver's forum or another source .)
  • execute. This will take quite some time depending on your system. At points it may seem like it's hung. Let it run!
  • if you need to install any changesets/updates for you database, now is the time. install them in order.
  • when these are complete you will have all the data you need to run mangos.
  • mangownsdb and Silver's dB merged. Please give them your support !!!

Configure mangos

Setup your realm:

    • Connect to your MySQL server. (Follow Steps 5 & 6 from sqlyog Install guide)
    • Open the realmd branch in the left pane and select "realmlist ".
    • At the bottom of sqlyog click on the "table data" tab.
    • Change the "name" field to your preferred realm name. It cannot be the default "mangos ".
    • For now leave the address to "localhost" or "127.0.0.1 ". (This will be the same address that your clients must set in their realmlist. WTF files to connect .)
    • Select the "Save changes" button.

Configure realmd. conf:

    • Open realmd. conf in Notepad. It shoshould be in your root server directory ("C: \ mangos ).
    • Find "logindatabaseinfo =" change it to "logindatabaseinfo =" 127.0.0.1; 3306; root; [Password]; realmd ".
    • Save and close file.

Configure mangosd. conf:

    • Open mangosd. conf in Notepad. It shoshould be in your root server directory ("C: \ mangos ).
    • Find these lines and set as shown: [LIST]
    • Datadir = "."
    • Worlddatabaseinfo = "127.0.0.1; 3306; root; [Password]; mangos"
    • Logindatabaseinfo = "127.0.0.1; 3306; root; [Password]; realmd"
    • Characterdatabaseinfo = "127.0.0.1; 3306; root; [Password]; characters"
    • Save and close file.
Congratulations! Mangos is now ready to run!

There is an excellent FAQ posted The mangos fae .
If you have any questions, don't hesitate to stop by and see if it's already been answered.

---

      Upgraders

    • If your upgrading from 2.1.3 to 2.2.3 client build 7359, You need to extract new dBc and generate new map/vmap files.
    • There are no character conversions necessary.
      Notes

    • Launch realmd.exe then mangosd.exe. When the server is ready you will hear a system beep. Clients can then login.
    • Make sure you utilize the mangosd server commands to create and delete accounts. Also turning on TBC can be done from here
    • All clients that wish to connect to your server must modify their realmlist. WTF file in the Client Directory to match your realm information as you specified in SQL. For example: "set realmlist 127.0.0.1 ".
  • There are 3 basic accounts already provided when you start. To view these accounts and their passwords you will need to look at the "Account" table in the realmd database. It is advisable that youChange these three passwords. The GM levels shocould be self-explanatory in their default settings.
  • As of version 3939, sha1 password encryption has been implemented. Please see this post for changing users passwords.
  • When running mangos if you get an error that contains the phrase"Error in 'gameobject _ template' table, probably SQL file format was updated"That means you do not have a database that matches your current mangos version. Check where you got your database to learn how to properly update it to match your current mangos revision.
  • If you are trying use this guide to set up a pack you found on another site thenYou are on your own. We do not support packs of any type. All components need to be downloaded and set up seperately as your ucted in this Guide.
  • If you are getting a realmlist loop, or other connectivity issues on a local setup then you have not specified your IP address as 127.0.0.1 in all the correct locations: mangosd. conf, realmd. conf, realmlist. wtf and the realmlist table in the realmd database. if you are doing a WAN or Internet setup then check this guide for further maintenance ance.

---

Nearly all questions have been answered more than once. If you don't readily find it here, Use the search feature . These forums have a wealth of knowledge!

---

Make sure you Read the whole Guide . Don't skip around und !! Did you read it? Good Read it again !!

---

If you have any questions or run into problems with these procedures, please post your issues as a reply to this thread, and someone will attempt to help you through it. that is, if we can tell you did what the procedures said to do.
Do not PM me
For maintenance ance !!!

Post your question here and it will be answered when possible.

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.