KingPin's Forum
 
K.P.s.N. Register vbBux / KPs Mall Bugs Blogs FAQ Search Today's Posts Mark Forums Read Donate
Go Back   KingPin's Forum > KP's Network Forum > Tutorials & Stuff!
Reload this Page Mangos Windows Server Setup Guide
 


Tutorials & Stuff! This is a discussion on Mangos Windows Server Setup Guide in the Tutorials & Stuff!;
Description: Some of the software you may need : World Of Warcraft updated to latest mangos revision (check the link in ...

Reply
 
LinkBack (5) Thread Tools
Mangos Windows Server Setup Guide
5 links from elsewhere to this Post. Click to view. (#1 (permalink))
Old
KingPin's Avatar
KingPin is Offline
Da Boss!
KingPin has disabled reputation
 

My Mood:
 
Posts: 7,034
Thanks: 20
Thanked 17 Times in 15 Posts
Blog Entries: 22
Join Date: Apr 2004
Location: Brooklyn, NY
Mangos Windows Server Setup Guide - February 29th, 2008

Some of the software you may need :
  • World Of Warcraft updated to latest mangos revision (check the link in next line for latest supported version)
  • Mangos, you can get all different versions HERE
  • The "ad.exe" map extractor tool HERE
  • The *.dbc extraction tool mpqe.exe (REQUIRES .NET FRAMEWORK)
  • You need latest recommended MySQL release.
  • you also need a MySQL editor of some sort, SQLyog is a very good free one.
  • Some compilations didnt include msvcr71.dll or msvcr71d.dll you can get those HERE
Installing MySql :
  1. Launch the MySQL installation application.
  2. When prompted, select "Typical" for setup type.
  3. When prompted, select "Skip Sign-Up".
  4. When install is complete you will be given the option to "Configure the MySQL Server Now". Make sure this is checked, then press finish.
  5. When prompted, select "Standard Configuration"
  6. When prompted, place a check in "Install as Windows Service" and "Launch the MySQL Server Automatically". Service name should be "MySQL"
  7. When prompted select "Modify Security Settings". In the two empty dialog boxes, type in the password you wish to use for the MySQL root (aka Administrator) account. This is the most important account on MySQL and has full access to all databases and functionality. It's recommended you use a very strong password to prevent access to your MySQL server instance. (If you plan on administering your MySQL instance from a remote machine, then select "Enable root access from remote machines". If you don't know if you need this, then do not select it.)
  8. Select execute to apply all of your configuration settings.
Installing SQLyog :
  • Launch SQLyog installation application.
  • Accept license agreement when prompted.
  • Install in default location when prompted. (You can install in an alternate directory if you prefer.)
  • When installation is complete, place a check in the box for "Run SQLyog 5.31".
  • When SQLyog launches you will be prompted to fill in the following.
    • MySQL host address: Usually this will be "localhost" or the IP address of the server where your MySQL database is running.
    • UserName: "root"
    • Password: this is the password you selected in your MySQL installation for the root account (step #7 above).
    • Database(s): "realmd;mangos"
    • Leave other options to defaults.
  • Press Connect. This will connect you to your MySQL instance.
  • Once the interface opens, right-click on root@localhost in the left pane, and select "Create Database".
  • When prompted for a database name type "mangos".
  • Repeat steps 7 and 8 and type "realmd" for the second database.
  • Repeat steps 7 and 8 and type "characters" for the second database.
Installing Mangos Binaries :
  • Create a directory for your MaNGOS installation. For example: "C:\MaNGOS"
  • Extract all files from your downloaded binary to this MaNGOS directory.
    • If you created your own binary copy all of the *.exe and *.dll files from your \bin\release directory into the MaNGOS directory.
    • Make sure that the files mangosd.conf and realmd.conf are placed in this same directory. (Some binary compilations will have these files in an "extras" or "etc" folder.)
    • If you've compiled your own binaries then you may need to copy the mangosd.conf.in and realmd.conf.in files from your "\src\mangosd" and "\src\realmd" directories. Rename them both by removing the ".in" portion of the file name.
    • If you've downloaded your binary files, make sure it included two .dll files "libeay32.dll", and "libmySQL.dll" and that these are placed in your MaNGOS directory. If these were not included in the binary d/l check with the provider to see if they have these files in a seperate archive. If you compiled your own release, you will have these files in your release directory
Extracting the Map + dbc files :
These may need to be re extracted every client version change.
  • Place ad.exe into the client's root directory. ("C:\Program Files\World of Warcraft")
  • Create a subdirectory called 'maps'. ("C:\Program Files\World of Warcraft\maps") and one for dbc ("C:\Program Files\World of Warcraft\dbc")
  • Launch ad.exe. This will begin the extraction of map files. (This can take a long time depending on your system.) Go get some coffee or bawls or something to keep you awake.
  • When ad.exe has finished,... HEY YOU WAKE UP... ITS DONE... now.. copy the folders "C:\Program Files\World of Warcraft\maps" & "C:\Program Files\World of Warcraft\dbc" and place it in your ManGOS server directory ("C:\MaNGOS"). So you should now have a "C:\MaNGOS\maps" & "C:\MaNGOS\dbc" directory containing numerous (2400+) .map files and lots of .dbc files.
  • You may now safely delete the directory "C:\Program Files\World of Warcraft\maps".
Extracting Vmaps (optional and very resource intensive) :
  • Get the vmap extractor from HERE
  • Extract the above file somewhere maybe in your mangos folder
  • Double Click makevmaps_SIMPLE.bat. Depending on your system, this step may take quite some time so make sure there is still some coffee left or go get more.
    • Alternately you could run "make vmaps.bat" instead, but additional prompts will come up in the process.
    • As this process is improved upon, you may need to rebuild these files more than once. Pay attention to future release notes.
  • Move the vmaps directory into the root of the MaNGOS directory ("C:\MaNGOS\vmaps")
Inserting the Databses
Realmd
(login accounts and realmlist) :
  • Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
  • In the left pane, right-click on realmd and select "Restore from SQL Dump". (Note: some older versions may read "Import Batch File".)
  • Browse to the "realmd.sql" file in your server directory. ("C:\MaNGOS\sql")
    • If your database came with a realmd.sql use that one
  • Execute. This should only take a moment and you will get a message that it's complete.
  • Close Dialog.
Mangos (items & NPCs etc):

You can get one of the two biggest DB's :
  • The UDB official releases HERE
  • Project Silvermoon Databases HERE
Which ever you get is upto you.
  • Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
  • In the left pane, right-click on mangos and select "Restore from SQL Dump". (Note: some older versions may read "Import Batch File".)
  • Browse to the database file that you wish to load to create your database. (This will either be the basic mangos.sql from the binary downloads or a large full database from Silver's forum or another source.)
  • Execute. This will take quite some time depending on your system. At points it may seem like it's hung. LET IT RUN!
  • If you need to install any changesets/updates for you database, now is the time. Install them in order. Check with your DB site for more info.
Characters (info about characters, their inventory &spells & guilds & groups etc):
  • Your DB may come with a copy of the charcaters.sql or you may obtain one from the compile you downloaded.
  • Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
  • In the left pane, right-click on characters and select "Restore from SQL Dump". (Note: some older versions may read "Import Batch File".)
  • Browse to the database file that you wish to load to create your database. (This will either be the basic mangos.sql from the binary downloads or a large full database from UDB or Silvemoon.)
Configuring Realmlist DB :
  • Connect to your MySQL server. (Follow steps 5 & 6 from Sqlyog install guide)
  • Open the realmd branch in the left pane and select "realmlist".
  • At the bottom of SQLyog click on the "Table Data" tab.
  • Change the "name" field to your preferred realm name.
  • Goto KPs Network IP displayer - Display an IP...maybe your IP!!! and copy your IP shown. Change the ip in address column of realmlist table to the ip you just copied. this is the IP your players must connect to.
    • Remember you must also open port 3724 and 8085 on your router. check HERE for guides with list of all well known routers.
  • Select the "Save Changes" button.
Configure Realmd.conf :
  • Open realmd.conf in notepad. It should be in your root server directory ("C:\MaNGOS).
  • Find "LoginDatabaseInfo =" Change it to "LoginDatabaseInfo = "127.0.0.1;3306;root;password;realmd".
  • Save and close file.
  • NOTE: password must be the same password used when you installed SQLyog earlier in this tutorial, and used again in the next part below..
Configure Mangosd.conf :
  • Open mangosd.conf in notepad. It should be in your root server directory ("C:\MaNGOS).
  • Find these lines and set as shown:
    • DataDir = "."
    • WorldDatabaseInfo = "127.0.0.1;3306;root;password;mangos"
    • LoginDatabaseInfo = "127.0.0.1;3306;root;password;characters"
    • LoginDatabaseInfo = "127.0.0.1;3306;root;password;realmd"
  • Edit whatever else comes to mind but I would suggest testing things out first before editing too much.
Client Config :
Open your realmlist.wtf file found in main WOW folder and edit it to say
  • set realmlist your.external.IP
  • save and close
  • Start your client and off you go
Enjoy the guide and let me know if anything needs to be edited or fixed .


Last edited by Digitex; July 26th, 2008 at 07:58..
 
Reply With Quote
Reply

Bookmarks

Tags
faq, guide, howto, mangos, mangosd, mangosd.conf, mysql, realmd, realmd.conf, server, setup, sqlyog, tutorial, windows

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Rupees Per Thread View: 1.00
Rupees Per Thread: 15.00
Rupees Per Post: 5.00
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.kpsforum.com/tutorials-stuff/17368-mangos-windows-server-setup-guide.html
Posted By For Type Date
stefan stoichev - Bookmarks This thread Refback May 26th, 2008 06:35
countnazgul.com » Blog Archive » Diigo bookmarks 05/25/2008 (p.m.) This thread Pingback May 25th, 2008 19:37
Realmd.sql Error When I Try To Restore From Sql Dump Like Guide Says - MaNGOS community forums This thread Refback May 8th, 2008 21:57
Permanent Link to WoW Site Sold For $1 Million — World of Warcraft and Wii Portal This thread Pingback May 8th, 2008 10:26
mpqe exe - fragginclans.net This thread Refback March 23rd, 2008 06:29



These are the 100 most searched terms
Search Cloud
_backup.rc antrix wow antrix wow server autocad 2007 keygen best google gadgets best wow character bt map devil may cry 4 crack enchanting leveling erika bella fuckteam fuckteam 5 georgina lempin gigistar gigistar topless kpsden kpsforum leatherworking guide leveling enchanting mangos custom vendors mangos item id mangos linux mangos server mangos spell id mangos wotlk mature creampie milena velba no rest for the ass object id wow phoenix marie this is sparta vipersdenforums voyage century bot windows activation workaround windows xp lite wotlk alpha private server wotlk private server wotlk server wotlk wiki wow leatherworking guide wow mount locations wow object id wow object id list wow object id's wow object ids wow objects id www.adobeflashplayer www.adobeflashplayer.com www.kpsforum.com xbox 360 mmorpg ... powered by Simple Search Cloud
Powered by vBulletin® Version 3.8.0 Beta 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright 2004-2009 KPsN


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82