Jump to content

Recommended Posts

Posted

Here i will show you how to use source codes for L2J OFF files! :)

 

You will need:

I recommend this: CLICK

JRE: CLICK

JDK: CLICK

 

Step :: 1

 

We install Eclipse and make a work folder named -> workspace

If you dont want the program to ask you more for your work place mark the box below

1279954.jpg

 

Step :: 2

 

A new window (tab) will open, click X. Now we go in Window -> Preferences... and open the Java control.

1279958_orig.jpg

1279961_orig.jpg

after you do that click Add... After we click Browse... and find our JDK and press OK (default: C:\Program Files\Java\jdk1.6.0_10)

1279963_orig.jpg

 

Step :: 3

 

Now go to Help -> Software Updates -> Find and Install. Select "Search for new features to install" and press OK.

Now press "New Remonte Site" (in the left) and now write this:

Name : Subclipse
URL : http://subclipse.tigris.org/update

1279969_orig.jpg

Select only Subeclipse!!! Demarc the other ticks!

It will update and after it will ask you to restart. do it :D

 

Step :: 4

 

After you restarted it we go to Window -> Show View -> Other

1279972_orig.jpg

after a new window appeared  we select: SVN -> SVN Repository -> OK

1279974_orig.jpg

Now you click the right mouse button on the new window and after New -> Repository Location...

1279979_orig.jpg

A new window will appear for writing a link and we write:

http://www.l2jserver.com/svn/ - GameServer Source codes
http://www.l2jdp.com/svn/ - DataPack Source codes

DONT WRITE BOTH ON ONE TIME! first the one, and after the other!

After loading finishes a new directory will appear in the Repository tab.

Duble click on it and a new folder called trunk will appear.

Duble click on the folder trunk and now must appear the folder L2_GameServer. Right click on it and click Checkout.

Select "Check out as project in the workspace" and for name you write L2_GameServer , after Finish.

Now it starts to download source codes (it can take a long of time... it depends on your internet connection and their server).

If you have added the 2nd link repeat it but with the name L2_Datapack.

 

Step :: 5

 

After eclipse  had restarted itself  we go to Window -> Show View -> Ant

1279972_orig.jpg

and now we add build files from the downloaded sources .

Right click and Add Buildfiles.

2 folders will appear named L2_GameServer / L2_Datapack  (if you arent renamed it)

 

The ready  compileted things will be in dist folder .rar

this is all ;) (and pls make my karma normal ;( )

  • 2 months later...
Posted

very good guide , but can i ask :

if in a java files a code block that using a function , how can i know the main file of this function

( i mean how to know where this function created to know what going on and what it do ) ?

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
Reply to this topic...

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