Page 1 of 1
Applying Patches and Mods
Posted: Thu May 26, 2011 5:03 pm
by lucan
I have seen many mods that should be added in the core/datapack, TXT files where the symbol + are in the lines should be added in the code.
How I add a patch in Eclipse from a txt file for example?
Adding manually line by line? Or some kind of import by Eclipse?
Tks!
Re: Applying Patches and Mods
Posted: Thu May 26, 2011 5:35 pm
by Zoey76
Zoey76 wrote:Zoey76 wrote:Eclipse allow you to compile the new code, this new compiled version will reflect the changes you've made to it.
The changes in the code are shared in the form of
patches, a patch or a diff file is a file that contains the code that could be removed and the code that could be added, the lines where the changes will be done are set in the header of the patches and the lines that should be removed are marked with - and the new lines are marked with +.
Eclipse also allow you to apply patches, without guessing anything.
It's important that you read about Java if you want to learn something about programming and
how new things you are adding to your server will work.
It'd be good if you check this:
http://www.l2jserver.com/wiki/Setup_Eclipse_and_SVN
http://www.l2jserver.com/wiki/How_to_Apply_a_Patch
In forum use the following tags
Code: Select all
[code][/b] to post a formatted patch/diff.[/quote][/quote]
Re: Applying Patches and Mods
Posted: Thu May 26, 2011 5:55 pm
by lucan
I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!
Re: Applying Patches and Mods
Posted: Thu May 26, 2011 9:49 pm
by Zoey76
lucan wrote:I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!
No problem, closed
