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 :
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 :
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 :
Special Note :
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 :
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 :
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 :
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 :
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 :
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 :
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) :)


Updated Screenshot :



ERROR 2017 (HY000): Can’t open named pipe to host: . pipe: mysql (2)
Error I get when trying to use the mysql -u username -p -v
o ya i almost forgot i redownloaded the changesets and tried importing them again and got the same error but the game works fine without it
hmm i have PHP 5 and the registration page from magos but I cant seem to figure out how to get apache running or which file to download as the apache site downloads are all in FTP instead of HTTP with no real explanation on how to use it
# metaltildea
Thanks and im glad it could work for you too :)
btw as for the error message, i just take a look at the changeset 155 sql file and i didnt saw the sql command used to create new database
im sure you imported the wrong file, because all the changeset file only updating the table created by the full SDB and it’s hotfix .. and if the table cant be found, of course it wont updating
maybe you should re-import the whole sql start from 0.62 Full -> Hotfix -> Changeset 141, 142, 143, 144, and so on and see if you get the same error message or not ;)
sorry for so many posts just wondering if anyone new how to make a registration page or had a link for a guide on how to make 1 (great guide by the way reaper thanks again)
Dont worry about it, because comments form are made for something like this
as for registration page, if you want the simple way, mangos-files.de already created it (look under misc files section)
but in order to use it, you must already set up apache HTTPD server with PHP installed on your computer
sorry for so many posts just wondering if anyone new how to make a registration page or had a link for a guide on how to make 1 (great guide by the way reaper thanks again)
this is the error for changeset 155
Error Code: 1007 – Can’t create database ‘mangos’; database exists
Query:
INSERT INTO creature_movement (id, point, position_x, position_y, position_z, waittime) VALUES
(13227,1,-35.2957,-856.803,58.6749,300000),
(13227,2,-53.158,-844.649,56.383,0),
(13227,3,-44.0005,-827.207,57.1427,0),
(13227,4,-18.2736,-800.485,58.8641,0),
(13227,5,-21.6932,-761.019,62.1732,0),
(13227,6,-20.8296,-715.951,69.6253,0),
(13227,7,-45.4663,-717.097,68.5534,0),
(13227,8,-69.9465,-717.17,68.0095,0),
(13227,9,-111.882,-715.131,65.2042,0),
(13227,10,-160.847,-716.369,63.8877,0),
(13227,11,-202.517,-721.034,62.5292,0),
(13227,12,-255.076,-714.971,58.9229,0),
(13227,13,-289.298,-697.333,57.4972,0),
(13227,14,-325.209,-678.925,54.5757,300000),
(13227,15,-353.291,-665.55,55.5599,0),
(13227,16,-410.316,-668.459,54.5015,0),
(13227,17,-425.468,-626.073,54.501,0),
(13227,18,-436.086,-584.159,53.582,0),
(13227,19,-469.96,-575.385,48.5198,0),
(13227,20,-513.753,-563.037,41.3057,0),
(13227,21,-549.795,-564.794,35.6348,0),
(13227,22,-598.321,-576.173,31.6066,0),
(13227,23,-639.927,-562.344,26.6961,0),
(13227,24,-689.715,-548.91,28.2971,300000),
(13250,1,-35.2957,-856.803,58.6749,300000),
(13250,2,-53.158,-844.649,56.383,0),
(13250,3,-44.0005,-827.207,57.1427,0),
(13250,4,-18.2736,-800.485,58.8641,0),
(13250,5,-21.6932,-761.019,62.1732,0),
(13250,6,-20.8296,-715.951,69.6253,0),
(13250,7,-45.4663,-717.097,68.5534,0),
(13250,8,-69.9465,-717.17,68.0095,0),
(13250,9,-111.882,-715.131,65.2042,0),
(13250,10,-160.847,-716.369,63.8877,0),
(13250,11,-202.517,-721.034,62.5292,0),
(13250,12,-255.076,-714.971,58.9229,0),
(13250,13,-289.298,-697.333,57.4972,0),
(13250,14,-325.209,-678.925,54.5757,300000),
(13250,15,-353.291,-665.55,55.5599,0),
(13250,16,-410.316,-668.459,54.5015,0),
(13250,17,-425.468,-626.073,54.501,0),
(13250,18,-436.086,-584.159,53.582,0),
(13250,19,-469.96,-575.385,48.5198,0),
(13250,20,-513.753,-563.037,41.3057,0),
(13250,21,-549.795,-564.794,35.6348,0),
(13250,22,-598.321,-576.173,31.6066,0),
(13250,23,-639.927,-562.344,26.6961,0),
(13250,24,-689.715,-548.91,28.2971,300000)
Error occured at:2007-05-02 15:06:39
Line no.:342
Error Code: 1264 – Out of range value adjusted for column ‘waittime’ at row 1
i got it working thanks for the guide it helped me alot tho i wasnt able to use the command prompt so i used SQLyog instead and it worked fine thanks again though i am having the no npc’s/enemy’s issue now
Forget to tell you all, if you didnt receive reply from me here .. that’s because its quite hard to organize every comments here (well .. i think you can see it by yourself because if there are more than 4 comments / question posted by various people at the same day, sometime i get lost on which comment i should answer first .. and the last page of course getting the answer first)
so maybe you could also try registering at my forum and create a new thread, so i can organize it better :)
# Marx
Erm .. did you copy paste the text from here ? if you copy paste the text from here it’ll not work, you must type it manually
as a note, if you sure you dont get any error message after typing the last command in this guide
when ingame try typing this to check if you’re a GM or not :
.commands (with the leading dot)
So yeah when I goto cmd to type all that stuff in for a GM account after i type USE `realmd`;
it says database changed then i type the rest in and doesn’t do anything. Me want to be a GM…. :(
# PepsiG
So as I have been playtesting the server I noticed that in the Gnome starting area there are no frostmane whelps in the cave that holds Griknar the Cold like there is on live servers, in addition to blood pact from imp not working. Are there ways to fix these server-side or is it just a symptom of MaNGOS? I am fine whith it as is, just thought I would see what I can do to work out glitches..
Hm .. i dont know much about it since i only played as Tauren warrior, human mage, and orc warrior .. and i never played on the official server lol (beside until now, im still learning about wow) ..
a good example of this case is, once time i try using the gm commands to have all spells and skills for my tauren warrior character
and i saw there’s a DnD Spell or something that can transform you into animal … i clicked on it .. and OMG .. i change into a cat !!!
Since i know nothing about WoW .. and i cant return / dont know how to return my original form .. i decided to create new character lol
Maybe you can tell me more about WoW ingame (as an addition i still dont know what is the main differences between PVP Realm and Normal Realm except for killing player) :P
# PepsiG
I got it up and running! You rock, my friend! I _really_ appreciate all you have done to help the community.. My wife and I moved to a new place with no internet services available and I have been dying to play!.. We are still paying our subscription fees so I dont feel that I am hurting Bliz. Now we can play on a private LAN server until a viable internet solution comes along. (Now I will see if I can figure out how to run it on a Lan without an actual internet connection.. I am thinking of setting the IP of the server computer to a set number and using that same IP for the set realmlist setting)
Your welcome and im glad you can make it work too :)
Is there a way to “recreate” our characters that we have out on Bliz servers so we don’t need to start from scratch?
I had an error when running 155.sql, but it still let me run 156.sql and the server still loads. Any thought on what could have went wrong or how it will impact my server stability?
Error message ? could you post the error message here ? because i just tested it now without problem
As for data from Blizzard, it is not possible .. because im sure the data saved in official server are differents than the emulator version but the most important thing is no one can touch the blizzard data :P
to make thing easier, you can increase the exp rate by editing the mangosd.conf file in mangos directory and set the exp and drop rates to your liking although setting the drop rate higher than 10 (i only test in 1, 5, 10, 100, and 1000 int) may result in problem with quest item not being dropped by the monster
as for the exp you can adjust it freely
as for getting individual item or item set, you can try this command :
.lookupitem
.lookupitemset
and to add it into your inventory use this command :
.additem
.additemset
maybe i should create new post about mangos gm commands .. hahaha
# guy smiley
I’m having a problem getting ad.exe to work. i get a c++ error but the entire box is blank. should I try getting the newest version of ad.exe?
if you get runtime error try updating your VC runtime, here’s my previous comment about this
# metaltildea
i found a repack that works fine but it is a very old version revision 2891 is there anyway i could update it to work with this version because I still seem to get the object table error no matter what I try
if you havent setting up mangos before, i’d suggest you to use the Revision 3462 or at least 3459 instead combined with SDB 0.6.2 + hotfix + changesets 141 till 156
and you can get 3459 from mangos-files.de, while 3462 version can be found from (sorry forgot the url) .. lol ..
if you want me to upload the mangos 3462 i can upload it for you
# Silent or other experiencing the same problem
mysql -u….. saying there is no command for mysql
if you get that message, that means mysql you havent configured mysql bin in your environment path .. newer mysql version can automatically set your environment variable path for you (if you didnt unchecked it when installing mysql)
i’ve wrote about this environmental path few pages back (try looking for it)
but just in case you dont want to use environment var path, you can also use :
C:\Where MySQL Located\Bin\mysql -u root -p .. and followed by the other commands used instead
So as I have been playtesting the server I noticed that in the Gnome starting area there are no frostmane whelps in the cave that holds Griknar the Cold like there is on live servers, in addition to blood pact from imp not working. Are there ways to fix these server-side or is it just a symptom of MaNGOS? I am fine whith it as is, just thought I would see what I can do to work out glitches..
If this is something I should be discussing on a MaNGOS board just let me know..
I’m having a problem getting ad.exe to work. i get a c++ error but the entire box is blank. should I try getting the newest version of ad.exe?
Reaper-X,
I got it up and running! You rock, my friend! I _really_ appreciate all you have done to help the community.. My wife and I moved to a new place with no internet services available and I have been dying to play!.. We are still paying our subscription fees so I dont feel that I am hurting Bliz. Now we can play on a private LAN server until a viable internet solution comes along. (Now I will see if I can figure out how to run it on a Lan without an actual internet connection.. I am thinking of setting the IP of the server computer to a set number and using that same IP for the set realmlist setting)
Is there a way to “recreate” our characters that we have out on Bliz servers so we don’t need to start from scratch?
I had an error when running 155.sql, but it still let me run 156.sql and the server still loads. Any thought on what could have went wrong or how it will impact my server stability?
Thanks for all you help!
i found a repack that works fine but it is a very old version revision 2891 is there anyway i could update it to work with this version because I still seem to get the object table error no matter what I try
erik,
try using root instead of username.. that is what I did…
Erik,
I think you are making the same mistake I did.. I kept typing “username” and it did not work.. try using “root” in place of “username” i.e.
mysql -u root -p -v ….. etc etc etc ….
The default username for MySql 5.0 is root I believe, at least it was for me when I set a password.
G’luck and hope that helps!
Reaper-X,
Thanks for all the great help and time and effort you put into this!
i am on step 4 and i had just entered mysql -u username -p -v
it says it cant find the file when i type in the create_mysql.sql part in the cmd..
whats wrong? i use TBC client, is that it?
sry for the other post’s.. it got messy
“mysql -u username -p -v
Hi
well, when i write “mysql -u username -p -v
putting the C:\ thing in worked but when typing in the next one:
mysql -u….. saying there is no command for mysql
when i type that into command, do i type something else first?
i updated all the changesets to 1.4.0 but I still get the same error how can I check the gameobject template table? So hopefully I can find out what’s wrong
aah im sorry i have updated this post and upload the changesets 141 till 156 file here :) .. you can find it above the optional software
# PepsiG, metaltildea, and other that is experiencing error message saying sql format was updated
How do you update the changesets?
To update the changeset you can execute the sql files using the same command described at step 5
# metaltildea
actually changeset 140 already included in SDB 0.6.2 Full :)
I have no idea I was wondering the same thing and where to get 140
How do you update the changesets?
I tried to update I updated to changest set 208 i think it was the oldest version but still have the same problem
Metalidea,
That is the same (type) of error I am getting. Are you at changeset 140? or did you update your changeset? If you did not update your SDB changeset above 140 that is probably part of the reason you are getting that error..
I am currently trying to figure out how to update the changeset, but so far no luck.
I am getting this error when I try to run mangosd.exe
2007-04-30 18:15:44 Loading Game Object Templates…
2007-04-30 18:15:44 ERROR:Error in `gameobject_template` table, probably sql file format was updated (there should be 18 fields in sql).
Can anyone help me?
Reaper-X,
Thanks, that did the trick for MPQE. However, I think I may have figured out what was causing my probelm.. I only have changeset 140. How do I upgrade to 156? Do I have to do all changesets between the two (i.e. 140 to 141 then 142, 143, 144, etc..)?
And how do I install the changesets? Are they just .sql files I save to a directory? If so, which directory?
Thanks!
Reaper-X
I used sdb full 0.6.2 and hotfix, but I used the ones available for download as of yesterday, so unless the hotfix was updated recently that should not do it, right?
I had to download the DBC files for 1.12.1 from an independent site because I could not get the MPQE program to work. I will try adding those files tonight and see if that lets me run MPQE and fixes my DBC/mangosd problems.
Thanks for the quick response!
# Luke
hay me again it works but the CMD thing it says that the thing u wrote up dosnt exist on the second time
so it wont make the directory :’(
Which one ? the cd /d or cmd ? if you’re using win9x try to use command instead of cmd
# PepsiG
Did you use another database ? or which sdb version you’re using ? because the only supported SDB for Mangos client below 3463 is SDB FUll 0.6.2 with fix and patches until Changeset 156
As for your mysql installation im sure it’s already worked fine :)
# PepsiG and WurthSkidder7
im sure there are missing runtime for your system. And because im not the one who compiled ad.exe i dont know which runtime to be exact .. but to make sure your system can run various program without problem (even for new program) try downloading below files from Microsoft site :
- Microsoft .NET 2 Runtime
- Microsoft Visual C++ 2005 Redistributable Package
Try downloading the above two files and install them into your system first :) and see if it worked for you or not
Every time I run the ad.exe on step 6 I get a debug error, i have the Maps directory in there, ad.exe is in the WoW directory, but it still debug’s on me. Anyone got a solution?
Ok, tried again with MySQL 5.0.37-Win32 and doing a complete install and rerunning everything. Still getting same errors at Loading Creature Template and says “Error in ‘creature)template’ table, probably sql file format was updated .”
Could it be the DBC files I downloaded were bad? If you could please send me the file anyways, I will try it and see if that fixes my problem.
Thanks!
Ok, so I found the 1.12.1 DBC files extracted through another site, but I error out on mangosd.. It errors at Loading Creature Template and says “Error in ‘creature)template’ table, probably sql file format was updated .”
I was careful to make sure I only patched the full 1.12.0 patch and the 1.12.1 patch, and I used Mangos 3459. I used MySql Essential 5.0.37-Win32. Any ideas as to what could have gone wrong?
Thanks,
PepsiG
I can’t seem to get the MPQE to work.. it always gives me the error that “the application failed to initialize properly”
Could you send me the file that it creates?
Great instructions you have here by the way!
Thanks!
hay me again it works but the CMD thing it says that the thing u wrote up dosnt exist on the second time
so it wont make the directory :’(
hay umm my map ad thingy isnt extracting emm it keeps coming up with a debug error watever it is could u email me a one that works?
okay for you guys that cant get in because of the error this is why, you dont have an account with the info your trying to log into your server with probably, mangos servers come with 4 accounts automatically, Administrator, Gamemaster, Moderator, and Player, all of them have that (the name said above), as their username and password, i hope this helps you guys GL
I forget about the signs that dont let me post it..
ERROR 1045 (28000): Access denied for user ‘username’@'localhost’ (using passwor
d: NO)
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Admin>cd /d C:\WoW\Mangos\sql
C:\WoW\Mangos\sql>mysql -u username -p -v mysql -u username -p -v
Did u create a password on root when instaling MySQL ?
Are you putting -u username -p -v try -u root -p -v etc.. and when asks for your password insert it, if you didin’t choose one, type blank.
Im sorry about my last post..
It just says acces denied user@localhost
how do i fix that?
what line to do for the create mysql.sql?
i got no password and username = username
thnks,
*srry for triple posting..
Sorry,
I mean when i want to do
mysql -u username -p -v
it tells me im not authorized and i need a password.
But in fact i did not set a password, could you tell me what command line i need to enter to make it work?
And i had a server on WoWeMu and it wouldnt let people connect to me when i used my DNS as realmlist.
Anything else then just change the realmlist?
When im at step 4 and i want to do that code
mysql -u username -p -v