Jump to content

[Guide]Full Installation Guide for Windows By Mangos Project Team


Recommended Posts

Posted

This guide was graciously borrowed , and updated, from

Spuddlethud. He did the majority of work in this guide.  Many thanks go out to him.

 

The following is a tutorial for configuring MaNGOS for Windows

(Before proceeding, please make sure you have read this, this, and this thoroughly.)

   

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

   

DO NOT PM ME FOR ASSISTANCE!!!

 

   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
      .

     

    [*]The "ad.exe" map extractor tool
    .

    [*]A *.dbc extraction tool

     

    [*]

    [*]Any MySQL client. SQLyog Community Edition is free and very popular. Found
    . 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 should 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 MySQL
    and 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 the ".in" portion of the file name.

    • Make sure to included 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 should 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:  

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 should 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 the .dbc files from the output directory listed in the previous step to your server's dbc directory. ("C:\MaNGOS\dbc") You should 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
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 could 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 on
    realmd
    and 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 should 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 includes everything you would 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 should be at least 40MB and as large as 100MB.

 

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
    !!!

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 should 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 should be in your root server directory ("C:\MaNGOS).

  • Find these lines and set as shown:
    •  

    • 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 at 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 you change these three passwords.  The GM levels should 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 then you are on your own. We DO NOT support packs of any type. All components need to be downloaded and set up seperately as instructed 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 assistance.

    ---  

    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!!  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. B)      

    DO NOT PM ME FOR ASSISTANCE!!! POST YOUR QUESTION HERE AND IT WILL BE ANSWERED WHEN POSSIBLE.

     

    the Guide is copy-paste from www.mangosproject.org(i recommend you to visit the site for more stuff and info)

    sorry for the wrong bb codes

  • 1 year later...
Posted

lol! one of the worse guides...no pic at all, i can't understand what i have to do.

Sorry

 

And this is one of the worst replies , stop posting in old threads check the date O_O

 

 

November 12, 2007, 03:52:17 PM »

November 12, 2007, 03:52:17 PM »

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • L2Lusty 50x Essence High Version Open day 27/06  12:00 GMT London WebSite: https://l2lusty.com/ General Information If you are looking for a High Five retail server, this project is not for you, our gameplay and farming system is based on the Essence version. If you are looking for something new and different to play, this server is for you. Our server is using its own version that mixes High Five and the latest Essence version. With this, we have a good part of the items from the Lineage2 Essence version, with classes and bosses from High Five. An auto-balance system in onlympiad games, which will bring greater equality in combats. We added the Chaos Zone and Peace Zone events, for a better LCoin farm, these events are 24h and can be accessed with the commands .chaos or .peace. All essence items are purchased in our alt+b and cost an average of 300k LCoins. LCoins are obtained by killing any mob, with better drops in the Chaos zone and the Peace Zone. Server Version High Five + Essence Game Play Experience 50x Spoil 8x Drop 8x Adena 8x Normal Enchant 50% (+3 to +12) (40% 12 to 20) Blessed Enchant 50% (+3 to +12) (40% 12 to 20) Safe Enchant +3 Max Enchant +20 Max Windows / IP 6 Accounts Anti-Bot system ON Champions System ON TerritoryWar Saturday 20:00 Siege Every Sunday Olympiads 18:00 / 23:50 Oly End Days 1, 11 and 22 Max Register 1 For IP Minimum Players for Start 4 Players Subclass FREE MAX LVL 85 SHOP GRADE-S Party Diff 30 Level 55/85   Essence Items Price   Items Lvl 1 300k / 1.200kk LCoins Upgrade to Lvl 2 2 items Lvl 1 + 2b Adenas Upgrade to Lvl 3 2 items Lvl 2 + 2b Adenas Upgrade to Lvl 4 2 items Lvl 3 + 2b Adenas Upgrade Chance 25%   Exchange Items   As in other MMORPGs, we have a system of exchanging items for better items.       GrandBoss All Grand Boss Time Fixed Raids Status 50% Change Drop Queen Ant / Core / Orfen / Baium Queen ant Level: 80 Every day 18:30 / Drop Jewel 40% Core Level: 80 Every day 18:40 / Drop Jewel 90% Orfem Level: 80 Every day 18:50 / Drop Jewel 90% Baium Level: 80 Every Friday 18:00 / Drop Jewel 100% Beleth Every Friday 22:00 / Drop Jewel 100% Valakas Every Saturday 18:00 / Drop Jewel 100% Antharas Every Sunday 17:00 / Drop Jewel 100% Max Character in Zone Boss 1 For IP   Instances Party All Intances 5 Players Raids Status 50% Zaken Day 61 5 Players / Jewel Chance 10% Zaken Day Hard 83 5 Players / Jewel Chance Normal / 10% / Blessed 1.9% Zaken Nightmare 61 5 Players / Jewel Chance 90% Frintezza 5 Players / Jewel Chance 40% Freya Normal 5 Players / Jewel Chance 40% Freya Hard 5 Players / Jewel Chance 40% Tiat 5 Players / Weapon Chance 10%   Instances Solo   All Intances Drop S84 Up Crystal Level 10 / 17 Baylor Solo Drop Moirai Set / Vesper Weapons Darion Solo Weapon Chance 1% Tiat Solo Weapon Chance 1% Frintezza Solo Jewel Chance 2% Freya Solo Jewel Chance 2% Zaken Solo Jewel Chance 2% Core Solo Jewel Chance 2% Orfen Solo Jewel Chance 2% Beleth Solo Jewel Chance 1%   Special Events Event Boss Lindvior Every day 16:40 - 22:40 Event Pig Invazion Every day 15:40 - 23:40 Event Dragon Invazion Every day 18:40 - 01:40 Event City War Every day 19:40 - 02:40   Commands .ach .achievements Opens the achievements interface .buffshield (anti-buff) .away .back (stay away / back) .menu .cfg (Character control panel) .combine .talisman (Combine all Talismans) .dressme (Visual Armor Added +1000 HP) .party .invite .partylist Our custom party creation system .offline (off line shop) .repair (repair character) .siege (See the siege time or register your clan) .stats (character status)   .offbuff (Open store buffs) .autofarm (Open Auto Farm Interface) .report (Report a suspicious bot player) .buffshop (Invoke a summon to sell your buffs.) .vote (Opens our vote system.) .aa (Exchange your seal stones for AA automatically.) .oly (Shows all players who are first in the oly ranking.) .status (See a player's status, he has to be in your target) .seeres (Look at a player's resistance, he has to be in his target) .equip (See all of a player's items, they have to be in their target) .regoly (Register with oly wherever you are.) .bagclean Delete all items from your inventory, use it knowing that you will lose everything that is not equipped!   WebSite: https://l2lusty.com/
    • Our sales are ongoing. Bump. 22 June 2025 Telegram: ContactDiscordAccS
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock