Well, I'am sure I didn't forget this command, I will try if I have to make a clean install.
thanks for reply.
EDIT: I have made a new clean install and did not forget the
svn co https://scriptdev2.svn.sourceforge.net/svnroot/scriptdev2/ src/bindings/ScriptDev2
now when I try git apply, i see nothing happening and when i try git am .... the following error appears :
error: configure.ac: does not match index
error: src/bindings/.gitignore: already exists in working directory
error: src/bindings/Makefile.am: does not match index
error: src/mangosd/Makefile.am: does not match index
Patch failed at 0001.
EDIT2 : I found the way to patch MaNGOS with SD2 patch under Ubuntu :
just in place of "#git-am src/bindings/../patches/M...-ScriptDev2.patch"
use these command (you have to be in your mangos directory)
"patch -p1 < src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch"
patching file src/bindings/.gitignore
patching file src/bindings/Makefile.am
patching file src/mangosd/Makefile.am
OK !!
EDIT 3 :
For those who have the following error message: when launching "../mangos/bin/mangos-worldd"
Check existing of map file './maps/0004331.map': not exist!
Fix :
Edit the mangosd.conf and put at Datadir= "." the full path to your mangos directory if you have put DBC,MAPS and VMAPS folder into mangos directory.
example : Datadir="/home/wowsvr/mangos"