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

just compile your files and you will have the changes on your files.

if you don't know how to do it, go to build.xml right click -> run as -> ant 1 (for both datapack and gameserver aka core)

  • 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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock