Jump to content
  • 0

Question

Posted

Hello guys. I'm a little confused about some words that are used for the packs and generally for the developing.For example what a source of a pack? And can i insert some java codes to my pack through the source?

 

I would like some detailed answers! Thnx

9 answers to this question

Recommended Posts

  • 0
Posted

You can meet 2 possibilities :

- sources : it's the editable version of a pack.

- precompiled : a compiled version of sources.

 

Basically you got sources, you compile them and you got a (pre)compiled pack. This pack is ready to launch a server, but can't be edited anymore (core side). People like to share precompiled packs for a fast test of possibilities. You don't have to download sources and compile, you only have to install the pack and play.

 

A pack (or fork) is basically a "child" of a bigger project. L2J is basically the main "mother" of all packs. Some packs raised enough to become themselves big, such as L2JFree. Such pack are far different from original files, but still can have many similar codes.

 

The only (real & not dangerous) way to add code is to have sources. Once the pack is compiled, you have to recompile it again (and replace old files by new) to see differences.

 

It depends of what you change. Many things are now handled directly in datapack. SQLs, HTMs, and even java files.

  • 0
Posted

ok no one answers me, i have 1 question when i try to compile server, in eclipse when i write svn of l2jserver it crashes without any errors or something just crashes, do you know how i can fix it?i'm waiting more than 1 week but no one wants to help

  • 0
Posted

Try to use latest Eclipse and subclipse version. How do you want I help if you say it justs crash :P. I'm not Eclipse dev. Think to install latest JDK aswell. You don't need JRE as it's part of JDK.

  • 0
Posted

look i 've got a pack that i downloaded from MXC and also i have the sources.If i want to add some java codes i have to recompile source again?

P.S. the pack that i have contains many java codes that i want to keep

  • 0
Posted

tryskell can you please give links to eclipse? i know how to get last java but not eclipse and subeclipse, please, and thanks a lot for everything. :)

 

and one_1 you cant compile again your compiled version you have to compile from sources like svn.l2jserver.com something like that. (as i know)

  • 0
Posted

http://www.eclipse.org/

For subclipse there are tutorials on how to add it. Just read them.

 

From the moment you got sources you can compile it whenever you want, and yes you have to compile your sources each time you made core changes.

  • 0
Posted

Imagine you get 3 codes : A, B and C.

 

You add first A, compile. You got A result.

You add B, compile. You got A+B.

You add C, compile. You got A+B+C.

 

You find now B sux, so you delete it. You compile. You got A+C.

 

Etc, etc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...