Patching code

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Patching code

Post by Dreigas »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hello,

First i want to sorry for my English. :)

Ok, i downloaded last version of Gracia Epilogue server, and i want add my custom code to it, so when i finish (top system) and make patch, it's ok, he patch top system, and then i add more customs codes (color system) and then i make patch again, i get patch with pvp and color system.

So i have a question, that is best way, to separate these? I know, when i done pvp system, i must mark it somehow, but how?

i use Eclipse, thanks for help. :)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Patching code

Post by jurchiks »

team>create patch
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Dreigas
Posts: 17
Joined: Mon Jul 06, 2009 12:25 pm

Re: Patching code

Post by Dreigas »

I know how to make patch...

So if i make patch and then add more custom codes to source and i make again patch, they patch all my custom, i need patch only from last patch.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Patching code

Post by jurchiks »

obviously...
Create Patch saves all changes that differ from svn
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
rocoder
Posts: 66
Joined: Thu Feb 04, 2010 8:52 am

Re: Patching code

Post by rocoder »

make a private svn:P take last l2j rev, add your patch, and always sync! :mrgreen:
Image
Post Reply