Search the Community
Showing results for tags 'default'.
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 built server and database today off of develop21 branch onto a Ubuntu VirtualBox. MaNGOS is AMAZING!! I ran into database sql issue. Git command: git clone https://github.com/mangoszero/server -b develop21 --recursive git clone https://github.com/mangoszero/database -b develop21 --recursive 1. World database insert fails because it complains that 'db_scripts' and 'warden' tables do not exist. I couldn't find in source anywhere where these two tables attempt to get created. I was able to work around this by generating the tables myself, although I am unsure if my datatypes match yours: DROP TABLE IF EXISTS db_scripts; CREATE TABLE db_scripts ( script_guid int(11) NOT NULL, script_type int(11) DEFAULT NULL, id int(11) DEFAULT NULL, delay int(11) DEFAULT NULL, command int(11) DEFAULT NULL, datalong int(11) DEFAULT NULL, datalong2 int(11) DEFAULT NULL, buddy_entry int(11) DEFAULT NULL, search_radius int(11) DEFAULT NULL, data_flags int(11) DEFAULT NULL, dataint int(11) DEFAULT NULL, dataint2 int(11) DEFAULT NULL, dataint3 int(11) DEFAULT NULL, dataint4 int(11) DEFAULT NULL, x double DEFAULT NULL, y double DEFAULT NULL, z double DEFAULT NULL, o double DEFAULT NULL, comments varchar(255) DEFAULT NULL, PRIMARY KEY (script_guid) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS warden; CREATE TABLE warden ( id int(11) NOT NULL, groupid int(11) DEFAULT NULL, build int(11) DEFAULT NULL, type int(11) DEFAULT NULL, data varchar(255) DEFAULT NULL, str varchar(255) DEFAULT NULL, address int(11) DEFAULT NULL, length int(11) DEFAULT NULL, result varchar(255) DEFAULT NULL, comment varchar(255) DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[ 47%] Building CXX object src/tools/map-extractor/CMakeFiles/map-extractor.dir/dbcfile.cpp.o In file included from /home/mangos/server/src/tools/map-extractor/dbcfile.cpp:26:0: /home/mangos/server/src/tools/map-extractor/loadlib/loadlib.h:33:45: fatal error: ..\..\dep\StormLib\src\StormLib.h: No such file or directory #include "..\..\dep\StormLib\src\StormLib.h" ^ compilation terminated. make: *** [src/tools/map-extractor/CMakeFiles/map-extractor.dir/dbcfile.cpp.o] Error 1 make: *** [src/tools/map-extractor/CMakeFiles/map-extractor.dir/all] Error 2 make: *** [all] Error 2 Fresh install on Ubuntu 14.04 during make using all default settings.
hi all, i download MangosTwo_Develop21_Release_x32_August2015.zip recently and . i execute ./Database/InstallDatabases.bat .it's all done successfully. but error occured when i start realmd.exe . it says **SQL: SELECT version, structure, content, description FROM db_version ORDER BY version DESC, structure DESC, content DESC LIMIT 1 query ERROR: Table 'realmd2.db_version' doesn't exist The table `db_version` in your [Realmd] database is missing or corrupt.** then i execute ./Database/mangos_full_db.sql into realmd schema now the error messege is **SQL: SELECT version, structure, content, description FROM db_version ORDER BY version DESC, structure DESC, content DESC LIMIT 1 query ERROR: Unknown column 'structure' in 'field list' The table `db_version` in your [Realmd] database is missing or corrupt.** i found this sql is diff from de db_version create sql in columns. and this is the creation sql **CREATE TABLE `db_version` ( `version` varchar(120) DEFAULT NULL, `creature_ai_version` varchar(120) DEFAULT NULL, `cache_id` int(10) DEFAULT '0', `required_21000_09_quest_9447_incorrect_speech` bit(1) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';** that sql doesn't have "structure" column is the dbsql files in zip dont match server3.35? thanks!