Search the Community
Showing results for tags 'files'.
Found 4 results
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.
Hello, I am trying to set up a MaNGOS Zero server. I am attempting to install MaNGOS Zero on a dedicated server box in my house (only used for hosting game servers). The machine is running Windows 7 Professional Service Pack 1 and is a fresh install as of June 2015. It is running dual Intel Xeon X5570 (4 cores 8 threads x 2 (8C 16T)) and 6GB of Kingston Hyper-X DDR3 1600 CAS 9. I remote into the server using windows Remote Desktop Protocol (RDP) from another machine using the same operating system. ----------------- Installed items: MySQL: mysql-5.5.46-winx64.msi SQLyog: SQLyog-12.0.9-0.x64Community.exe Git Bash: Git-2.6.3-64-bit.exe Cmake: cmake-3.3.0-win32-x86.exe OpenSSL: Win64OpenSSL-1_0_2d.exe Visual Studio 2013 redist x64: vcredist_x64.exe (installed first, didn't work with ExtractResources.sh) Visual Studio 2013 redist x86: vcredist_x86.exe (worked) Microsoft Visual Studio 2012 Express ----------------- I had a few problems I fixed during setup that I will detail below just in case someone else has the same problems: My MySQL install kept breaking and causing me to reinstall the application every restart. This was a simple problem caused by my desire to clean up the database. I was deleting the default data entries "performance_schema", "mysql" and "test". Deleting these files broke my install I stopped doing that after breaking it 2-3 times. "test" can be deleted without issue as far as I can tell. Those did not exist in a database from an older server I have running on my laptop so I thought I could delete them. Lesson learned. I could not get the ExtractResources.sh to work saying something about the other files erroring. I tried to run each sub file that it called. It would error out with somethingsomething 120.dll. After searching this DLL I discovered it was part of Visual Studio 2013 redist. However, I had already installed that and wondered why it wasn't working. I installed the 64bit version at first and then tried the 32bit version. The 32bit version worked. For whatever reason, after getting the ExtractResources.sh to run, it would blast through everything instantly stating it was finished. It created the correct folders, but they were empty. I don't remember how I fixed this, but I got it to run reliably and it spent many minutes extracting the files. It created about 2GB of output data. After all that, I was ready to run the server after compiling the server (more on this later). I ran realmd.exe and it gave me an error "libmysql.dll" missing or something. I was sure that mysql is installed and I can see the database in SQLyog. Googling came up with the answer of just copying that dll from my MySQL install folder to my windows folder would fix it. I copied it and it seemed to have worked. ----------------- Now, on to my current problem. Whenever I try to run mangosd.exe or realmd.exe, it will close instantly and I don't see an error log anywhere. Without an error log, I cant even begin to figure out the problem. I tried the files server files from MangosZero_PlayerBot_Develop21_Release_x32_August2015 and my own compiled server files from the repository (I even compiled twice into two different folders). All three attempts give the same issue of insta-crash with no logs.I would rather not have to re-install everything and start from scratch on x86. I used MaNGOS_EasyBuild.exe v1.5 I build it using "Rebuild Solution" in Visual Studio Express 2012. Here are images of what I see and what I selected before building: [ATTACH=CONFIG]268[/ATTACH] [ATTACH=CONFIG]269[/ATTACH] I copy the files from the bin/debug folder to my server install folder. I find it weird that it is in the "debug" mode when I selected "release" in EasyBuild with no "release" folder (not even an empty one). That is where I am at so far. If you have any more questions or answers for me, please let me know!
Hello, I followed the guide to create a mangosone private server today and I run into a problem when I try to extract the dbc and maps from my wow-client. First: The guide tells me to use an "ad.exe" tool, this tool was not included anywhere in the files that I downloaded from the git repository. Second: Since this tool wasn't there I just copy/pasted all the files that I found in "/server/src/tools/extractor_binaires" into my wow client folder and tried to run "ExtractResources.sh". I get to answer a few questions and then the tool gets to work. It finishes in a matter of seconds and the resulting "mmaps" and "vmaps" folders are emtpy. I've attached to log file that the tool spits out, I have no idea why it does not work. [ATTACH]265[/ATTACH] MaNGOSExtractor.txt