Mangos Zero for build 5875 6005
(1.12 Client)
Okay, so it's been a while since I put a new guide up, so we're going to go with the lovable mangos zero!
Credit goes to
The MangosDev team for a great job on the core so far.
TheLuda for a great Database
-----------------------------------------------------------------------------------
Step One
The Software
Some kind of SQL administrator tool. I myself like to use Navicat
Navicat Download
Or you can just torrent it, but you didn't hear that from me.
Alright, so if we need a SQL admin tool, there's a good chance that we'll need a SQL server I'm assuming? I prefer to use MySQL 5.5
MySQL :: Download MySQL Community Server
Okay, so choose the one that looks best to you and go ahead and download then configure, I prefer to install as a windows service, but all in all it's up to you, set it up the way you want to it's all pretty self explanitory; I personally would wait till Stage 3 When I say to configure your SQL server to configure it since you won't need it running int he beginning steps. 
Now we go onto Microsoft Visual Basic and Microsoft Visual C++, without Basic the server will not start after it's been configured and if you don't have C++, Well, just tell me how that works for you. Make sure that you use 2010, I've had errors with anything older and I see plenty of posts on errors.
Visual Basic Express
Visual C++ Express
I linked the free editions, if you decide that you would rather have the paid editions than that's on you.
TortoiseGit
TortoiseGit
If you need the 32 bit or the 64 bit version I couldn't really tell you, so if you're compiling I really hope that you already know the answer to that.
----------------------------------------------------------------------------------
Step Two
Retrieving the Core
Retrieving the files.
The first code we're going to retrieve is for the server core. Right click on your desktop and select "Git Clone" Inside of URL you will now type
Mangos Zero Core:
Code:
git://github.com/mangos/zero.git
Press okay and lets move onto the next code that we'll need, follow the same steps as above, just change the url repository of the Git Clone
Mangos DB:
Code:
git://github.com/TheLuda/mangos-zero-database.git
You know the drill. Same steps as the last one, but now it's for compiling the scripts. I'm still working on getting them to not lock up my computer and give me errors when I compile them, but if you think you can jump on over it then I sure won't tell you not to try. (I think the issue lies in 64 bit compiling)
Scriptdevzero:
Code:
git://github.com/scriptdev/scriptdevzero.git
----------------------------------------------------------------------------------
Step Three
Compiling the Core
Open your zero folder and then navigate into the win folder. Open Mangosdvc100 with Visual C++
Make sure that the top reads
Release "Your platform"
Go to Debug---->Build Solution and let it run it's course. This will take some time, so if at this point you have not set up your SQL server this would be a good time to do so.
At this point it will still be compiling after you've set up your SQL server, so go to
"zero/contrib/extractor" and copy ad.exe into your World of Warcraft folder and run it; it will begin to extract the DBC files as well as the maps files.
Now while it does that go to "zero\contrib\vmap_extract_assembler_bin"
Copy "makevmaps_SIMPLE.bat" into your World of Warcraft Directory and let it run alongside everything else. All of these together should take some time. (It takes me a little while with 16 gigs of RAM running, so if you're running a low amount of RAM you may want to just do them one at a time.)
Create a new folder; We're going to say it's on your desktop and is called "My Server".
**=32 or 64
Go to "zero\bin\Win**_Release" and copy the contents from there to "My Server" Feel free to only copy the .exe files and the .dll files that are in the release; now copy "maps" "dbc" and "vmaps" from your World of Warcraft folder and move them into "My Server"
**=mangosd or realmd
You also need to copy "mangosd.conf.dist" and "realmd.conf.dist" From "zero/src/**"
----------------------------------------------------------------------------------
Step Four
Setting up your database
Open Navicat and connect to your server with the settings you established earlier and create database
realmd
mangos
characters
scriptdevzero
Copy the contents from your database git folder into the proper query.
IE
zp_realm=Copy all contents into the realmd Query Section
zp_world=Copy all contents into the mangos Query Section
zp_characters=Copy all contents into the characters Query Section
zp_scripts=Copy all contents into the scriptdevzero Query Section
You will now go to schedule on the top right of the navicat menu and add all of the queries and tell it to start.
----------------------------------------------------------------------------------
Step Five
Configuring your Conf files and starting the server
You've just about finished, but have a few parts left that you need to finish up on.
Open mangosd.conf.dist and navigate to this section
Change the red color to your mysql root and the green to your mysql password
Code:
RealmID = 1
DataDir = "."
LogsDir = ""
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"
LoginDatabaseConnections = 1
WorldDatabaseConnections = 1
CharacterDatabaseConnections = 1
MaxPingTime = 30
WorldServerPort = 8085
BindIP = "0.0.0.0"
Save as "mangosd.conf" and close
Now open realmd.conf.dist and navigate to the bottom and change the colored portions the same way as before.
Code:
LoginDatabaseInfo = "127.0.0.1;3306;mangos;mangos;realmd"
LogsDir = ""
MaxPingTime = 30
RealmServerPort = 3724
BindIP = "0.0.0.0"
PidFile = ""
LogLevel = 0
LogTime = 0
LogFile = "Realmd.log"
LogTimestamp = 0
LogFileLevel = 0
LogColors = ""
UseProcessors = 0
ProcessPriority = 1
WaitAtStartupError = 0
RealmsStateUpdateDelay = 20
WrongPass.MaxCount = 0
WrongPass.BanTime = 600
WrongPass.BanType = 0
Save as "realmd.conf" and close.
Start your server either through the exe files or through command prompt.
Command prompt method:
Open a Command Prompt Terminal
Code:
cd desktop/My Server
Press enter
Press enter
Open another Command Prompt Terminal
Code:
cd desktop/My Server
Press enter
Press enter
I recommend starting your server this way because you can see any errors that may have happened without having to open your server error log. If you have any issues please feel free to ask for help, but if you followed this guide then there should be no problems.