Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

L2J [Guide] Download and compile source code with Eclipse by Zerphy

Status
Not open for further replies.
Initiate Mage
Joined
May 27, 2004
Messages
27
Reaction score
0
[mod]
Eragon said:
Read this 1st :

[/mod]

This is a guide for compiling source code of l2j, and it is my first guide in English. If there are mistakes, please tell me, thanks!
Now is the guide!

1. You must install j2se first before you run Eclipse. You can download the package from this link : . Download and install it.

2. Download Eclipse from this link : , and unzip it into you destination folder, such as : c:\Eclipse.

3. Run eclipse.exe in the folder you just unzipped. You will see the dialog box below, just select a folder to save you source code, then click OK button:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



4. Then you will see the workspace of Eclipse. At this step, we begin to download source code of l2j. Click File > New -> Project..., shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



5. After you click the Project menu item, you will see the New Project dialog box, select CVS > Checkout Projects from CVS in the Wizard box, then click Next button, shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



6. Then you will see the Checkout from CVS dialog box. Fill in the blanks just shown as in the picture below, then click Next botton:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



7. In this step, you must choice a module from CVS, so you should select Use an existing module radio button, wait for a while, in the box module list box, there are the modules listed in it. You should select L2_Gameserver from the list, then click Finish button, the step shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



8. Atfter you click the Finish button, you will see the dialog box shown as below, then you should click Run in Background button:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



9. After you click the Run in Background button, you will see an empty workspace of Eclipse. Then double click the region marked with red pen in the picture below, you will see the workspace shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



10. Wait until the Eclipse download the module you selected. After the whole module has been downloaded, you will see the situation shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



11. Right click the L2_Gameserver item from the Navigator tag on the left of the workspace, choose Run > Run..., shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



12. After you select the Run... menu item, you will see the situation shown as below, then select L2_GameServer item from the Configurations list box on the left of the workspace, click Run botton:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums



13. At last, you will see the Eclipse compile the source code, and run the game server, shown as below:


monsterbaster - [Guide] Download and compile source code with Eclipse by Zerphy - RaGEZONE Forums






thanks to zerphy..

U are great man yo!
 
Last edited by a moderator:
Banned
Banned
Joined
Jul 6, 2004
Messages
31
Reaction score
0
Lol you could have just posted the link to the sourceforge forum ;)
 
Experienced Elementalist
Joined
Jul 4, 2004
Messages
211
Reaction score
0
good guid, but how do i get the source to turn into the stuff you can download from nightly build? with the .class files and all that...
 
Initiate Mage
Joined
May 15, 2004
Messages
2
Reaction score
0
sorry im a noob and i dont know whats going on..
what does compiling this do to the server?
im probably going to get flamed about this :cry:
 
Initiate Mage
Joined
Jun 6, 2004
Messages
16
Reaction score
0
shanks said:
sorry im a noob and i dont know whats going on..
what does compiling this do to the server?
im probably going to get flamed about this :cry:

*equips a flamethrower and shoots and shanks* :)
 
Initiate Mage
Joined
Jun 6, 2004
Messages
16
Reaction score
0
btw, how do i add the armor, weapons etc files to the server files, by using the eclispe prog, not the convertdata thing
 
Joined
Feb 21, 2004
Messages
25
Reaction score
0
why do you want to add armor , all the armors ingame are automatically converted from the client when you run convertdata.bat
 
Infinity/Divinity Dev
Banned
Joined
Jun 7, 2004
Messages
759
Reaction score
0
Just a note I hope you asked permission when hot linking images as bandwidth = money.
 
Initiate Mage
Joined
Jun 6, 2004
Messages
16
Reaction score
0
SheikAbdul said:
why do you want to add armor , all the armors ingame are automatically converted from the client when you run convertdata.bat

thats not what i meant, im using Eclipse, and i wanna know how do i add them using Eclipse, i know i can use convertdata.bat, but... u know, whats Eclipse for when it doesn't add the armor files etc into the server files
 
Initiate Mage
Joined
Mar 4, 2006
Messages
13
Reaction score
0
6. Then you will see the Checkout from CVS dialog box. Fill in the blanks just shown as in the picture below, then click Next botton:

since the picture is gone, can anyone please tell me what to put in there?
thanks
 
Banned
Banned
Joined
Jan 25, 2005
Messages
1,036
Reaction score
7
Here, try this page, got pictures and all what your heart desire ^^

 
Banned
Banned
Joined
Oct 26, 2005
Messages
922
Reaction score
0
Thanks monsterbaster for this guide, but as Eragon said there is already a nice tutorial one the net with screenshot and stuff so i added the url to your post.

Don't feel that your guide is useless, it'll be a complement to the other, and you can maybe create a "video guide" like it seems to become popular here :)
 
Skilled Illusionist
Joined
Jan 23, 2005
Messages
343
Reaction score
0
g2by said:
I need the pictures of this guide !!!!!!! Plssss hellllpppp meeeee

Omg,enter !
 
Initiate Mage
Joined
May 11, 2006
Messages
17
Reaction score
0
I don`t know want I need to do :(


Buildfile: D:\eclipse\workspace\L2_GameServer_C4\build.xml
clean:
[delete] Deleting directory D:\eclipse\workspace\L2_GameServer_C4\build
init:
[mkdir] Created dir: D:\eclipse\workspace\L2_GameServer_C4\build
[mkdir] Created dir: D:\eclipse\workspace\L2_GameServer_C4\build\classes
[mkdir] Created dir: D:\eclipse\workspace\L2_GameServer_C4\build\dist
[mkdir] Created dir: D:\eclipse\workspace\L2_GameServer_C4\build\dist\login
[mkdir] Created dir: D:\eclipse\workspace\L2_GameServer_C4\build\dist\gameserver
version:
[exec] Execute failed: java.io.IOException: CreateProcess: svnversion -n . error=2
compile:
[javac] Compiling 981 source files to D:\eclipse\workspace\L2_GameServer_C4\build\classes

BUILD FAILED
D:\eclipse\workspace\L2_GameServer_C4\build.xml:69: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK


Total time: 2 seconds


If u know what is the problem , what is wrong, plsssss tellll meeeee
 
Junior Spellweaver
Joined
Jan 6, 2006
Messages
173
Reaction score
0
lol u didn't add jdk to your eclipse, OR it isn't working, anyway java jdk is not configured so it has no files to compile with.
 
Junior Spellweaver
Joined
Jan 6, 2006
Messages
173
Reaction score
0
Perhaps JAVA_HOME does not point to the JDK
search, i know you'll find a guide how to solve this or just install java lol
 
Status
Not open for further replies.
Back
Top