[GUIDE] How to compile L2J L2J 

Status
Not open for further replies.
Newbie Spellweaver
Joined
May 12, 2006
Messages
27
Reaction score
2
Note before reading, things in this color are just bullshit you can just don't read they are just for explaining some stuff not so important, why I typed this?.... is just because sometimes ppl don't wanna learn when they see like a lot of text and they just prefer to get the server compiled, but remember things in this color are really really really really important

Hi everybody, fist of all I wanna tell that this forum is really nice, all people help each other with contributions and everything they can, not like l2OFF forum where all answers you can get are "Good Look", "Use search", and things like this, thats the reason i tried the L2J and I really love it, well that's no the reason of the post so let's see
I have noted that in this forum there is no a post for the people that teach you how to compile a subversion of L2J, well this is my first guide and I hope you ejoy it, i think is time to help people cause I really get a lot of help in this forum so let's start the guide.


1.: The first step on this is that you have to decide wich version of L2J you will like to compile, in this forum you can find a lot of them like Hero1711, official L2J, L2J Free, DrakRage's, etc... etc... I sincerily reommend you the official L2J or the L2J Free, I'm not saying that the other ones are wrong or something else, is just that the other ones have extra stuff, like npc buffer, global gk, etc... so that's the reason I recommend you the L2J Free or the L2J, but if you like a "custom server" it will be fine to chose Hero's pack or darkrage's one, this step is for me the most dificult part, cause one pack has something that other one don't and you'll never get a perfect one so is better to learn how to do the things or to download your custom patches (in this moment maybe you wanna kill me cause I have not explained anything and I made you read a lot jeje so i will stop blah, blah, blah blah and start teaching you) Note, when you have decided wich pack you will like to compile you have to search for the SVN Repository

Here I paste you some SVN Repository links

Official L2J---------------"http://www.l2jdp.com/svn/trunk/"
Official L2J---------------"http://www.l2jserver.com/svn/trunk/"
that ones you must compile the two to get a server, the fist one is the datapack and the second one is just the server so if you decide to get a Official L2J you must compile that two links
L2J Free-----------------"svn://l2jfree.com/repo/l2j-free/trunk/"
Hero 1711---------------"https://opensvn.csie.org/l2jhero1711/"
Oneo--------------------"https://opensvn.csie.org/Oneoteam/"
in this ones you will find 3 folders one is ffor the login server other for the game server and other one with the datapack, I will explain it later

2.: Once you have decided wich server pack you'll like to compile you have to download this 2 programs


note that in that page you'll find a lot of JDK6 you have to download the one that says
JDK 6
The Java SE Development Kit (JDK) includes the.......



please take a look in the page don't download the eclipse distros, that don't work
Note that eclipse is not a program you have to install, you have just to unzip it in a folder you will remember for the rest of your life

3.: Install Java SE JDK here I put some images
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Just accept the Licence Agreement
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Next
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Wait until this **** is installing
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Another time Next
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Another time just wait untill it finish
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Then you have it installed Congratulations, you see is not so difficult, just click finish and see the readme, or if you don't want just deselect the option and click finish

4.: Configure Eclipse (Muajajajajaja, this is the evil part)
Follow all my instructions and I suere you will have everything allright
Step one obviously unzip the eclipse in a folder you will remember for the rest of your life
Step 2 open the exlipse.exe (I recommend you to make a desktop shortcut) it will ask you where to put the Workspace, I recommend you to keep this like it preconfigured for you and check the box where says that use that like default
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Click on menu Window/Preferences
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


There will appear some screen like I have here
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Expand the one that says +Java
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums
 
Last edited:
this is part 2 because i can just put 10 imgs

So your window will look like this one
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Then select the option that says Installed JREs
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


You will have some window like this
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Note if you have another JRE just select the one that says JDK, if you don't have it just keep following instructions

Click on the search button
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


A window will apear, just select your hard drive and click OK
this will search for all JREs in your hard drive, note that this may take a lot of time so don't be desperated
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


When it finish you will now have a screen like this, doesn't matter if you don't have so much JREs or if you have more than me, but if you don't have the JDK then just install it the guide for install it is in the fist part of the post
Just select the newes version of JDK in this case 6.0
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just click OK
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Then go to menu Help/Software Updates/Find and Install....
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


You will have a window like this one
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just check the box for "Search for new features to install" and click next
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums
 
then you will see a window like this one
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just click on "New Remote Site"
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


You will see a window like this one
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


In name you can put the name what you want, if you want you can put John Smith, you don't have to put your name lol, you have to put the name of the site, it can be whatever you want but in URL you must paste this then just click OK
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


So you return to the other window, just select the one you have created the other ones aren't important to compile L2J so don't take care of them, then when you select yours just click finish button
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Then your computer will think for a little while, let it think and then you will have a window like this one
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just check the box like in the image and click next
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Surprise!! a window will appear (another time)
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Accept the terms and click next
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Now just click Finish button
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums
 
So now try to tell me what's next
you got it?
don't look below
...
...
...
don't cheat in this game
...
you got it?
...
...
...
really?
Yes you're right another window will appear, what an intelligent guy you are so I will stop doing this guide........ Ok better not, I will continue, you wanna know why I made this joke, is easy man/woman is just cause I know you are bored or you just hate me cause I explain everything, try to relax a little and if you are tired just sleep or go to a park and play some baseball or soccer, I don't know just keep relax


Well coming back to our topic, you will have a window like this one, just wait until it finish
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


When your download finish successfully you will have an ugly window like this one don't be afraid, I'm with you and I will help you :D, you just need to click on Install All
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Another window appear, just wait until it install everything new stuff
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


When it finish you'll see this window telling you that your computer crashed and you will lose all your data....... jejejeje just a joke to relax you, the true is that you will restart eclipse just click Yes,
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

If eclipse don't restart just start it again manually

Coming back to eclipse, click on menu Window/Show view/Other
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


And another #$%#$"!"$$% window will appear, maybe in this moment you are hating me but I don't care I now you'll love me after you finish
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just expand the option that say +SVN
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Inside SVN just click the option that say SVN Repository and click OK
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


If you get a white window like this you are following correctly all my instructions
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Just right click inside the window, a menu will appear (surprise, here will not appear a window)
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums
 
Last edited by a moderator:
5.: Downloading the source you will compile

Select New and then Repository location
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Another window will appear jeje
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Very very very very important note, here is where ppl get on his/her own way, I mean here is where you put your SVN Repository location, you must select one of your like, If you like Hero's1711 of Official L2J, whatever you chose is the same thing, just the repository location changes and obviously the contain of it, I mean NPC's, Armor, Weapon, etc... etc...
So in this window you have to paste the repository you like to compile
in my case I chose for the guide the L2J Free version
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Before pasting the repository location you just have to click finish

You will see another window that say your computer is thinking, just let it think
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Then you will have something like this
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Expand it (Just click in the [+])
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

you will have some folders like game server, login server and data pack, you have to download folder by folder

For example to download the data pack folder like in my case just left click on it and in the meny click on the "Checkout" option
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


You will get another window, you know I hate windows :) i think you will share my hate
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

you just have to check the box that say "Checkout as project in the workspace" and click finish

Another window will appear, it will say that is downloading all server ****, this operation will take a lot of time you must be patient, if you are not patient, you can see some porn pages, eat, play with your dog, whatever you wanna do in that whil, cause I'm telling you this will take a lot of time and I'm not lying
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


When you finish you will now have the folder, in my case "Data pack", guess what, you will have to do the same process for the game server and for the login server, just left click, checkout, blah blah blah
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

when you finish with all, continue with the next reply below this, don't continue if you didn't finish yet
 
Last edited by a moderator:
6.: Compiling

If you are in this step congratulations you almost finish, just click on the restore button of the SVN repository, is this, in the image is amplified
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


After you click it you will see a lot of windows inside the Eclipse, for now we are just looking for the Package Explorer, is located at the top of the right side of the window
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

there you'll find all the files you downloaded by SVN repository

Expand the first one (clicking the [+]), you will see a file with name build.xml
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Right click on it, a menu will appear
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Go to the option that say "Run As" and then "Ant Build"
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Click on the first one

In the center of the screen you will see a window named Console it will display something like this after you click ant build
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums

Note that there is a red square

Don't take care about errors if you get at the end a message that say "BUILD SUCCESSFUL", error's are because L2J is not a perfect source and is incomplete, but if you get this window you are right
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Now repeat all this steps for your 3 or 2 folders

That's it man/woman

So now what's next step......

7.: Unzipping and edit your files

Go to your Workspace folder
Don't remember where is it
C:\Documents and settings\"your user name"\Workspace
this is just if you didn't change it but if you change it and don't remember you didn't follow my instructions
Your workspace must look like this
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


enter one of your 3 or 2 folders, if you have 2 enter first to your L2J Server folder if you have 3 enter to your login server or game server folder doesn't matter which one you chose
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


Inside the folder you will see a folder with name build, open it and there is your zip file, copy this to a folder you'll remember for the rest of your life
antorni - [GUIDE] How to compile L2J - RaGEZONE Forums


If you just have 2 folders skip the next step

Then if you have 3 folders go to the other folder you didn't enter and the one that is not the data pack one and enter build folder and copy the zip to the same folder you copied the other zip

Then enter to the data pack folder and then to the build folder, and do the same, copy the zip to the same folder you copied the other zips

Unzip the files in the same folder but remember this,
1) unzip login and game server
2) unzip data pack inside game server folder

If after this guide you couldn't make your own compilation, damn man you must not try to have a server

I hope you enjoyed this guide

This guide is dedicated to Nargen, is a person I really admire, cause is a girl that makes servers, but that's no everything, I really admire her cause she is a beautiful one.

Thx for reading this guide.
 
Last edited by a moderator:
Status
Not open for further replies.
Back