Applying Patches and Mods

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Locked
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Applying Patches and Mods

Post 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!
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Applying Patches and Mods

Post 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]
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Applying Patches and Mods

Post by lucan »

I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Applying Patches and Mods

Post by Zoey76 »

lucan wrote:I always edit code in Eclipse but never applied patches.
Thank you!
Can close the topic!
No problem, closed :P
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Locked