To begin, I am French, this is a translation from my French tutorial into English,
If you find a language error within this tutorial, please pm me.
You must install :
You can do this using the terminal:
You must download the files from the git repository, git will create your mangos sources directory for you.
You must download and patch ScriptDev2.
You can use
git am src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
to commit the patch, which is the way it was intended to be. git-apply just applies changes, while git-am commits patches. Please note that you cannot commit a diff (= the thing you now call "patch"), but you can commit a git patch (which is in fact "portable commit in a file") created using git-format-patch.
If you want to apply only changes to stash them later, use git-apply, if you want to commit the sd2 patch, use git-am and you don't have to manually call git-commit.
Once you have patched mangos, you compile it.
You can replace ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos
by ../configure --prefix=[working path] --sysconfdir=[working path]/etc --enable-cli --enable-ra --datadir=[working path]
with your [working path]
Good Luck
Thx to seodavid, for his help with English and his suggests.
Thx to freghar, for his help with Git. (Text in blue).
Edit by Schmoozerd: SD2 to Git updated