Reaper-X » Emulators » Guide » How To » MMORPG » Misc. Games » Tutorials » Video Games » How to Configure MaNGOS the World of Warcraft Emulator

How to Configure MaNGOS the World of Warcraft Emulator

Update : You can browse this site software category if you’re looking for my mangos release or my custom mangos release … btw i’d suggest you to get my mangos release first because it has been tested with WoW 2.2.3 and will be updated frequently (even easier than anything written on this old post because i already include everything you need to run your own wow private server except for mysql program of course)

This is the old version of my WoW Private Server Guide, the new version that gives you a detailed step (with images) can be found at below links :

  1. Installing MySQL
  2. Setting up the Mangos
  3. Just in case you want to create lan party
  4. Setting up the webserver to put registration page

It’s been a while since the last time i post something to my blog and that’s because i’ve been playing World of Warcraft in various private / public server, from WowScape, WowFusion, b3ckswow, etc (i’m switching various server because some of them always disconnect me a lot) …

But let’s keep that aside shall we ? because this time i’ll post a guide on how to setup your own world of warcraft private server using MaNGOS (i’m sure there are many other WoW Emulator out there, but i choose this one instead)

And as a note, currently i’m using the World of Warcraft classic version (1.12.1) and this guide might or might not be useful for you if you’re trying to setup TBC (The Burning Crusade) server

So here’s the step …

Update :

If you find this guide a little bit confusing, maybe you should try reading my new guide on how to create wow private server the easier way .. also to those who’s keep getting SQL error or want the easiest way of importing the sql, i already uploaded my mangos sdb (updated till changeset 156) and already tested to work with Mangos Rev3462

You can find all of the files required (including mangos itself) in my new post .. so be sure to check it out too ;)

Required Software :

  • MySQL : This is important because MaNGOS use MySQL as it’s database and currently i’m running the 5.0.xx version
  • MaNGOS : Without this you can not run a private server of course but do not forget to get the binary files instead of the source files unless you have Microsoft Visual Studio 2003 ++ installed and want to compile it by yourself (currently i only have MSVC 6 so there’s no way i can compile it, and the Visual Studio 2005 Express version is to large for me to download it)
  • Map Extractor (both of them included) :
    1. Ad.exe : This is used to extract maps files from your World of Warcraft files
    2. MPQE : This is used to create DBC files which is extracted from WoW games data too
  • SDB : This is the database used by MaNGOS and to make your private server playable of course this is a must. And the one you must download first is SDB FULL 0.6.2 including it’s hotfix and it’s update (you must register first)

Note : You can get binary release of Mangos from Mangos-Files.de

New Update :

Im sorry previously i did not upload the changeset 141 till 156 files because i thought everyone can find the changesets files easily (also i do not know if the SDB team allowed me to put that thing here) … but to make thing easier (and that’s the purpose) .. i decided to upload the changesets file here (if it’s not allowed i’ll removed it immediately) :

You must run the sql files in order (eg 141, 142, 143, and so on) and the step to execute this sql script is described in step 5

Optional Software :

  • MySQL Client such as Phpmyadmin, etc (although in this example i did not tell you how to use those mysql client) so feel free to use mysql client or not

Special Note :

  • If you get an error message saying the maps files is outdated or anything similar to that message from the Mangos Log, that means the Ad.exe you’re using is incompatible (i have experienced this) and i’m pretty sure the Ad.exe you’re using is for the Burning Crusade client so try getting the old version a little bit
  • Im currently using Mangos Revision 3459, because the later revision from 3463 and above did not work for me (i have tested it) and i’m sure it was caused because i do not have TBC installed
  • Im currently using SDB 0.6.2 and updated till changeset 1.5.6
  • And as a reminder, i’m using World of Warcraft Client version 1.12.1

Let’s begin …

I assume you’ve downloaded all the required software and now as for the next step :

Note : If you did not set up password for the root account of your mysql database the default password is blank .. but in this example i’ll write username as username and password as password :P

1. Install MySQL and do not forget to enable InnoDB when prompted also check to make sure MySQL is in the Environment Variable Path … and activate the mysql service if you havent do so or if it is not started yet and you’re done installing MySQL

Note : Setting up environment variable for mysql is necessary to make thing easier, because you can execute it from any location

2. Extract the mangos program you’ve downloaded into your desired location for example, C:\WoW\Mangos

3. Open the Run command (Start -> Run) and type cmd and press enter and you’ll see command prompt window

4. Now type this in the command prompt :

  • cd /d C:\WoW\Mangos\sql
  • mysql -u username -p -v < create_mysql.sql
  • mysql -u username -p -v -D realmd < realmd.sql

Note : Feel free to adjust database name to your liking but in this example i only show you the easiest way of doing it

5. Extract the SDB Full 0.6.2 file, SDB 0.6.2 Hotfix, and SDB Update into desired location, for example C:\WoW\SDB and type this in the command prompt :

  • cd /d C:\WoW\SDB
  • mysql -u username -p -v -D mangos < SDB_0.6.2_FULL_DB.sql
  • mysql -u username -p -v -D mangos < SDB_0.6.2_FULL_DB_HotFix.sql
  • and continue with the update by typing the same command with the exception you must change the filename after “<” character

Note : You must update the database according to it’s version number (0.6.2 Full database equal to changelog / revision 1.4.0) so the update you must get is 1.4.1 and above .. as an addition, it might take a while before the full database imported so you can take a break while doing so

And now you’re done setting up database for MaNGOS … and feel free to delete the extracted sdb file

6. Copy the ad.exe into your WoW game directory, for example C:\Program Files\World of Warcraft. And create maps directory in there and run the ad.exe .. and yet another break time :) .. and when this process finished move the maps directory into your desired location, for example C:\WoW\data\maps

7. Now you’ll need to copy MPQE you’ve downloaded earlier into WoW games data directory, for example C:\Program files\World of Warcraft\Data. And now open command prompt again and type this :

  • cd /d C:\Program Files\World of Warcraft\Data
  • MPQE /p dbc.MPQ DBFilesClient\*.dbc

You’ll see another directory created called MPQOUT inside the data directory. Now go open that directory and rename the DBFilesClient directory to DBC, and move it into C:\WoW\Data\DBC for example

Congratulation, now you’ve finished setting up the data required for mangos

8. Now for the last step you’ll need to open the mangosd.conf inside the mangos directory and edit below lines :

  • Change the DataDir = “@MANGOSD_DATA@” into your data location inside the quotes, in this example it would be like this “C:\WoW\data”

Now you’ve finished configuring Mangos and it’s database completely, as for the next step .. try running the mangosd.exe and realmd.exe and see if you can run it without problem or not .. if there’s no problem you can go to the next step (you do not need to close the realmd process and mangosd process)

9. Go to your World of Warcraft game directory and open the realmlist.wtf file using notepad or other text editor program .. and edit it like below :

  • set realmlist 127.0.0.1

Now you’ve finished configuring WoW to used your mangos server

10. Now you can connect to your own server, if you want to create new user account you can do so by typing create username password from the mangosd window (it’ll create normal user account). But if you want to create GM account you can do so by typing this from normal command line (type cmd in the run command) and type below lines :

  • mysql -u username -p
  • USE `realmd`;
  • INSERT INTO `account` VALUES (NULL, 'username', 'password', '3', NULL, NULL, NULL, '', CURRENT_TIMESTAMP, '0', '127.0.0.1', '0', '0', '0000-00-00 00:00:00', '0');
  • quit

To get commands for your GM account, you can type : .commands at the chat window inside the game

That’s it you’re finished configuring Mangos and WoW to be played locally :) and here’s some screenshot (please don’t laugh on my equipment because i dont know anything about good items or equipment in WoW and that’s why i choose to play it locally first to learn about WoW) :)

WoW Screenshot 1

WoW Screenshot 2

Updated Screenshot :

WoW Screenshot 2

WoW Screenshot 3

WoW Screenshot 4

Leave a Comment

Comments Navigation 1 ... 5 6 7 8
  1. jordan said Sep 11, 2007 at 1:33 am

    hi great guide, failed at the start, downloads are hard to find, so i found a different guide and made a antrix server and its set up but everytime i log in it got *connecting* then to *anthenticating* now =\ *DISCONNECTED*, can u help me log in please =D or email me at dj_moonlight@hotmail.co.uk

  2. Jeff said Sep 10, 2007 at 12:55 pm

    2007-09-10 00:03:00 SQL ERROR: Unknown column ‘pending_honor’ in ‘field list’

    I forgot to mention it comes up as I click “Accept” in the character creation, I used SDB 4434, and MaNGOS 4423 ScriptDev2 120 aswell as 2.1.3 map extractor… maybe I used wrong ones?

  3. Jeff said Sep 10, 2007 at 12:46 pm

    2007-09-10 00:03:00 SQL ERROR: Unknown column ‘pending_honor’ in ‘field list’

    how do I fix?

  4. Jared said Sep 10, 2007 at 6:24 am

    Hey when I type in the cd /d C:\WoW\ thing on cmd it doesn’t work for me

  5. andy said Sep 9, 2007 at 12:27 pm

    When I run mangosd.exe, it just closes right away. I have the lastest version of WoW and the burning crusade is installed. Realmd.exe works, everything else works, but mangosd.exe just closes right away.

    DOTCONF++: file ‘C:\Mangos\mangosd.conf’, line 31: unterminated quote Could not find configuration file mangosd.conf.

    Mangosd.conf is in fact in my Mangos folder, so what the hell? Everything is up to date, what’s going on here? Reaper please help me. Thanks.

  6. karthik said Sep 9, 2007 at 2:43 am

    were shall i get the mangos server.msi pls send me the link……

  7. maxzz said Sep 9, 2007 at 1:35 am

    i’m still having problems with rapidshare they said that i’m already download the file but nothing. can u upload in other sites or send it to me by email privatemaxzz@yahoo.com i really aprreciate it. i really really want to make this server done thx

  8. Reaper-X said Sep 8, 2007 at 12:33 pm

    here’s the individual changeset in 1 archive :

    http://rapidshare.com/files/54156862/Changeset141-156.rar

    while here’s the full sdb dump (above changeset already included)

    http://rapidshare.com/files/32190487/CompleteSDB156-Mangos3462.rar

  9. maxzz said Sep 8, 2007 at 10:06 am

    can u upload MPQE and SDB Changeset 1.4.1 – 1.5.6 on other sites such as rapidshare cuz i had problems downloading on megaupload. i really appriciate your help.

  10. henk said Sep 8, 2007 at 12:20 am

    hey, euhmm where do i download these programmes cau?se if i click on the link’s i get weird websites and can’t find the programme itself:S
    bye

  11. henk said Sep 8, 2007 at 12:07 am

    DUDE THAT AWESOME

  12. Spiderpig said Sep 5, 2007 at 12:04 pm

    Hello ppl i realy need your help to find a MaNGOS Emulator i have searcged for ages and only find guides from older versions of wow
    i dont know what to do if those guides also can handle 2.1.3 ? well if u know something plz tell me i need you

    Thanks Spiderpig

  13. FutureWeb said Sep 4, 2007 at 3:38 am

    Hi,
    sometime ago I posted here and asked how to make a link between an irc channel and the game so when someone chats in a channel in the game it shows in a channel on the irc server….and you said you didn’t have any ideas. Well then i kept looking and i found something and i thought maybe you would like me to tell you how and what you need….but first i`m asking you if you want me to…i will wait for your reply ;)

  14. Wowdude said Sep 3, 2007 at 8:37 pm

    Hey reaper if it helps im using the MAD server setup on youtube, but i heard you where like a genius so, i can get into the server and see MaNGOS on the realm list, but no matter how much i click “OKAY” it just says Logging into game server and then goes back to realm list

    HEEEEEELLLLLLLLLLPPPPPPP

  15. ACX said Sep 2, 2007 at 11:03 pm

    I cant seem to get the Mangosd.exe and the realmd.exe (or whatever) to run, the two just flash on ther screen and that is it, also the ad.exe file keeps poping up with a debug error? plez can some one help!!!

  16. Drac said Sep 2, 2007 at 2:20 pm

    Hmmm…. having a hard time finding the SDB 0.6.2 DL, anyone know where to go?

    • Reaper-X said Sep 2, 2007 at 3:34 pm

      I do have a copy of 0.6.2 SDB on my HDD, just let me know if you want me to upload it for you :)

  17. Drac said Sep 2, 2007 at 1:33 pm

    k, been doing alot of reading for the TBC server, tried a few out yesterday (spent all day working on it), and still cant get a working TBC server up. Gonna try getting a 1.12 one up and work from there. Will post what I find.

    David,
    sounds like you didnt set up the core SDB first then do the change_sets…. same problem I ran into earlier

  18. david said Sep 2, 2007 at 6:28 am

    my server is working perfect my friends can get on and everything but there are no npcs :S how do i fix this?

  19. scyn said Sep 2, 2007 at 5:18 am

    pleassssse reaper email me the 0004331.map file,mine is outdated or something,please email to scyn@webmail.co.za

    • Reaper-X said Sep 2, 2007 at 3:36 pm

      outdate ? try using the new ad.exe to extract the maps first .. btw which mangos version you’re trying to set up ?

  20. abel said Sep 2, 2007 at 3:09 am

    im stuck at step 4 at this part (mysql -u username -p -v

  21. Drac said Sep 1, 2007 at 6:05 pm

    btw, I did have one question:

    Is this compatible with TBC expansion?

  22. Drac said Sep 1, 2007 at 6:04 pm

    Hey Reaper,

    Awesome walkthru man, Im gettin started now DLing all this stuff. In Iraq atm, so its gonna take me a couple days. Trying to get a server up and running that we can all share over here. Will let ya know how it goes.

  23. Jaloon said Aug 31, 2007 at 9:18 pm

    can somebody please give me a web link to site where i can download a WoW emu that uses patch 2.1.3 BC
    and doesnt need internet connection or anything. and that i can make me wat ever level i want and have wat ever i want

    • Reaper-X said Sep 1, 2007 at 12:42 pm

      i’d suggest you to download the emulator first (mangos, ascent, etc), configure it … and you’re done :)

  24. GREIND said Aug 31, 2007 at 8:30 pm

    PLZ WHO CAN HELPS ME HOWI CAN DONE MY WOW SERVER WOW TBC MANGOS SERVER OK?????? PLZ WHO CAN HELPS ME PLZZZZZZZZZZ IF ADNYBODY CANS WRITE HERE [PLZ NOW PLZ
    2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2

  25. gamefreak said Aug 31, 2007 at 6:29 am

    Greetings nice work reaper.

    im still stuck whit my boat i dont use any sdb and changeset but my server work bt the boat still stuck sometime dunno what to do.

  26. John said Aug 30, 2007 at 12:44 pm

    Reaper, I have installed mangos and I can login and play in the world, but there are no monsters or npcs. I am using mangos 3462, sdb 0.6.2 with changesets 1.5.6 and I am using wow classic 1.12.1. Is something wrong with my versions or something??

  27. mac said Aug 30, 2007 at 12:25 am

    Can i run this on a mac plz email hugh.hage@talktalk.net

    • Reaper-X said Aug 30, 2007 at 2:46 pm

      since i dont have mac, im not to sure if it’s going to work on mac or not :(

      i’ve only tested it so far on windows and linux (Centos)

  28. FutureWeb said Aug 28, 2007 at 3:59 pm

    Hi,
    Sorry to repeat but i really need help !!
    Do you know any IRC script that can change the channel`s topic to the server status for example:
    World: .:ONLINE:. Realmd .:Online:.
    Thankyou

  29. pan said Aug 28, 2007 at 12:19 am

    Thanks for your reply!!

    I have another question.. I have setup Mangos in a virtual machine (VMWare) and when i try to connect from my PC, i login correctly and i find the reaper but then it cannot continue to fix my character!!!

    Any idea???

    • Reaper-X said Aug 28, 2007 at 12:31 am

      hm .. i dont really understand about the “fix my character” part . But i guess you’re having problem with realm loop or something ? is that correct ?

  30. FutureWeb said Aug 27, 2007 at 4:30 am

    Hi,
    Do you know any IRC script that can change the channel`s topic to the server status for example:
    World: .:ONLINE:. Realmd .:Online:.
    Thankyou

  31. Werner said Aug 26, 2007 at 9:50 pm

    Ive set up my own mangos server right,now at a lan i was playing with friends and i came far so i used the writepdump command to save my character and saved it in my server folder,how do i use the loadpdump command to load that account again so i can play with it? plzzz help

  32. Dhagi said Aug 26, 2007 at 12:01 pm

    also, when I try the MPQE step it gives me an error in the command prompt saying

    Fatal: Could not locate MPQ archive dbc.MPQ DBFilesClient\*.dbc

    D

    varithos@gmail.com

  33. Dhagi said Aug 26, 2007 at 11:56 am

    When I try running Mangosd.exe it runs and auto-closes, so I look in the log file and it says:

    ERROR:Realm ID not defined in configuration file

    I tried setting the Realm ID to a list of different things, including the server IP and the numerical values that represent each type of server (1 for Normal, 4 for PVP, as listed in the mangosd conf file) but nothing is working, I keep getting that error.

    Aside from that, a helpful and well written guide.

    hit me up on AOLIM as m0nk31sl4y3r or I’ll keep checking the boards to see if there’s a response.

    Thanks, D

  34. sean said Aug 25, 2007 at 10:26 am

    ummmmm i cant get the lets begin side to work im not sure how to do it if you can plz plz plz email me at spidertedder@yahoo.com thank you

  35. Ionut said Aug 24, 2007 at 6:30 pm

    I want Antrix Emu or Mangos Emu or Ascent EMu plss i need one who can give me contact me on adress mail shark_blondu1492@yahoo.com Thank YOU

  36. pan said Aug 23, 2007 at 11:09 pm

    Hi,

    I finish the above procedure, but when i run mangosd.exe, at first all seems ok and then display showw lines like these:

    TEST Ship moved to -1209.486938 -4533.784180 0.000000
    Feathermoon Ferry moved to -5121.050293 3185.962646 0.000000
    Proudmoore’s Treasure moved to -4263.525391 -4823.310547 0.000000
    TEST Ship moved to -1312.261719 -4778.081543 0.000000
    Proudmoore’s Treasure moved to -4201.202637 -4718.658203 0.000000
    Zeppelin – Orgrimmar to Undercity moved to 2731.303467 1577.617310 145.945023
    Feathermoon Ferry moved to -5130.470215 3471.471436 0.000000
    Proudmoore’s Treasure moved to -4100.875488 -4692.390137 0.000000
    TEST Ship moved to -1448.969604 -4947.816895 0.000000
    Feathermoon Ferry moved to -5089.303711 3705.992188 0.000000
    TEST Ship moved to -1652.698853 -5107.111816 0.000000
    TEST Ship moved to -14366.628906 1302.032959 0.000000
    Feathermoon Ferry moved to -5009.833496 3853.381592 0.000000
    Zeppelin – Orgrimmar to Undercity moved to 2318.575439 1226.515869 153.362000
    Proudmoore’s Treasure moved to -4016.389893 -4740.588379 0.000000
    Feathermoon Ferry moved to -4880.222168 3939.895752 0.000000
    TEST Ship moved to -14338.303711 1081.086792 0.000000
    Feathermoon Ferry moved to -4693.104980 3962.071289 0.000000
    Zeppelin – Orgrimmar to Undercity moved to 2123.634033 1023.386597 153.473007
    TEST Ship moved to -14366.722656 867.312866 0.000000

    What is that???

    If i run realmd.exe all seems OK..

    • Reaper-X said Aug 27, 2007 at 11:42 am

      that mean, mangos is working … you can prevent mangos from showing debug information by changing the debug value in mangosd.conf :)

  37. Spy said Aug 22, 2007 at 10:11 pm

    Do i really have to use Mysql, because i just don’t like Mysql or any of the php programs…

    • Reaper-X said Aug 23, 2007 at 12:07 pm

      yes, you’ll need mysql. because that’s where mangos read the data (skills, player, etc)

  38. sasuke said Aug 22, 2007 at 12:35 pm

    Hello I’m trying to set up my own private server is this server good? “DJ Executable Mangos Server”

    If not??? My client is 2.0 enUS is this compatible with your Mangos.

    Please Reply Thanks

  39. ronald said Aug 20, 2007 at 10:03 am

  40. Max said Aug 18, 2007 at 10:06 pm

    For some reason, i cant chat on my server, i cant talk on general, trade chat, etc…whats wrong?

  41. wiw gamer said Aug 17, 2007 at 5:16 am

    do you mind helping me? ok i got mangos all set up and everything i am able to play on it but is there any way that you can update it so there arnt a 100000000 bugs? such as when i put a money command in it works i can buy stuff but it says i dont have any money and anotherthing is most of the commands dont works

  42. wiw gamer said Aug 17, 2007 at 5:14 am

    Hello reaper

  43. Futureweb said Aug 16, 2007 at 5:39 pm

    hi,
    i was wondering if you know how i can do something so that when people chat on my irc server from my website what they say shows on the game server(mangos).
    Thankyou

  44. fe4rl3ss said Aug 16, 2007 at 12:26 am

    I am looking for a good GM command compilation. Mainly the command to raise professions to max level and to raise the riding skill to max level. Thanks for your time.

    • Alley said Aug 16, 2007 at 8:46 am

      If you get an answer to this question, please let me know. I’m trying to find the same thing.

  45. SUPERNOOB said Aug 14, 2007 at 6:33 am

    WILL U MAKE ME A PRIVATE SERVER PLZ?

  46. SUPERNOOB said Aug 14, 2007 at 6:32 am

    WILL U MAKE ME A PRIVATE SERVER PLZ

  47. Joker said Aug 13, 2007 at 11:07 pm

    Is anyone else haveing Problems with the Hunter class not being able to Revive Pet and Feed Pet. Also with warlock not being able to pruchase grimores for their pets and able to get thier Other pets like VW SC FH please if anyone knows what the tag numbers for the hunter spells please email me to let me know. jerry_hampton@hotmail.com

  48. demonseed said Aug 12, 2007 at 10:34 am

    HOW THE HELL DO I MAKE THIS SERVER PUBLIC FOR EVERYONE TO PLAY ON ??? IVE TRIED EVERYTHING IM SOOOO MAD !!!!

    my msn is swift-strike@hotmail.com please tell me how to fix my problem .

  49. John said Aug 9, 2007 at 6:33 am

    i changed my realmlist source thing to a private server and i forgot to save the original, so what is the original source thing? sorry I know this isn’t what this story is about, but i don’t really know where else to ask=(

    • Reaper-X said Aug 9, 2007 at 11:54 am

      lol … nah dont worry about it :)

      here’s the original US WoW realmlist

      us.logon.worldofwarcraft.com

  50. Ardatrian said Aug 7, 2007 at 5:15 am

    I WANNA HOST A SERVER, 100 mbp and fast internet, :)

Comments Navigation 1 ... 5 6 7 8

Trackbacks/Pingbacks