Search the Community
Showing results for tags 'run'.
Found 1 result
THIS GUIDE IS OUTDATED, PLEASE USE OUR WIKI GUIDES This guide is for Release 21 (0.21.0) version of Mangos. This guide is aimed to explain how to get the source code from our git repositories and compile and run with a default config. This guide assumes you have set-up a database and user accounts for it. Before you can run your server you will need to of course run an extractor and put the DBC, vmaps and mmaps(if you have mmaps) in the folder with all the server core files. Required Files Git for windows - Git - Downloads Install making sure the following options are selected Windows explorer intergration - Simple context menu (Git bash, Git GUI) Microsoft Visual Studio Community 2015 - Free Dev Tools - Visual Studio Community 2015 Install with default options selecting C++ when it asks you what programming language you are using Notepad++ - http://notepad-plus-plus.org Useful for editing .conf files and any other editable files. Additional required files are downloaded while cloning the repo Getting the source code Mangos Zero will be used for this guide. Browse to where you would like to clone the files Right click inside a blank area in the folder and select "Git Bash Here" In the black command box type git clone --recursive https://github.com/mangoszero/server This will clone the latest Sever source into a folder called server - Including the --recursive is very important! Installing the additional requirements Go into the new Server / win folder It should have these files listed Install: Cmake, mysql and openSSL (which version depends on if you are running x32 or x64 [x32 being more stable]). Default options are fine in most cases. MaNGOS EasyBuild Run MaNGOS_EasyBuild.exe located in server/win Easy Build main screen Click the "check now" button You should see green ticks and if you have everything done correctly you should be able to go to the build options page. Once on the build options page tick the "Include PlayerBot AI", if you are certain you are not going to use this feature then leave unticked. Clicking generate project will run cmake but inside of the EasyBuild application, you will see the output. Visual studio should be started when it is finished generating. Output showing EasyBuild with the option to automatically open visual studio unticked If you wish to compile at a later time the built files will be under /server_build/ you just need to double click on MaNGOS.sln Compiling the source code Visual studio Once the project has loaded go to the drop down just below the team menu and select Release and Win32 Press F7 or go to the Build menu and select Build Solution The Mangos server is now compiling and time to go get a coffee, this process should take around 5-30 minutes depending on your system. Older single core systems will take longer. That's it! now head into the /server_build/bin / Win32_Release folder and your server files will be there.