Page 1 of 1

How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 12:22 pm
by KingSton
Hello,

I downloaded server pack ( Gameserver and DataPack for interlude ) with Eclipse. Went to the workplace, found files there. Could anybody explain how set up server from these files? :?:

Main problem is that folders are sorted unusualy like in Nightlies versions where are Gameserver, Loginserver, Sql, Tools folders. In version, that I downloaded with Eclipse everything is different (mixed) and I just don't know how to set it corectly.

I know, this is stupid question, but I have never used these files before, I haven't experience so much.

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 12:28 pm
by jurchiks
In each project, there's a build.xml file.
Right-click it, choose Run As... > Ant build.
???
PROFIT!
builds in /build/projectname.zip

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 9:21 pm
by JustLikeMe
jurchiks wrote:In each project, there's a build.xml file.
Right-click it, choose Run As... > Ant build.
???
PROFIT!
builds in /build/projectname.zip
Yes thats right, but I think that he is expecting more than compiling. He wants to know what files should be where (setup).

If you compiled the code from both server and datapack you can access them from the workspace. (You should know where it is since at start you are asked where it should be placed). Next step is to make a folder.

1. Make a folder anywhere recommended in C:/ path, name it whatever you like e.g. I have named it l2jserver.
2. Go to workspace->L2_Gameserver->build. You will see a L2J_Server.RAR file.
3. Extract L2J_Server.RAR inside the folder which you made at start. (l2jserver for me)

4. Now go to workspace->datapack_development->build. You will see a L2J_DataPack.RAR file.
5. Extract L2J_DataPack.RAR inside the folder which you made at start. (l2jserver for me)
If you are asked to merge or replace files press ok.

Some or all of the folders in both L2J_Server.RAR and L2J_DataPack.RAR are the same and they contain different files. So basicly the setup is to merge the files of those two .RARs. Now the next step is to configure the server from l2jserver->gameserver->L2JConfig. Good luck.

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 9:26 pm
by jurchiks
Now the next step is to configure the server from l2jserver->gameserver->config.java
What?
Oh no you didn't!
Configs must ONLY be changed in dist/gameserver/config and dist/loginserver/config, never in code!

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 9:30 pm
by JustLikeMe
jurchiks wrote:
Now the next step is to configure the server from l2jserver->gameserver->config.java
What?
Oh no you didn't!
Configs must ONLY be changed in dist/gameserver/config and dist/loginserver/config, never in code!
Hmm I don't know exactly what you are saying, but the path which I provided is not in eclipse, but in the folder which contains the merged files (L2J_Server.RAR and L2J_DataPack.RAR).

Or maybe you are trolling me? :mrgreen:

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 9:41 pm
by jurchiks
there is no config.java in gameserver folder.

Re: How to set up L2j server ( downloaded with Eclipse)

Posted: Sat Jul 28, 2012 9:45 pm
by JustLikeMe
Yea you are right, I will fix it.
(l2jserver->gameserver->L2JConfig)