How do I apply the patches from Commit History for mangos's mangos - GitHub?
What I did was to checkout Mangos as such:
Is it required to checkout an older revision? If so, how?Code:git clone git://github.com/mangos/mangos.git
How do I apply the patches from Commit History for mangos's mangos - GitHub?
What I did was to checkout Mangos as such:
Is it required to checkout an older revision? If so, how?Code:git clone git://github.com/mangos/mangos.git
Last edited by Usename; 05-09-2010 at 06:35 AM.
Hey!
Currently using the 400 branch for Mangos, but i wonder where i can get the Cata DB needed? And a working ad.exe? Doesn't seem to work atm.
Where can I get the 400 branch? I can't seem to find it...
git pull git://github.com/mangos/mangos.git 400
Thanks a lot, Kromgol! Now all i have to do is apply this patch. Should I just save the text on pastebin as whatever.patch and use git apply?
As I wrote earlier, to get the source I did:
This all worked well. In my attempt to apply the patch I copied the code from:Code:git clone git://github.com/mangos/mangos.git cd mangos git pull git://github.com/mangos/mangos.git 400
and saved it as cata1.patch. I tried applying the patch and got this error:Code:http://paste2.org/p/819407
Can anyone see what I'm doing wrong? Any help is much appreciated!Code:$ git apply cata1.patch error: patch failed: src/game/Player.cpp:19492 error: src/game/Player.cpp: patch does not apply error: patch failed: src/game/SpellAuras.cpp:4149 error: src/game/SpellAuras.cpp: patch does not apply error: patch failed: src/game/SpellEffects.cpp:782 error: src/game/SpellEffects.cpp: patch does not apply
Getting this error on executing the item SQL on the latest version of Mangos 400 branch item db structure:
Error Code: 1264 - Out of range value for column 'sheath' at row 1
I have downloaded all the files from "git://github.com/mangos/mangos.git 400". They are currently residing in a folder in my hardrive. What do I need to do next?
Yeah, great, but how to fix it that when I try to login it stucks at "connecting" and says Login Server down?
Somehow I managed to patch the code without any errors. However I got errors like these upon compiling:
Does anyone know what this is all about?Code:../../../src/game/Player.cpp:19498: error: ‘RACE_WORGEN’ was not declared in this scope ../../../src/game/Player.cpp:19506: error: ‘RACE_GOBLIN’ was not declared in this scope make[2]: *** [Player.o] Error 1
Edit:
If I undo the patch, it compiles just fine. I can logon to the login server, but not to the world server, because its displayed as offline. :O
(Its offline for the beta client, not the 3.3.3 one)
Last edited by Usename; 05-09-2010 at 08:49 AM.
How can i go about getting the database for Cataclysm? Ad.exe does not seem to work.