PDA

View Full Version : ManGOS 3.5.5



rikal
29-08-10, 02:44 PM
Will post guide in 2 hours

rikal
29-08-10, 03:21 PM
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 - sqlyog
the wow client - self explanatory. link - client
ad.exe - used to extract maps. link - ad.rar
dbc extractor - extracts dbc files from client. link - dbc_extract
mangos core - obviously the main component. link - Filebeam - Free Fast File Hosting

For an easier option for the mangos core, including the database and configuration files, Amber has a great compiles.
linke - [Release] - MaNGOS ~Amber~ Releases 3.x.x - RaGEZONE - MMORPG server development forums (http://forum.ragezone.com/f436/mango...-3-x-x-549955/)

udb - the database. link - udb database
note: you have to make an account to get.
mysql - needed for db - link mysql
vmap extract - extracts vmaps from client - link vmap_extract
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.

Webs - Free website, free hosting, free webpage - Make a web site with photo albums, blogs, videos, forums and more! (http://www.freewebs.com/dagamerc13/m...de/sqlyog1.jpg)

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 this line.
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 = ""
Webs - Free website, free hosting, free webpage - Make a web site with photo albums, blogs, videos, forums and more! (http://www.freewebs.com/dagamerc13/m...angosconf1.jpg)

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"
Webs - Free website, free hosting, free webpage - Make a web site with photo albums, blogs, videos, forums and more! (http://www.freewebs.com/dagamerc13/m...angosconf2.jpg)

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.

Webs - Free website, free hosting, free webpage - Make a web site with photo albums, blogs, videos, forums and more! (http://www.freewebs.com/dagamerc13/m...e/modrealm.jpg)

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

Spora The Burning Crusade Edition - MaNGOS community forums
note: You may have to register to download it.

read the readme and open the correct files and the setup is pretty self explanatory.

*note* if you want to use ScriptDev2 go to their website and read how to set it up. http://forums.scriptdev2.com

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
also for even more support you can find this guide and more at my site. thepcrealm.com

Avidgamer
29-08-10, 06:13 PM
Looks good, for you need to actually ADD the links. Most just say "link - name" with no actual ref.

Biohazzard
05-09-10, 11:54 AM
nice work

Bing
05-09-10, 01:12 PM
Wrong section, moved.