compile you own mangos server(with images) menu

User Tag List

Results 1 to 6 of 6
  1. #1
    vittwow's Avatar Banned
    Reputation
    9
    Join Date
    May 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    compile you own mangos server(with images)

    How to compile an mangos server



    1. Getting MaNGOS Source


    You will need a SVN client in this case we'll be using TortoiseSVN, which can be at Download | TortoiseSVN


    Once you installed it, make any folder anywhere and double click on it! Select "SVN Checkout" and copy paste the below link and click "OK". https://mangos.svn.sourceforge.net/s.../mangos/trunk/



    If MaNGOS compiles successfully it should look like this


    the sources will now be downloaded.





    2. Compiling MaNGOS in to Executables


    To compile MaNGOS on Windows you will need to download
    Microsoft Visual Studio 2008 Express Edition C++which can be here Downloads
    After downloading and installing and whatnot, the time comes to actually import the project file from the downloaded source folder and finally compiling!
    Click the folder icon to open solution and navigate to your Folder/win/ and select /mangosdVC90.sln and open it! Now in Visual Studio change "debug" to "release" if necessary and hit "Build Solution".





    If MaNGOS compiles successfully it should look like this




    Than everything is good, if otherwise make sure you did everything here and consult the FAE or ask on the forums.
    Now I assume you would need AI to your mobs/bosses/npc's, because it's very important to the game. ScriptDev2 is the answer! After MaNGOS successfully been compiled it's time to compile ScriptDev2.
    Make a new folder in Folder/src/bindings called "ScriptDev2", so it would look like Folder/src/bindings/ScriptDev2. Right click on it and select "SVN Checkout" same as before and copy paste the below link, after that hit "OK" so everything can be downloaded.
    https://scriptdev2.svn.sourceforge.n...oot/scriptdev2
    Open Visual Studio if not opened and open the ScriptDev2 solution file, which can be found in Folder/src/bindings/ScriptDev2/scriptVC90.sln.
    Wait for it to finish then proceed to the next step.



    3. Installing MaNGOS



    After successfully compiling MaNGOS it's time to get the spewed out executables and take it to the next level!
    The compiled binaries can be found in Folder/bin/release


    [img=http://img145.imageshack.us/img145/2857/v5yb2.th.jpg]


    Copy the .dll files and the .exe files to a new folder anywhere. Oh btw, you will be needing the .conf files too from Folder/src/mangosd(realmd)/mangosd.conf.in and realmd.conf.in, which you will have to rename to mangosd.conf and realmd.conf



    4. Extracting Maps and DBC (Vmaps not included)


    Maps
    The ad.exe can be found in the Folder/contrib/map_extractor/ad.exe, which you need to copy in the World of Warcraft folder. Create a folder called "maps" and hit the ad.exe. when you start it its be created an folder named DBC



    At this point you will have to wait until it finishes.when its finished.when its finished take the 2 folders maps and DBC to you mangos directory


    5. MySQL, SQLyog


    MySQL is needed to run a database for MaNGOS and SQLyog is needed to install the database

    mysql download link MySQL :: MySQL 5.1 Downloads

    sqlyog download link Download - SQLyog MySQL Frontend, MONyog MySQL Monitoring Tool scroll little down then you find it



    6. Creating and importing the databases


    There are mainly 2 databases; Unified Database, which is a SDB and MoDB merge and Project Silvermoon database, which is more leaned towards "funserver" style.
    We'll go with UDB this time. im offer UDB for download Mangos-FAE | Download MaNGOS, How to Install MaNGOS, Download MaNGOS Database: Downloads / Unified Database download the newest finished and unarchived it's ready to be imported in the newly created database.
    Open SQLyog and write in the username field "root" and to the password the password you gave in the MySQL configuration wizard. If it connects ok, than create 3 databases: mangos, realmd and characters and devscript2



    Right click on the mangos database and select "Restore from SQL dump" and navigate than select the database you just downloaded and hit execute.
    Do the same with realmd database only the .sql file is the "sql" folder within the source folder". Select realmd.sql and execute it. Next to it's the characters.sql and execute that in the characters database.
    NOTE: As of ScriptDev2 Revision 220, it should be created in a separate database, thus now there are 4 databases: mangos, realmd, characters and scriptdev2.
    Right click on the scriptdev2 database and navigate to src/bindings/sql/ directory. Find and execute scriptdev2_structure


    7. Updating the Database(s)


    Updating the database is very logical. You need to know what version was the full database you downloaded and executed supported. Let's say the newest full Database of UDB supports MaNGOS 4950 and ScriptDev2 213. You just compiled and updating the core with MaNGOS reivision 4960 and ScriptDev 215. The update brought along .sql updates to MaNGOS AND ScriptDev2. Check the SQL folder for newer databse strcture updates than the supported revision, which you checked. Execute them if more than one. NOTE: There aren't always updates.


    [img=http://img233.imageshack.us/img233/7544/60717493oh6.th.png]



    8. Configuring MaNGOS and Launching



    Go to your MaNGOS server root directory and open with notepad mangos.conf and realmd.conf.
    mangos.conf
    Set DataDir = "."
    Here you change mangos;mangos to root;yourpassword. Everything else should be as is change if it is necessary and you know what your doing. As of newer revisions you must change the "Bind IP" to whatever you want it.







    You do the exact same thing with realmd.conf.
    As of ScriptDev2 Revision 220 you will need to retrieve ScriptDev2.conf from the source directory and palce it in your server root folder. Change the values as shown above, it's the same thing! (NOTE: You must import the EventAI.sql in that database!)



    and please give me some +Rep for this guide
    Last edited by vittwow; 08-07-2008 at 07:58 AM.

    These ads disappear when you log in.

  2. #2
    Dythzer's Avatar Contributor
    Reputation
    271
    Join Date
    May 2008
    Posts
    461
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good guide +rep, but you can change step 4. Ad.exe is updated and will extract maps AND dbc files.

  3. #3
    vittwow's Avatar Banned
    Reputation
    9
    Join Date
    May 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks Dythzer but can you help me with something??


    im wants to able lua scripting in mangos and im dont know how to do it,can you help me with that?

  4. #4
    mrmoo's Avatar Banned
    Reputation
    14
    Join Date
    Aug 2007
    Posts
    45
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by vittwow View Post
    How to compile an mangos server



    1. Getting MaNGOS Source


    You will need a SVN client in this case we'll be using TortoiseSVN, which can be at Download | TortoiseSVN


    Once you installed it, make any folder anywhere and double click on it! Select "SVN Checkout" and copy paste the below link and click "OK". https://mangos.svn.sourceforge.net/s.../mangos/trunk/



    If MaNGOS compiles successfully it should look like this


    the sources will now be downloaded.





    2. Compiling MaNGOS in to Executables


    To compile MaNGOS on Windows you will need to download
    Microsoft Visual Studio 2008 Express Edition C++which can be here Downloads
    After downloading and installing and whatnot, the time comes to actually import the project file from the downloaded source folder and finally compiling!
    Click the folder icon to open solution and navigate to your Folder/win/ and select /mangosdVC90.sln and open it! Now in Visual Studio change "debug" to "release" if necessary and hit "Build Solution".





    If MaNGOS compiles successfully it should look like this




    Than everything is good, if otherwise make sure you did everything here and consult the FAE or ask on the forums.
    Now I assume you would need AI to your mobs/bosses/npc's, because it's very important to the game. ScriptDev2 is the answer! After MaNGOS successfully been compiled it's time to compile ScriptDev2.
    Make a new folder in Folder/src/bindings called "ScriptDev2", so it would look like Folder/src/bindings/ScriptDev2. Right click on it and select "SVN Checkout" same as before and copy paste the below link, after that hit "OK" so everything can be downloaded.
    https://scriptdev2.svn.sourceforge.n...oot/scriptdev2
    Open Visual Studio if not opened and open the ScriptDev2 solution file, which can be found in Folder/src/bindings/ScriptDev2/scriptVC90.sln.
    Wait for it to finish then proceed to the next step.



    3. Installing MaNGOS



    After successfully compiling MaNGOS it's time to get the spewed out executables and take it to the next level!
    The compiled binaries can be found in Folder/bin/release


    [img=http://img145.imageshack.us/img145/2857/v5yb2.th.jpg]


    Copy the .dll files and the .exe files to a new folder anywhere. Oh btw, you will be needing the .conf files too from Folder/src/mangosd(realmd)/mangosd.conf.in and realmd.conf.in, which you will have to rename to mangosd.conf and realmd.conf



    4. Extracting Maps and DBC (Vmaps not included)


    Maps
    The ad.exe can be found in the Folder/contrib/map_extractor/ad.exe, which you need to copy in the World of Warcraft folder. Create a folder called "maps" and hit the ad.exe. when you start it its be created an folder named DBC



    At this point you will have to wait until it finishes.when its finished.when its finished take the 2 folders maps and DBC to you mangos directory


    5. MySQL, SQLyog


    MySQL is needed to run a database for MaNGOS and SQLyog is needed to install the database

    mysql download link MySQL :: MySQL 5.1 Downloads

    sqlyog download link Download - SQLyog MySQL Frontend, MONyog MySQL Monitoring Tool scroll little down then you find it



    6. Creating and importing the databases


    There are mainly 2 databases; Unified Database, which is a SDB and MoDB merge and Project Silvermoon database, which is more leaned towards "funserver" style.
    We'll go with UDB this time. im offer UDB for download Mangos-FAE | Download MaNGOS, How to Install MaNGOS, Download MaNGOS Database: Downloads / Unified Database download the newest finished and unarchived it's ready to be imported in the newly created database.
    Open SQLyog and write in the username field "root" and to the password the password you gave in the MySQL configuration wizard. If it connects ok, than create 3 databases: mangos, realmd and characters and devscript2



    Right click on the mangos database and select "Restore from SQL dump" and navigate than select the database you just downloaded and hit execute.
    Do the same with realmd database only the .sql file is the "sql" folder within the source folder". Select realmd.sql and execute it. Next to it's the characters.sql and execute that in the characters database.
    NOTE: As of ScriptDev2 Revision 220, it should be created in a separate database, thus now there are 4 databases: mangos, realmd, characters and scriptdev2.
    Right click on the scriptdev2 database and navigate to src/bindings/sql/ directory. Find and execute scriptdev2_structure


    7. Updating the Database(s)


    Updating the database is very logical. You need to know what version was the full database you downloaded and executed supported. Let's say the newest full Database of UDB supports MaNGOS 4950 and ScriptDev2 213. You just compiled and updating the core with MaNGOS reivision 4960 and ScriptDev 215. The update brought along .sql updates to MaNGOS AND ScriptDev2. Check the SQL folder for newer databse strcture updates than the supported revision, which you checked. Execute them if more than one. NOTE: There aren't always updates.


    [img=http://img233.imageshack.us/img233/7544/60717493oh6.th.png]



    8. Configuring MaNGOS and Launching


    Go to your MaNGOS server root directory and open with notepad mangos.conf and realmd.conf.
    mangos.conf
    Set DataDir = "."
    Here you change mangos;mangos to root;yourpassword. Everything else should be as is change if it is necessary and you know what your doing. As of newer revisions you must change the "Bind IP" to whatever you want it.







    You do the exact same thing with realmd.conf.
    As of ScriptDev2 Revision 220 you will need to retrieve ScriptDev2.conf from the source directory and palce it in your server root folder. Change the values as shown above, it's the same thing! (NOTE: You must import the EventAI.sql in that database!)



    and please give me some +Rep for this guide
    DONT ASK FOR REP!!!!! (but you do deserve some just dont ask )

  5. #5
    greenarmyhawk's Avatar Member
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    78*910123456

  6. #6
    vittwow's Avatar Banned
    Reputation
    9
    Join Date
    May 2008
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol why not ask for rep.ok im have an question SO WHATS THAT SMILEY +Rep FOR??

Similar Threads

  1. [Guide] [Mangos] How to Compile Your Own Mangos server
    By wickedmage in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 06-03-2010, 03:57 PM
  2. Create you own private server Easy
    By tobiasahlmo in forum WoW EMU Guides & Tutorials
    Replies: 155
    Last Post: 07-24-2008, 08:56 PM
  3. [Guide]How to make you`r mangos server online with Wamp
    By daser in forum WoW EMU Guides & Tutorials
    Replies: 24
    Last Post: 07-07-2008, 04:55 PM
  4. Forrest's Idiot-proof Guide to Setting Up Your Own MangoS Server
    By Forrest in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 01-29-2008, 07:44 AM
  5. If you own a server (have DB acsess) and have TWO servers look here!!!
    By Chuck Norris in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-25-2008, 05:03 PM
All times are GMT -5. The time now is 03:41 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2023 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search