<?xml version="1.0"?>
<rss version="2.0"><channel><title>Wiki: Wiki</title><link>https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/?d=4</link><description>Wiki: Wiki</description><language>en</language><item><title>Downloading the MaNGOS sourcecode</title><link>https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/downloading-the-mangos-sourcecode-r20023/</link><description><![CDATA[<div>
	Important Things to remember
</div>

<div>
	<p>
		There are<strong> Five <abbr title="Massive Network Game Object Server">MaNGOS</abbr> cores</strong>, each designed to support a specific version of WOW.
	</p>

	<p>
		 
	</p>

	<table border="0" cellpadding="3" cellspacing="8" width="100%">
		<tbody>
			<tr>
				<td width="20%">
					<b>Core</b>
				</td>
				<td width="30%">
					<b>Supporting</b>
				</td>
				<td>
					<b>Client Version</b>
				</td>
				<td>
					<b>GitHub URL</b>
				</td>
			</tr>
			<tr>
				<td>
					MangosZero
				</td>
				<td>
					Vanilla
				</td>
				<td>
					1.12.1(5875), 1.12.2(6005) &amp; 1.12.3(6141).
				</td>
				<td>
					<a href="http://github.com/mangosZero" rel="external nofollow">http://github.com/mangosZero</a>
				</td>
			</tr>
			<tr>
				<td>
					MangosOne
				</td>
				<td>
					The Burning Crusade
				</td>
				<td>
					2.4.3(8606).
				</td>
				<td>
					<a href="http://github.com/mangosOne" rel="external nofollow">http://github.com/mangosOne</a>
				</td>
			</tr>
			<tr>
				<td>
					MangosTwo
				</td>
				<td>
					Wrath of the Lich King
				</td>
				<td>
					3.3.5a(12340).
				</td>
				<td>
					<a href="http://github.com/mangosTwo" rel="external nofollow">http://github.com/mangosTwo</a>
				</td>
			</tr>
			<tr>
				<td>
					MangosThree
				</td>
				<td>
					Cataclysm
				</td>
				<td>
					4.3.4 (Build 15595).
				</td>
				<td>
					<a href="http://github.com/mangosthree" rel="external nofollow">http://github.com/mangosthree</a>
				</td>
			</tr>
			<tr>
				<td>
					MangosFour
				</td>
				<td>
					Mists of Pandaria
				</td>
				<td>
					5.4.8 (Build 18414).
				</td>
				<td>
					<a href="http://github.com/mangosFour" rel="external nofollow">http://github.com/mangosFour</a>
				</td>
			</tr>
		</tbody>
	</table>
</div>

<div>
	 
</div>

<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
	<tbody>
		<tr>
			<td>
				<font color="#ffe97f"> <strong>PLEASE NOTE:</strong><br>
				            The default branch of all the repos is always the latest released version, and only hotfixes are applied to it.<br>
				            The development branch contains the ongoing development work.<br>
				<br>
				            If you omit the --recursive parameter, NOTHING WILL BUILD CORRECTLY - You have been warned !!!</font>
			</td>
		</tr>
	</tbody>
</table>

<p>
	In the examples below, we are using MangosZero !
</p>

<p>
	Open your favourite git command line util ie. 'git bash' or 'git shell'<br>
	Then type the commands below:
</p>

<h3>
	<u><span style="font-size:16px;">Cloning the default branch of the repos</span></u>
</h3>

<div>
	<b>Cloning the Server Source into the folder serverZero</b><br>
	Type:
</div>

<div>
	<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">git clone https://github.com/mangoszero/server.git serverZero --recursive --depth=10</span></pre>

	<p>
		 
	</p>
</div>

<div>
	<b>Cloning the Database into the folder dbZero</b><br>
	Type:
</div>

<div>
	<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">git clone https://github.com/mangoszero/database.git dbZero --recursive --depth=10</span></pre>
	These will create a server and database folder, which then contain the contents of each repo.
</div>

<div>
	<p>
		<strong>As the <abbr title="Massive Network Game Object Server">Mangos</abbr> Repos now use git submodules, cloning using the "recursive" flag will pull in all required submodules automatically.<br>
		i.e. Eluna, ScriptDev3 etc.</strong>
	</p>

	<p>
		<b>If you forget to include --recursive, you can still get the missing files</b>
	</p>

	<div>
		Type:
	</div>

	<div>
		<pre class="ipsCode prettyprint lang-html prettyprinted" id="ips_uid_6256_6" style="">
<span class="pln">git submodule init
git submodule update</span></pre>

		<p>
			 
		</p>
	</div>

	<p>
		 
	</p>

	<table bgcolor="#a80000" border="2" cellpadding="0" cellspacing="0" width="100%">
		<tbody>
			<tr>
				<td>
					<font color="#ffe97f"> <strong>NOTE:</strong>   Removing the --depth=10 flag will cause the entire history to be downloaded, normally only needed be developers or when bug hunting.</font>
				</td>
			</tr>
		</tbody>
	</table>
</div>
]]></description><guid isPermaLink="false">20023</guid><pubDate>Mon, 01 Aug 2016 08:28:41 +0000</pubDate></item><item><title>Git - Switching between branches</title><link>https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/git-switching-between-branches-r20022/</link><description><![CDATA[<p>
	Sometimes you may want to switch between branches, i.e. between Release and Development branches
</p>

<div>
	To switch to a Development branch, for example develop21<br>
	Type:
</div>

<div>
	<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">git checkout develop21
git pull --recurse-submodules
git submodule init
git submodule update</span></pre>
</div>

<div>
	To switch to a Release branch.<br>
	Type:
</div>

<div>
	<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">git checkout release20
git pull --recurse-submodules
git submodule init
git submodule update</span></pre>
</div>

<p>
	The folders will then contain the updated contents of the repo for this branch.
</p>
]]></description><guid isPermaLink="false">20022</guid><pubDate>Mon, 01 Aug 2016 08:21:27 +0000</pubDate></item><item><title>Installing MangosSharp</title><link>https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/installing-mangossharp-r40009/</link><description><![CDATA[<p>
	<u>Disclaimer</u>
</p>

<p>
	The original instructions are from Krill, mentioned in the <abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">MaNGOS</abbr></abbr> Discord server, on 2021-02-21.  I will try to improve them.
</p>

<p>
	<u>Overview</u>
</p>

<p>
	This guide will demonstrate how to setup the project for a sample modern Windows system.
</p>

<p>
	<u>Warnin</u>g
</p>

<p>
	This project may not be functional, for the following reasons:
</p>

<ul>
	<li>
		The second Wow Exe Extractor has 4 buttons, but only seems to create an empty maps folder, as that code seems to be commented out, regardless of the output in the dialog boxes,
	</li>
	<li>
		The GameServer will not execute due to compilation problems currently.
	</li>
	<li>
		Clustering has been disabled.  This is a unique feature and goal for the project, but code updates have caused a divergence from it.  Because of this, any mention can be ignored until this feature is also updated.
	</li>
</ul>

<p>
	<u>Step 1 - Download the source code</u>
</p>

<p>
	Clone the following projects locally:<br />
	<a href="https://github.com/MangosServer/MangosSharp" rel="external nofollow">https://github.com/MangosServer/MangosSharp</a><br />
	<a href="https://github.com/mangosvb/DatabaseZero" rel="external nofollow">https://github.com/mangosvb/DatabaseZero</a>
</p>

<p>
	Similar Instructions:
</p>

<p>
	<a href="https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/downloading-the-mangos-sourcecode-r20023/" rel="">https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/downloading-the-<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">mangos</abbr></abbr>-sourcecode-r20023/</a>
</p>

<p>
	<u>Step 2 - Populate a database server</u>
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			Run install batch files and setup DB, setup realmserver in auth db like normal
		</p>

		<p>
			Perform any needed updates found here: <a href="https://github.com/MangosServer/MangosSharp/tree/main/SQL" rel="external nofollow">https://github.com/MangosServer/MangosSharp/tree/main/SQL</a>
		</p>

		<p>
			DB is not the same (2014, very outdated).  The source itself needs updating to use DB updates, but the plan is for it to use latest.
		</p>
	</div>
</blockquote>

<p>
	Locally in the `sql` folder.
</p>

<p>
	Note that MangosSharp in its <a href="https://github.com/MangosServer/MangosSharp#requirements" rel="external nofollow">README under 'Requirements'</a> claims to better support MySQL 8 more than the main C++ cores.
</p>

<p>
	These actions can be similar to, or also even require, others from the following guides:<br />
	<a href="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-mysql-57-r20057/" rel="">https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-mysql-57-r20057/</a><br />
	<a href="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-mariadb-r40012/" rel="">https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-mariadb-r40012/</a><br />
	<a href="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/configuring-the-realm-database-r20069/" rel="">https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/configuring-the-realm-database-r20069/</a><br />
	<a href="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/updating-existing-database-with-latest-updates-r20051/" rel="">https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/updating-existing-database-with-latest-updates-r20051/</a>
</p>

<p>
	<u>Step 3 - Compile the servers and tools</u>
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			Open M# .sln here: <a href="https://github.com/MangosServer/MangosSharp/tree/main/Source" rel="external nofollow">https://github.com/MangosServer/MangosSharp/tree/main/Source</a>
		</p>
	</div>
</blockquote>

<p>
	But in your locally-downloaded project, and is now at: src\server\<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.sln
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="3" data-embedcontent="" data-embedid="embed6278528458" src="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-visual-studio-2015-community-r20065/?do=embed" style="height:395px;max-width:502px;"></iframe>

<p>
	I just used MSVS 2022 CE.
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			And build all projects (around 30).
		</p>
	</div>
</blockquote>

<p>
	Now 14.
</p>

<p>
	<u>Step 4 - Extract Game data (WIP?)</u>
</p>

<p>
	The resulting executables will then be located at src\server\GameServer\bin\Debug\net7.0\GameServer.exe and src\server\RealmServer\bin\Debug\net7.0\RealmServer.exe to run.<br />
	I'm not sure if a cluster project needs to be run, or is included as a dll when other executables are.  If it is important, then you should probably configure it using this file: src\server\<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.Cluster\bin\Debug\net7.0\configuration.json.
</p>

<p>
	Extract data using <abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.Extractor &amp; <abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.DBCExtractor tools here: <a href="https://github.com/MangosServer/MangosSharp/tree/main/Source/Tools" rel="external nofollow">https://github.com/MangosServer/MangosSharp/tree/main/Source/Tools</a><br />
	Build the project using the file src\tools\<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.Tools.sln.
</p>

<p>
	Run src\tools\<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.DBCExtractor\bin\Debug\net7.0\DBCExtractor.exe and src\tools\<abbr title="Massive Network Game Object Server"><abbr title="Massive Network Game Object Server">Mangos</abbr></abbr>.Extractor\bin\Debug\net7.0-windows\WowExeExtractor.exe by copying the files to your vanilla WoW game client directory, like in this guide:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="3" data-embedcontent="" data-embedid="embed1151887141" src="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/extracting-game-data-r20067/?do=embed" style="height:215px;max-width:502px;"></iframe>

<p>
	<u>Step 5 - Configure the servers</u>
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			Setup RealmServer, WorldCluster, WorldServer configs and start servers via the RunServers batch file.
		</p>
	</div>
</blockquote>

<p>
	Like in this guide:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="3" data-embedcontent="" data-embedid="embed1205218103" src="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/configuring-mangos-r20068/?do=embed" style="height:215px;max-width:502px;"></iframe>

<p>
	<u>Step 6 - Install dependencies</u>
</p>

<blockquote class="ipsQuote" data-ipsquote="">
	<div class="ipsQuote_citation">
		Quote
	</div>

	<div class="ipsQuote_contents">
		<p>
			Another thing, you will need <a href="https://dotnet.microsoft.com/download/dotnet/5.0" rel="external nofollow">https://dotnet.microsoft.com/download/dotnet/5.0</a> for it to run and compile.
		</p>
	</div>
</blockquote>

<p>
	Now 7.0, also as mentioned in the <a href="https://github.com/MangosServer/MangosSharp#requirements" rel="external nofollow">README under 'Requirements'</a>: <a href="https://dotnet.microsoft.com/download/dotnet/7.0" rel="external nofollow">https://dotnet.microsoft.com/download/dotnet/7.0</a>
</p>

<p>
	Not sure if it needs OpenSSL or not.  If it does, a useful guide can be found here:
</p>
<iframe allowfullscreen="" data-controller="core.front.core.autosizeiframe" data-embedauthorid="3" data-embedcontent="" data-embedid="embed3216202851" src="https://www.getmangos.eu/wiki/documentation/installation-guides/guideswindows/installing-openssl-r20058/?do=embed" style="height:395px;max-width:502px;"></iframe>

<p>
	 
</p>
]]></description><guid isPermaLink="false">40009</guid><pubDate>Sun, 28 Mar 2021 17:56:29 +0000</pubDate></item><item><title>Updating your cloned Server / Database files</title><link>https://www.getmangos.eu/wiki/documentation/installation-guides/guidesgeneral/updating-your-cloned-server-database-files-r20052/</link><description><![CDATA[<div>
	 
</div>

<p>
	From time to time you will want to bring in any updates into your local source / database.
</p>

<p>
	The process is easier than you may have realised !
</p>

<p>
	 
</p>

<p>
	Open your favourite git command line util ie. 'git bash' or 'git shell'
</p>

<p>
	Change to the folder containing either the server or the database then type the commands below:
</p>

<div>
	<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">git pull
git submodule init
git submodule update</span></pre>

	<p>
		Repeat for any other repos which need updating.
	</p>
</div>

<div>
	 
</div>
]]></description><guid isPermaLink="false">20052</guid><pubDate>Tue, 02 Aug 2016 23:47:59 +0000</pubDate></item></channel></rss>
