 |
-
Contributor
Join Date: Mar 2007
Location: /b/
Posts: 1,329
Rep: 172
Cash: 100
How to setup the REAL MaNGOS ;)
EDIT: Guide outdated, check back later to see if its updated
I see so many people complaining about mangos stuff..
Well, that is because 99% are repacks, which suck ass!
This guide explains how to get real MaNGOS, set it up, maintain your server, and update it!
*Partial credits to Board Message
STEP 1: Downloading the source
Required items: Download | TortoiseSVN
When that is installed, go into your desktop and create a folder called "MaNGOS-Source" or something.
Right click on your folder and select "SVN Checkout"
.On the top line where it says "URL of Repository" put in the url "https://mangos.svn.sourceforge.net/svnroot/mangos/trunk/".
.Do not change any other options, then press ok. This will download the source code.
STEP 2: Adding ScriptDev2 to make mangos awesome
Open your new folder, and go into the folder "src". Then open "bindings".
Now create a new folder named "scriptdev2"
Now right click and do the same, but at url of repository, type "https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2"
Now you have everything needed, and are ready to compile!
STEP 3: Compiling
Required items:Install the SDK and a visual studio thing.
Then, open your mangos-source folder and then 'win' folder. Use one of the MangosVC__.sln's
Now go to Tools > Options (once you opened the project). In the dialog that pops up click the plus sign next to Projects and Solutions and then click VC++ Directories. The drop down menu should say Executable Files. Click the button that looks like a folder and type
Code:
C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Bin
Then click the drop down menu and select Include Files. Click the folder button again and type in
Code:
C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Include
Then click the drop down menu again and select Library Files. Click the folder button and type in
Code:
C:Program FilesMicrosoft Platform SDK for Windows Server 2003 R2Lib
Now that hard part is done  - Now select Build->Build Solution from the menu. (Note: If you had an error or are having problems with the build you can select Build->Clean Solution to "reset" the compilation.)
- Your MaNGOS application will now begin compiling.
- This may take quite some time depending on the speed of your processor.
- You WILL get various warning messages. This is expected and should not alarm you.
- When the process is complete you should see a message like "Build: 9 succeeded, 0 failed, 0 up-to-date, 0 skipped". The key is to make sure that failed = 0. (If you are doing an update of an existing build you may get a message like "Build: 3 succeeded, 0 failed, 6 up-to-date, 0 skipped". Again, no failures so you are in good shape.)
- Occasionally you will get this error: "error LNK1181: cannot open input file 'mangosd.lib'". In order to fix this iussue you can do these steps (once):
- Right-click on "Solution 'mangosdVC80' (9 projects)" in solution explorer.
- Select "Project Build Order..."
- Click on the "Dependencies" tab.
- In the "Projects:" drop down list, select "script" and check "mangosd" and hit OK.
Build Solution.
Now go into your src/bindings/scriptdev2 and compile same way as this (except without the tools>options part)
STEP 4: Setting up stuff!
Now you got the hard part done, here is the boring-est part!
Go in your mangos-source folder and then go into map-extractor folder.
If there is already an ad.exe in there, place in your WoW folder, then create a maps folder and start ad.exe, then come back in 20 mins. Then place the maps folder in your mangos source folder/bin/release
Now you are ready to extract your DBCs.
If you don't have mpqe, get it here: Filebeam - Free Fast File Hosting
Place it on your desktop and then go to run, then type cmd.
In the black box type "cd C:\\Users\\(YOURNAME)\\Desktop"
Then type "set PATH=%cd%"
Now type "cd "C:\\Program Files\\World of Warcraft\\data\\enUS(or enGB, depending on location)"
Now type "mpqe /p locale-enUS.MPQ DBFilesClient\*.dbc", or "mpqe /p locale-enGB.MPQ DBFilesClient\*.dbc" depending on loaction
It will extract into "C:\\Program Files\\World of Warcraft\\data\\enUS(or enGB)\\MPQOUT\\DBFilesClient"
Rename DBFilesClient to DBC and place in your mangos source folder/bin/release
SETTING UP DATABASE:
My fingers hurt so register on UDB community forums (Powered by Invision Power Board) and find their database, install it, and follow their setup guide (sorry for laziness )
Also if their database doesn't match your rev #, run sql updates in your mangos source/sql/updates
Links to DB release section
UDB community forums -> Releases & Announcements
https://unifieddb.svn.sourceforge.net/svnroot/unifieddb
SETTING UP CONFIGS:
Go into mangos source/src/mangosd/ and copy mangosd.conf.in to your bin/Win32_Release folder. Then go into src/realmd/ and copy realmd.conf.in to your bin/Win32_Release folder.
Rename the .conf.in's to .conf
Read the comments in (#'s) and set them up (laziness..)
STEP 5: running teh server
Start realmd.exe and mangosd.exe
Go into WoW folder and set your realmlist to 127.0.0.1
Log on
STEP 6: Updating
Right click on mangos-source folder and click SVN Update, then re compile. Then right click on mangos-source/src/bindings/scriptdev2/ and recompile AFTER MaNGOS!
STEP 7: Maintaining (Still in progress!)
I'll write how to maintain the server (full version) later, but this is a crappy version
APPLY PATCHES:
Found a good patch you want to add to improve your server?
D/L the patch, right click on your folder, then hover to TortoiseSVN
Scroll down to "Apply Patch"
Click on your patch and then a popup appears.
After that just apply it!
MOD CORE: (WIP)
Learn C++ (cplusplus.com\doc\tutorial)
Modify
HOPE YOU ENJOYED IT
Last edited by Le Froid; 11-09-2008 at 03:22 PM.
-
Contributor
Join Date: Feb 2007
Location: int main()
Posts: 632
Rep: 261
Cash: 310
Nice guide man been needing this.
-
Contributor
Join Date: Mar 2007
Location: /b/
Posts: 1,329
Rep: 172
Cash: 100
Thanks Insane 
Woohoo 123 rep 
And how did this get 41 views 1 reply o.0
-
Contributor
Join Date: Jun 2007
Location: Germany
Posts: 1,410
Rep: 265
Cash: 580
Hey m8 
Great guide +rep 2x
-
Contributor
Join Date: Apr 2007
Location: A moving portopotty
Posts: 1,441
Rep: 131
Cash: 600
all the others did what mangos was made for, learning, how I miss mangos, I use ascent now allwell, and you forgot to include to buy some mangos lol
-
New User
Join Date: Feb 2008
Posts: 25
Rep: 2
Cash: 600
 Originally Posted by Le Froid
Now you are ready to extract your DBCs.
Atm at this point ,it doesn't seem very much left now,and hope this guide will work,
tryed much guides,have putted 2h work in this one and hope it will be ok
-
New User
Join Date: Feb 2008
Posts: 2
Rep: 1
Cash: 600
im stuck on the maps part...i added the ad file into my maps folder in WoW..i try clicking on it but it flashes and disappears reply with answer thnks
-
New User
Join Date: Feb 2008
Posts: 1
Rep: 1
Cash: 600
-
New User
Join Date: Feb 2008
Posts: 2
Rep: 1
Cash: 600
thx man i was wondering y it wasnt workin got a bit confused XD
-
New User
Join Date: Mar 2008
Posts: 3
Rep: 1
Cash: 600
im doing it atm im on maps do you put both ad files in or just one?..because there is 2 on mine
-
New User
Join Date: Mar 2008
Posts: 3
Rep: 1
Cash: 600
it says cant create output file?? why
-
Contributor
Join Date: Mar 2007
Location: Outland.
Posts: 470
Rep: 260
Cash: 600
Great guide 
I wish you'd continue it 
+rep anyway..
-
Banned
Join Date: Oct 2007
Posts: 43
Rep: 15
Cash: 600
-
New User
Join Date: Oct 2007
Posts: 10
Rep: 1
Cash: 600
I loved this guide. Oh and I don't know much about it but you can apply patch files you get off the board to the uncompiled source. This can allow you to do more stuff with your server. Most of the stuff is geared to more blizzlike stuff though.
Just remember
Don't ask for help about a repack. They won't help you.
Also, do not I repeat do not mention you're running a public server the moderators don't like that because its considered illegal.
Oh yeah everytime you apply a patch you have to recompile it.
Last edited by asahi; 04-07-2008 at 05:20 AM.
Reason: Patch compiling message
-
New User
Join Date: Mar 2008
Posts: 2
Rep: 1
Cash: 600
Thanks for the guide it was very nice . But how do I add custom items and give myself special abilities, make others gm make custom vendors, drops, quests, goldrate , islands, droprate etc?
Last edited by aria92; 04-07-2008 at 11:15 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
 |
Bookmarks