Jump to content
  • 0

[Help]Eclipse


Question

Posted

Hello guys,

 

can someone tell me how eclipse is connected with my files? (After build i go to folder where is gameserver and datapack and unzip it in new folder and if

I make changes or add new codes in eclipse how these changes will be in my files?

 

thanks.

 

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

There is no changes involved until you build and replace the libraries. Your source folder must be different of your production server folder. Sources compile to a "usable" state, then you install it and update the folder of your server each time you want to test your new codes. There is generally only l2jserver.jar to move in order to update production server, except ofc if you edited datapack content meanwhile (then you must replace edited stuff).

 

In order to test your new codes, shutodwn your server if running, then only at this time update jar. Never replace a library while server is running, you will end with ClassCastException because of links between classes being broken.

Edited by Tryskell
  • 0
Posted

It also depends on the pack. If, for instance, you changed something @ L2JFrozen gameserver/datapack and you compile it, you'll have to replace the l2jfrozen-core.jar file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..