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!
Applying Patches and Mods
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Applying Patches and Mods
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 tagsCode: Select all
[code][/b] to post a formatted patch/diff.[/quote][/quote]
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

- lucan
- Posts: 590
- Joined: Wed Mar 16, 2011 10:39 pm
- Location: Brazil
Re: Applying Patches and Mods
I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!
Thank you!
Can close the topic!
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: Applying Patches and Mods
No problem, closedlucan wrote:I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!

Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 
