This is the old guide, please read the new guide on how to create public world of warcraft server instead
This is the third part of the Creating your own World of Warcraft Server using Mangos
Okay … after taking a break for few days now i’m going to continue with the complete mangos configuration guide. And in this topic i’m going to tell you how to create public server … erm … i mean private server for lan party purpose (if you intend to create public server using mangos, that means you’re violating the mangos license agreement)
and to make thing shorter … let’s start the guide ;)
Requirements :
Note :
Here’s the summary of the process on how you’re going to do it :
Setting up WoW Server for LAN / Local Area Network :
First of all you need to know what is your lan ip address, especially if you’re using DHCP to automatically assign your ip address, and to do this first you need to open the command prompt window
Start Menu => Run => Type CMD
then type ipconfig like example below :

From the above image you can see that the ip address used was 192.168.3.3 so you’ll need to set up your realmlist to use that ip address so here’s how to use it :

Note : Don’t forget to adjust the 192.168.3.3 to use your lan ip address because i’m sure your lan ip address is different
And now we need to make sure that it is get properly written into the database so here’s how to check it

After done with the above process, now you just need to set your realmlist.wtf file in your WoW Game Directory (for example, C:\Program Files\World of Warcraft\realmlist.wtf) to use that ip address … and you’re done then the next step would be starting the mangos process and realmd process, and try connecting to your wow server from other computer in your network
Setting up for Internet / Accessible from anywhere :
Basically there are no actual differences between configuring wow to be accessible from LAN except :
Note : If you’re having problem on port forwarding / do not understand how port forwarding works, then i suggest you to visit this page
But what if you ran the realmd and mangos server on the same computer and you’re trying to connect to it (connect to the same computer where mangos and realmd process started) ? and yes i’m sure you want to play using this method if you only have 1 computer in your home like me
Then you need to follow this step :

your-lan-ip-address your-newly-created-dns-name
Please note, only invite trusted people to your wow server (for example your friends only) and do not attempt to create real public server unless you really know what you’re doing ;)
Well … that’s all about it … and at this time you should be able to get your friends to play on your server … unfortunately you still need to add your friends account manually which is not good for LAN Party Server
So for the next part i’m going to tell you how to set up webserver with php on your computer so your friends can register account easily ;)
Leave a response
And one last thing, is it possible to make it so that I don’t need to run realmd.exe and mangosd.exe every time I log on?
Alright, I fixed the problem by updating to the latest mangos version.
Reaper, thanks a ton for compiling this all together.
And my Mangos version is 4535.
Well, I’ve fixed the “Unable to Connect” (it was because of a file problem; the same as infernal demon’s, in fact), but now am faced with the “Unable to validate game version” problem.
# Xyzy
I’m still not sure what is your problem actually, btw which mangos version you’re using ?
# Infernal Demon
Try to make sure that the host file is not set to read only, and if you choose to open it using notepad make sure you choose SAVE FILE AS, and then overwrite the original host file :)
Hello again Reaper :P
I installed Mangos and it works very fine, nothing to say. The problem is when i try to modify my system32 file called “hosts”: it doesn’t modify the file instead, but it creates a new file called hosts.txt. My friends can connect to my server, it works. But I can’t connect to my own server by the pc who runs mangosd and realmd. Please help me if you can.
if ur friends want to join LAN over internet use Hamachi named program…its imba…no need to leave from ur room to go to LAN ^^
One more thing, when I try to log on using my lan IP address there is an error message something along the lines of “Unable to validate game version. This may be due to corrupt files, …”
I was wondering if this was because of the latest bug fix patch or because of something else.
Alright, I’ve figured out everything with the dns name and done all the steps, but whenever I try logging on, the “Unable to Connect” message comes up (on the WoW client).
I am a little unclear about the part requiring you to register on one of the dns sites. I registered, but what exactly is the dns name (and do I set my public ip address to where realmd.realmlist accesses the server from?)
Ok i have successfully running server with no errors and vmaps/maps work perfectly.
Hint: Just a hint that i closed when it said
work complete. no errors.
I thought its end. I just realized that it started the vmap_assembler.exe and is still running from inside. This is how i noticed by seeing the files in vmaps constantly increasing. I was like “oh” lol.
Well, anyway, it is working like charm.
Is there a place where i can report bugs so u can fix them? I have seen several bugs since yesterday.
I’ve done everything, mangosd.exe works, realmd.exe works, changed the realmlist.wtf and when i go to connect on WoW it says: Connecting then 5 seconds after disconnected from server. please help, this is frustrating
Hey guys im stuck by the part of which ip adress to put in the realmlist and thus i get a loop with connecting to server.Which is the correct one to put the realmlist ?
# ExoriaX
Ah … actually enabling vmaps of course is a lot better, im pretty sure you just close that window right away before it’s finished extracting ;)
try deleting the buildings and vmaps, directory first and then run the SIMPLE.bat (to extract vmaps once again) and wait until you see :
PRESS ANY KEY TO CONTINUE MESSAGE
before that message appear you just have to wait (it’ll took 2 hours on some computer, or 30 – 45 minutes if you have fast computer)
I seem to be able to get pass the realmd error i posted previously by edited the ports in my.ini. I dont know why it is set to 3308. I changed them to 3306 and it worked fine
Actually that’s why i want to see your my.ini file ;) … but i guess now you’ve found it
# Clueless
You just need to tell them your public ip too
# John
Actually the my.ini part is specifically for exoriax, because he is having problem with mangos and realmd process can’t connect to mysql, and it seems i was right his mysql running on port 3308 :)
As for your question, you just need to add your LAN IP address that is used to connect your computer to router to your windows host file
for example your dyndns address : my-cool-wow.com
now you just need to add :
192.168.2.2 my-cool-wow.com
into your windows host file :)
Well, everything works perfectly, i can enter my server and my friend can enter my server so the only thing that i turned off are:
vmap.enableLOS = 0
vmap.enableHeight = 0
Are they that necessary? If so how do i fix the vmaps and maps error?
I looked up in google about vmaps and maps error. I have extracted them properly and still get error.
So, I found a thread on ur forum, Reaper-X about vmaps and maps error.
I tried this as u said on that thread:
vmap.enableLOS = 1
vmap.enableHeight = 1
into
vmap.enableLOS = 0
vmap.enableHeight = 0
It works just fine and my server is running just fine i can login/create chars.
What else could i do to fix this error? Remember, i have extracted it when my wow client is patch v2.2.2.
here’s the video of mangosd error (vmaps and maps):
http://www.exoriax.net/downloads/mangosderror.avi
I seem to be able to get pass the realmd error i posted previously by edited the ports in my.ini. I dont know why it is set to 3308. I changed them to 3306 and it worked fine but i got error with vmaps and maps.
Am i suppose to extract them during the wow client is 2.1.3?
nvm i found it….and changed it to my public IP….i still dont know what they are supposed to put into their realmlist files in the WoW folder to sign on though.
what….what is realmd.realmlist? i have a realmd and a realmd.conf but where is the other one?
well the my.ini has nothing to do with the network or internet, jus table values an what not for sql configuration, and my sql is runnin perfectly, the prob has to be with my realmlists.wtf file or my hosts file. I knwo sql is doin its job fine cause my friends are playing on my server right now, but I cannot connect to it.
Weird cuz it is still working fine for me. If ur still having problem to enter that link then i have uploaded my.ini to my own site here’s the link:
http://www.exoriax.net/downloads/my.ini
Hope this helps.
P.S. Now i have to wait next day for ur response. :(
HI guys, and thank you so much reaper for the guide, i followed it and my friends love playing on my server. Only problem is, I cant join them!
MY sql, mangos an realmd all running on the computer im using wow on. I set the IP in realmlist to my public IP address, forwarded all the ports, and my friends can play, no problems.
In realmlists.wtf, ive tried 127.0.0.1 (my local host), ive tried my lan ip, 192.168.2.10, and ive tried my public IP, and ive tried my dns XXX.no-ip.biz, none of thse will get me past my realm selection screen.
do I have to edit my hosts file? ive done xxx.no-ip.biz with all the above addresses, nothing seems to work, can someone please help me out here? be much appreciated.
Thanks again reaper!
I am having a problem connecting to wow from thae same computer that mangosd and realmd is on. I believe I have everything setup correctly according to the tutorials provided (which are excellent by the way!) can someone IM me @ jemmck or email me at jemsmck@gmail.com with some helpful tips?
# B
to be honest, actually this is the first time i heard about this ARIS TM402G :D .. so im really sorry for this
# ExoriaX
I can’t open that site (retried for more than 10 times but still can’t open that site) .. so i think im going to check it later today (if you want to see my local timezone, you can look at the time this comment was posted here)
# nordus
probably there’s a missing file (game data) in your friend wow installation
# Clueless
the answer is depend but basically im guessing that your question basically the same as Mike2 question :)
# Mike2
Actually you’ll need to use the same ip address as used on your realmd.realmlist address (in mysql database)
for example (this is not the realmlist.wtf file inside your wow directory),
- if you set 192.168.1.1 as your realmd ip address, that mean you only allow those who are in the same network as you to join your server
- if you use your public ip in realmd.realmlist, that mean you allow everyone to connect to your server as long as they know your ip address and you didn’t block any outside connection from your firewall ;)
PS: In realmd.exe my friends IP comes up and says accepting connection. then User “his user” successfully authenticated.
Just thought I’d add that. XD
Hello Reaper-X,
I have succesfully setup a lan server, which works perfectly with all the computers in my house. However when my friend tries to connect using my external ip from his house, he writes in details (username, password) then it says authenticating then handshaking then success then sits there for a while and then comes up with the realmlist, then he clicks on the freerealm realm and it says logging in to server and then it sits there for a little bit and then goes back to the realmlist.
The ports 8085, 3724, 1400, 1401 are forwarded to my server from my router. Also my firewall allows those ports.
If it helps I can give you a test account, in an email, with my realmlist.wtf.
I really don’t know whats stoping it from working.
ooook…..so i followed all instructions….and it still doesnt work….i think i may have put something wrong in my realmlist/realmd/mangosd files as my IP. i have like 3 IPs and i dont no which im supposed to use (LAN, Router, Public)
hey, i got everything up and runnin. it all works great cept one problem. some of my friends get kicked and get a critical error messeage when they try to open the charactor sheet in game, anyone know what might cause this and how to fix?
awesome guide reaper thx
http://www.pastebin.ca/729105
Ok i have posted my my.ini file from:
C:\Program Files\MySQL\MySQL Server 5.0\my.ini
I hope u could figure out what’s wrong.
Thanks,
ExoriaX
i wish i could! lol i cant find the damn thing anywhere….hmmmmm…… lets hope i find if soon
# B
Unfortunately i havent tried using that router too. The only thing i can suggest is, to look at your router documentation / manual directly :(
# ExoriaX
Could you tell me what is your my.ini looks like ?
p.s you can paste the contents of your my.ini file into :
http://www.pastebin.ca
# Manu
you can always use DMZ on both if you want the easiest way :)
Hey Reaper-X nice guide.
I got everything to work … but my friedns can’t join. They could when we tried local but now i’ve changed it all ( DNS with no-ip.biz) and all, but when my friends try to connect it just says can’t connect. Now i have tried Port-fowarding but it doesn’t allways work ( donno got this set up [My PC] > DI-524 Router > DSL-502t Router > ISP , i got 2 routers caus the 502 only has 1 port and no wireless) Any way port forwarding is a ***** on these things and i can’t get it to work ( i think , is there any way to test it?) . Plz hlp is there a programm or something that can forword it for the router? or anything plz hlp
oh and i have tried searching for other sites that could help but i couldnt find anything.. :(
ok hey reaper again lol its been a few days since i last talked to you and everything is fine wit my server but i cant get my port fowarding to work, so i cant have my friends play wit me!
I tried using http://www.portfoward.com but they dont have my router on there and i tried using the routers ip address in my web browser but it just gives me a summary of my router……
i dont wanna buy a program to do my port fowarding so what can i do?
my router is an Arris TM402G
oh and i do have a static ip address set-up.
and i dont have internet explore or netscape for my browser i have Foxfire….idk if that changes anything.
Ok i seem finally got mysql to run. I found out that i only need to type ‘net start mysql’ in command line to start mysql.
Then i used installation in reaper-x-mangos.bat and it installed just fine, no errors at all and imported database also.
I went to:
C:\Mangos\
And start realmd then it said:
Could not connect to MySQL database at 127.0.0.1: Can’t connect to MySQL server on ‘127.0.0.1′ (10061)
Cannot connect to database
Here’s the video:
http://www.exoriax.net/downloads/realmderror.avi
MySQL is running as it said in video and i cannot connect to it? I don’t understand what’s happening?
Here’s the video of screen i record on my computer:
http://www.exoriax.net/downloads/mysqlerror.avi
Ok, let me make it much clearly.
I downloaded ur package (4535) and extracted it to:
C:\Mangos
I downloaded MySQL Server 5.0 from MySQL.com and followed the guide for setting up MySQL with ur guide:
http://www.reaper-x.com/2007/06/27/mysql-installation-and-configuration-setting-up-private-wow-server/
I got no problem with installing MySQL. I followed the guide perfectly.
I extracted DBC, Maps, and Vmaps and copied the folders to:
C:\Mangos\
I have no problem with that also.
Then I went to:
C:\Mangos\reaper-eazy-mangos\
I started reaper-x-mangos.bat and run it. It asked me where is my MySQL bin path? I use it as default cuz i followed ur guide about installing and configuring MySQL perfectly. So the default path is:
C:\Program Files\MySQL\MySQL Server 5.0\bin
I pressed enter then error said:
“ERROR 2003 : Can’t connect to MySQL server on ‘localhost’ ”
Seems like the MySQL isn’t started. How do I start it?
That’s the exactly what I do recently without using MAB’s Private Server 2.1.3. Only ur package (4535) and MySQL Server 5.0 that’s all.
Thanks,
ExoriaX
# Reaper-X
Is it possible to run only from ur package (4535) with mysql server 5.0. If so can I delete MAB’s Private Server 2.1.3?
# ExoriaX
>> ‘mysql’ is not recognized as an internal or external command, operable program or batch file.
That error message mean, it couldn’t locate the mysql.exe
so to fix it, you’ll need to know where mysql.exe can be found .. if you previously use a repack that include everything, i’d suggest you to delete the previously included mysql and then do some fresh reinstall of mysql
# Logan
Could you tell me what’s the error message exactly ? (look at the server.log)
# Magnus
Unfortunately i made a slight mistake on the reaper-x-mangos.bat and just uploaded the new one with fix yesterday :)
try looking at my 4535 post (you dont need to download the whole package again) ;)
Forgot some things there sry, im running wow 2.1.3
with the 4524 mangos. Also when i start up mangos i get this error while its loading all its crazy little things.
Creature (Entry: 23157) have non-existed modelId_A (0)
Creature (Entry: 23157) have non-existed modelId_H (0)
Loading spellscripttarget
================================100%
>> Loaded 0 spellscripttarget from `spell_script_target`. DB table `spell_script_target` is empty.
Any input?
Thanks
Hi!
Reaper hats off to you sir. Thank your very much for this guide and all things have been working out great. Played on my server for 6 hours yesterday and i noticed some things.
Mobs are slightly Overpowered for some reason, i had no problem with it but my 2 friends who joined me kept whining (probably b/c of the lack of Skilzzz), but anyhow i noticed mobs being able to take some damange than usual and because of this the game is slower. Which leads to my next question, i’m still playing with it but when i use the mangos config editor, and change the loots i cant tell a ingame difference.
How does that # work in mangos config editor, it says default is =1, but if i put 2 does that mean i doubled the xp, gold etc?
For some reason random monsters are on mounts, like a boar or something with and epic dwarf mount, kind a cracks me up but just wanted to mention its around.
Im not too worried about mobs are being too strong i just wanna up the XP and such.
Thank you
Thank You,
I know have a successful server up and running.
above, where i said automatically, i meant it happened immediately. I am trying to play wow and run mangos from the same computer BTW
ok, I am trying to do the mangosand play wow like you said, an i have configured everything, but when i try to login to wow, it just sits there for about a minute, then it says unable to connect. BTW, if i disconnect from the internet, like im trying to play offline, it says unable to connect automatically. Can you help me?
Forget to add that i am using MAB’s Private Server and i am trying to upgrade mangos 4535 that includes with reaper-x-mangos.bat.
MAB’s Private Server 2.1.3:
http://www.youtube.com/watch?v=z43oER3Byew
ok, i started up mysql and it said:
071005 13:42:32 InnoDB: Started; log sequence number 0 43655
071005 13:42:41 [Note] db\bin\mysqld.exe: ready for connections.
Version: ‘5.0.27-community’ socket: ” port: 3306 MySQL Community Edition
Which seems to be working just fine. I started reaper-x-mangos.bat i typed 1 to install, it asked me for mysql root password and i typed it in. Then few seconds later it said:
‘mysql’ is not recognized as an internal or external command, operable program or batch file.
I am not sure what’s happening there.
# Mike
Thanks for telling me, i just fixed it (lol i forgot to change the path)
http://www.reaper-x.com/files/reaper-x-mangos-bat.rar
grab the fix, and extract it into reaper-eazy-mangos directory overwriting the old one
as for you’ve edited the files by yourself manually and it’s not working, that’s because i put comment on that line ;)
and, mangosd read the exp rate directly from the mangosd.conf .. try it :)
Hello again reaper-x,
Thanks for the reply, but as I tried to say before the “reaper-x-mangos.bat” R4535 does not work correctly.
I enter my MySQL install directory, then choose “4 Mangos Config Editor (you need to run this at least once).” Then it goes through the process of asking, what drop rate, exp rate, ect and just as a test I enter 99 into all of them. then i quit the program. run realmd.exe and mangos.exe, log into the game from another computer, kill something only to find the exp rate & drop rate still to be at 1X (50exp).
I also have tried changing the drop and exp rate inside mangos.config but that also did not fix the problem. I tried over righting the .sql files from the folder containing “reaper-x-mangos.bat” into the folder daemon>OriginalSQL>Mangos-4535. That however still has left with the the same exp and drop rate.
Obviously mangos.exe is getting it exp and drop rate values from another source, would you please be able to tell me from where that is, so I can fix it.
Thanks again
# BUG
are you using the 4535 revision ?
# ExoriaX
Not you can’t edit that file directly, you’ll need to use sql client to do it, if you’re using my latest mangos revision 4535, you can just use the reaper-x-mangos.bat to help you with this step :)
# InfernoX
You can configure DMZ and port forward from your router configuration page :)
also if you don’t have static ip, you can use free dynamic dns service
# Mike
that’s because you’re using the new 2.0 and 2.2.2 which is still not fully supported yet and thats why you get that message :)
as for editing the rate, i believe i’ve added that feature to edit your rate easily from the batch file provided in my 4535 release
# exo7
First you need to know that you’ve put the correct ip address in your realmd realmlist table, and also don’t forget to configure your router to forward port 8085 and 3724 or else they won’t be able to join your server
i have problem with wow pravite server stuck on irealm it said ” logging in server ” then back realm list “repeat” mean some program or something prevent can enter game ? does anyone know how to fix it ?
thanks :)