Creating Mangos Server Mangos 

Re: [Mangos/Guide] How to make a server

Followed the tutorial to a T to the best of my knowledge but all im getting at server start in the Mangos.exe window is this:

Example:

Orgrimmar - Undercity moved to -4579.456898 702.456987 0.000000 1

Over and over again.

Any ideas?
That is supposed to happen, it is the taxis moving from location to location, when you hear the beep, that means that mangosd is ready.


Ok, now on to my problem, everything seems to be running fine, I don't get any errors but when I try to log in, it gets stuck at "Handshaking." I left it on handshaking for about 15 minutes and nothing happened, I don't know what to do :raincloud

EDIT: Never mind I fixed the problem. But now there aren't any tier vendors on Gm Island.... is it something wrong with me DB/DB files?
 
Last edited:
Re: [Mangos/Guide] How to make a server

That is supposed to happen, it is the taxis moving from location to location, when you hear the beep, that means that mangosd is ready.

Ok, now on to my problem, everything seems to be running fine, I don't get any errors but when I try to log in, it gets stuck at "Handshaking." I left it on handshaking for about 15 minutes and nothing happened, I don't know what to do :raincloud
either ur realmlist is wrong, the server is not online or you typed ur information wrong, or maybe u have a file missing OR ur somehow not registered
 
Re: [Mangos/Guide] How to make a server

son...of...a BIYACH!!!1 now mangos cannot connect to friggen mysql database at 127.blahblah
at mangos@localhost using passowrd yes. i setup using xampp and it wont let me into the admin window and i dont know what to do!
oh and it says cannot connect to world database

i changed the mangosd.conf with the modified version and now its the same exept the address is your@localhost using password no
so like wtffff
 
Last edited:
Re: [Mangos/Guide] How to make a server

ok first of all. the reason there isnt any vendors on gm island is because there arent any put in to the unified database. and for tansume....again to set a password for mysql you have to run the mysql configuration wizard and read.
 
Re: [Mangos/Guide] How to make a server

gee that would help alot, only if it would work.... yeah alright when I finish the wizard and it tries to start the service it says cannot start windows service for mysql error 0. i don't know if its cuz of xampp but it was like that before i installed xampp
i have a service called mysqld-nt running in task manager.
AND mangos "cannot connect to world database"
 
Re: [Mangos/Guide] How to make a server

I've followed the tutorial exactly how it was said to do it. And I get the following error message;

Code:
Incorrect DataDir value in mangosd.conf or ALL required *.dbc files <48> not found by path: ./dbc

Now from that I gathered that I probably did my mangosd.conf file wrong, however, I couldn't see anything wrong;

Code:
# Data directory setting.
# Important: DataDir needs to be quoted, as it is a string which may
# contain space characters.
DataDir = ""

Now hopefully someone can tell me what I'm doing wrong, because It's quite frustrating. Thanks.
 
Re: [Mangos/Guide] How to make a server

thank u for clarifiying that error but it still does not fix the other error 2003 i pmd u 2 times about it so PLZ help me with error 2003 cannot connect to localhost and i dont know how to open the port 3306 proporly! how did u do it zomg

I'm a noob to all of this so bare with me. I've gotten as far as this and I'm getting the same error. I checked the RealmMd.conf and Mangosd.conf files and changed it so that "mangos" is replaced with "root" in each of the fields. On the SQLyog screen I use "root" as both name and password, but I'm still getting the error saying that it can't find localhost or if i use the "127.0.0.1" i get the same thing except it says it cant find the 127. I'm fairly certain I've downloaded all the necessary files to this point. Any suggestions?

EDIT: I got past that issue, nevermindd. But now its saying like Ogrimmar moved to locations blah blah blah over and over again. I read that thats just the zeppys moving, so what do i do now to get this thing going?

EDIT 2: Got past that too. Now for one reason or another, when I try to choose my realm on the realmlist, it says "Connecting to Game Server" for a couple minutes then goes back to the realmlist again. So basically I can't get into my own realm. Any ideas?
 
Last edited:
Re: [Mangos/Guide] How to make a server

Hey dagamerc, it's me again with couple of questions.
Do you know how to make a Fun Server with t6 vendors and arena teleports?
If you do post here please.
Thanks
Oh yea and I maked a reg site :D
 
Last edited:
Re: [Mangos/Guide] How to make a server

glad to see that you got all that worked out scavex. and as far as the vendors and teleports i'm sure you have to do some manual database work but other than that i've never tried it.

and that realm error arksword is that you didn't set the ip properly in the realmlist database. find it in sqlyog and modify it. there is a picture in the guide about it.

and pwnstr your problem is the that you have incorrect dbc files for your mangos version. you can get the latest dbc files from this link. mangos files

sorry it took me a while to reply this time. i've been sick for a few days. =(
 
Re: [Mangos/Guide] How to make a server

need help getting sever on-line did what you guide. set up wamp but access is denied and i get an error at the page to create accounts "Error: Unable to connect to MySQL server. MySQL reported: Access denied for user 'root'@'localhost' (using password: YES)" i tried changing password and it did not work i also tried reinstalling software so i don't know what i am missing....plz help thanks
 
Re: [Mangos/Guide] How to make a server

This is my first guide so bear with me.
Ok here is a guide that I wrote to help people make a mangos wow server without using
a repack.

The purpose is that repacks can be hard to update and can be buggy.
if you use this guide you dont have to give credit or anything.
....although I will remove it if anyone leeches it.

NEW: NOW INCLUDES INSTRUCTIONS FOR VMAPS

Ok lets get started. First you'll need to download the following files

sqlyog - to manage your mysql. link -
the wow client - self explanatory. link - client
ad.exe - used to extract maps. link -
dbc extractor - extracts dbc files from client. link -
mangos core - obviously the main component. link - mangos cores
udb - the database. link -
note: you have to make an account to get.
mysql - needed for db - link
vmap extract - extracts vmaps from client - link
I'd host these files myself but I have dialup lolz.

first extract the mangos core just so we can put stuff in it as we go.

ok second we will extract the dbc files by copying the dbc extractor files (not folder) into
C:\Program Files\World of Warcraft\data\enUS
for more help with this read the readme in the dbc extractor folder.
when its done you should see a dbc folder and copy it into your mangos core folder.

next we need maps. server will not work without them. so first we add a folder in our wow client
called maps (so original) and copy ad.exe into the wow folder (not the maps folder). Run ad.exe
and it will extract all the maps. when its finished copy the maps folder and add it to the
mangos folder.

NEW: Now this is optional so if you want it feel free to do it.
How to install Vmaps. Download the vmap extractor in the download list at the top of this guide. Extract it and place all of its files into your wow client folder. Run makevmaps_SIMPLE.bat and it will start to extract them from your client. Note: this will take a very long time to do. When it is finally finished copy the new vmaps folder from the client to your mangos folder.

Now that we have the dbc files and maps we need the mysql database software installed.
when you install mysql almost any settings will work for it just make sure you remember your
password if you set one. i recomend making the name and pass both root.

Ok now to add the database to mysql. install sqlyog and run the program. It should ask you
to put in some details on first run. in the mysql host address box simply put in localhost or
127.0.0.1 both work the same. put in the name and password you set for mysql in the next
fields and click connect. nothing needs to go into the database field.

dagamerc13 - Creating Mangos Server - RaGEZONE Forums


next we need to load the udb database into it. right click on NAME@localhost and click create
database and name it realmd. After you've got that done right click on it and click on restore
from sql dump and open realmd.sql found inside your mangos file folder. now create another
database the same way only name it mangos and restore it from the database found in your udb
files. remember that file you downloaded from udbforums.org those ones.
Also you will need to do the same for the characters.sql found in your mangos folder and
name it characters.

Now to configure your mangos so that it will know how to read the databases, use the maps,
and run. So first open up your Mangos.conf file and find mangos.
Code:
DataDir = "@prefix@/share/mangos"
and instead of "@prefix@/share/mangos" make it just " " so that it is blank.

It should end up looking like this
Code:
# Data directory setting.
# Important: DataDir needs to be quoted, as it is a string which may
# contain space characters.
DataDir = ""
dagamerc13 - Creating Mangos Server - RaGEZONE Forums


This will enable it to find the maps and vmaps folder to use.

After that we now move on to configuring for the database. While still in mangos.conf find

Code:
LoginDatabaseInfo     = "127.0.0.1;3306;mangos;mangos;realmd"
WorldDatabaseInfo     = "127.0.0.1;3306;mangos;mangos;mangos"
CharacterDatabaseInfo = "127.0.0.1;3306;mangos;mangos;characters"
and change it to look like

Code:
LoginDatabaseInfo     = "127.0.0.1;3306;"your mysql name";"your mysql pass";realmd"
WorldDatabaseInfo     = "127.0.0.1;3306;"your mysql name";"your mysql pass";mangos"
CharacterDatabaseInfo = "127.0.0.1;3306;"your mysql name";"your mysql pass";characters"
dagamerc13 - Creating Mangos Server - RaGEZONE Forums


now save and exit mangos.conf and open up realmd.conf
All you need to do for this conf file is find

Code:
LoginDatabaseInfo = "127.0.0.1;3306;mangos;mangos;realmd"
and set it up how you did with the last 3 for mangos.conf
After you have that all set. Your done configuring everything and your ready to run it for
yourself. Read on to learn how to make your server public for use on the internet.

Ok now onto how to make it public. first you need to forward ports 8085 and 3724.
to learn how to port forward go to the website of your router and find out. ok now gets the
part many people often get confused with and that is configuring your database for public
use. Open up sqlyog again and go to your realmd database. Look at the picture for how to
modify it.

dagamerc13 - Creating Mangos Server - RaGEZONE Forums


when you see the data
modify mangos to your servers name
modify the address to your external ip (go to whatismyip.com to find your ip)
thats all you need to modify.
now you should be able to have people outside your router play on your server.
Note: make sure you click the save button above the server name or it wont work.
For LAN just make the ip your computers LAN ip.

Now if you want a website for account creation download this from


note: You may have to register to download it.

read the readme and open the correct files and the setup is pretty self explanatory.
I would recomend using Wamp for it. google it and you'll find it. all the setup for this
is all self explanatory. if you have any questions about setting it up dont hesitate to
pm me about it.

Well this is pretty much the end of my guide. post what you think of it.
I take no credit for the files cause I obviously didnt write any of them.
If you have any questions on anything in this guide please post here or pm me.
Please tell me if i missed something. Seeing as how I have ADD. lol

enjoy ;)
~dagamer

sorry but i have eu game what i need do do ? for it? the dcb extractor no work gfor enGB
 
Re: [Mangos/Guide] How to make a server

people help me please in realmlist I wrote my ip 89.232.14.160 and in my game realmlist too. when I run mangosd.exe it writes something strange and then there is a beep. here smb wrote that it means that server is online but when I enter the game it says unable to connect. but when I write in realmlist 192.168.1.55 my own ip than it stops on handsshaking and why?? how can I get rid of this? and how can I make my server work on 89.232.14.160? help me please I want a server very much :(
 
Last edited:
Re: [Mangos/Guide] How to make a server

need help getting sever on-line did what you guide. set up wamp but access is denied and i get an error at the page to create accounts "Error: Unable to connect to MySQL server. MySQL reported: Access denied for user 'root'@'localhost' (using password: YES)" i tried changing password and it did not work i also tried reinstalling software so i don't know what i am missing....plz help thanks

this is exatly the error i'm getting for everythihng. mangos says it and everything. only diffrence is it says using password NO. i set the password in xampp and in mangos.conf and in realmd.cong.

>>>>>i just cant setup mysql! <<<

when I try to set up mysql it cannot start windows service for mysql error 0

wow omfg this is shiznite
 
Re: [Mangos/Guide] How to make a server

That is supposed to happen, it is the taxis moving from location to location, when you hear the beep, that means that mangosd is ready.


Ok, now on to my problem, everything seems to be running fine, I don't get any errors but when I try to log in, it gets stuck at "Handshaking." I left it on handshaking for about 15 minutes and nothing happened, I don't know what to do :raincloud

EDIT: Never mind I fixed the problem. But now there aren't any tier vendors on Gm Island.... is it something wrong with me DB/DB files?

how were youn able to get rid of that handshaking???
 
Back