News:

Come Chat with us live! Learn how HERE!

Main Menu

Patches

Started by [NubS] Rabbitt, April 16, 2007, 05:23:42 PM

[NubS] Rabbitt

Ok ive seen and heard about all these patches but i cant figure out how to get them to function/operate/work.
I tryed google and come up with 310,000 things but not one explains anything useful.

Can someone help with with patching and how it works

David

download the source, apply the patch, compile it.
There are guides around on here for the downloading and compiling.
The patching is just a standard patch.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

[NubS] Rabbitt

Ok thanks David ill have to look around on here to see if i can get it to work.

twilight

patching is for developers who want to edit and recompile the source code...normal players shouldn't worry about it.
rder of Resistance Clan Leader

Check us out at http://resistanceorder.cjb.in

sleekslacker

and for server operators who want to tweak their server features.
y last name is Jones, the family motto is "Jones' never give up!"

Currently ignoring all of your spams.

[NubS] Rabbitt

Thats why im asking i wanna make sure im up to date with al the bug fixes and all.

Death_First

i cant figure out how to apply the patchs do u just throw them in the svn code?


and on another note: Can u apply 2 or more patchs to the svn code at the same time?

Lakitu7

download whatever revision from SVN
download patchfile and put in the root directory of the downloaded svn tree
patch -p0 < patchfile.patch
If it fails saying "can't find file, here's the first 5 lines blah blah", change -p0 to p1. If same, try p2
If one or more "hunks" fails, then you're trying to apply it to a revision that it wasn't made for and something about the code it's looking for has changed and thus the patch isn't compatable.

Applying 2 patches at once is fine, with the caveat that if they are trying to modify a same bit of code, the second will have the "hunks" failing error and it won't work.

.patchfiles are human-readable. If something fails and you are ambitious, you can often go "apply" it manually yourself to the code.

f0rqu3


Death_First

Quote from: f0rqu3that is what I got from a google search
http://images.google.com/images?q=patches
XD!!!!!!!