We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

[Guide] So you want a L2J Server

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
LasTravel
Advanced User
Advanced User
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: [Guide] So you want a L2J Server

Post by LasTravel » Thu Feb 02, 2017 11:59 am

Weeman0000 wrote:
Thu Feb 02, 2017 11:54 am
Good morning and thanks.

Do you know what server files these are for?
https://bitbucket.org/l2jserver/profile/repositories

If unknown do you know where the helios server files are?
viewtopic.php?f=114&t=32244
Image

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Thu Feb 02, 2017 12:31 pm

Ahh no Helios support. Ok got ya.

So what client are these https://bitbucket.org/l2jserver/ for then? They are the most up to date ones so someone must know?

Do you have a server, if so all i need is client name and location of server pack. Its been about 6 years since i last made an L2C4 server and all the guides with links to the files are either dead or linking to dmac takedown noticed files. (github) All i can see are those server files so if i know what client they match i wont need anymore assistance.

Thanks, also i was just in spain 3 days ago, bought a villa in the villamartin area :)

[EDIT]
Just noticed you can change branches.
"develop branch is the current High Five development" and thats default so that will be the client needed. I'll download the highfive client and test.

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Fri Feb 03, 2017 11:12 am

That Hi5 client i got must have been patched because LineageII and L2 never worked and gameguard only had one file in it. unable to get to login, gameguard damaged.

As the current working stable branch is the "Develop" branch from https://bitbucket.org/l2jserver/ can someone please tell me where to get the client? Unmodified legit L2 client that works with this branch.

Thank you.

Cody
Posts: 4
Joined: Tue Apr 04, 2017 5:44 pm

Re: [Guide] So you want a L2J Server

Post by Cody » Thu Apr 06, 2017 12:15 am

I can't see anything on Project Explorer and i can't make the Compiling in this case. What i have to do?

Image

HanNaGamSaDa
Posts: 16
Joined: Wed Jun 08, 2016 3:06 am

Re: [Guide] So you want a L2J Server

Post by HanNaGamSaDa » Thu Apr 06, 2017 5:09 am

Cody wrote:
Thu Apr 06, 2017 12:15 am
I can't see anything on Project Explorer and i can't make the Compiling in this case. What i have to do?

Image


You need to open navigator view and gradle tasks view as well.

Cody
Posts: 4
Joined: Tue Apr 04, 2017 5:44 pm

Re: [Guide] So you want a L2J Server

Post by Cody » Thu Apr 06, 2017 10:17 am

@HanNaGamSaDa on the Project Explorer i have imported as Gradle Project from local. I think i'm lost.
Image

jeeroos
Posts: 4
Joined: Sun Apr 02, 2017 1:32 am

Re: [Guide] So you want a L2J Server

Post by jeeroos » Fri Apr 07, 2017 1:23 pm

Cody wrote:
Thu Apr 06, 2017 10:17 am
@HanNaGamSaDa on the Project Explorer i have imported as Gradle Project from local. I think i'm lost.
Hi. Try to import the project from de Git Repositories tab, and then import as general project (or existing projects).

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Sun May 20, 2018 10:32 am

Well i did make the server but shortly after (about 2/3 weeks) my HDD died.

Trying to set it up again. Only thing im having issues with is the batch files. They all insta-close for some reason.
Game server, Loginserver ect :\

Also no idea how to compile it as building it just fails. I think a new guide is in order? :D

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Tue May 22, 2018 5:15 pm

Sorry for the double post.

Anyway iv managed (after formatting and putting W10 UAC and general over protectiveness on the naughty step) to compile both server and datapack.

Now... Well im not sure what to do. Cant run any of the database installers because i get "No suitable driver" error.

Also this guide is talking about dbinstaller cs? I checked the folder and theres nothing.

Also merging the two folders... It cant be a merge because the start server batches want the corresponding jar file but they are in other folders yet need to be in the same folder.


So anyone got a guide or would be willing to make a guide if you know what your doing? Even if its just text based. My memory is terrible so im writing my own guide as i go for future me. I cant be the only one? Who else has a readme lol?

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Thu May 31, 2018 11:54 am

Ok

Been looking at the file structures and im slightly further along.

Merged both dist folders and then added both build\dist\ rars which allows me to now get to installing the DB's

However. Im stuck with "The directory c:\windows\system32\..\sql\game does not exist!"
Not sure what the full url is :\ .. doesn't give any clue as to if its an auto install by mysql or if i need to make a folder?

Thinking back i never even compiled the DB last time and it was alot easier :\ think i manually installed last time too.
Ill keep at it but if anyone knows please let me know.

Weeman0000
Posts: 9
Joined: Wed Feb 01, 2017 10:50 pm

Re: [Guide] So you want a L2J Server

Post by Weeman0000 » Sun Jun 03, 2018 3:03 pm

Ok guys, finally got the server and client working correctly and have made an up to date guide for anyone struggling.
(MODS)If links to youtube and or your own bitbucket is disallowed ill edit or you can remove the links.

L2j live chat - https://gitter.im/L2J/Community
L2 Bitbucket - https://bitbucket.org/l2jserver/

L2 Server - https://bitbucket.org/l2jserver/l2j_server.git
L2 DataPack - https://bitbucket.org/l2jserver/l2j_datapack.git


L2Hi5 - www.source-your-own.sigh.facepalm :+1: :silent:
L2Hi5 System - https://www.youtube.com/watch?v=8gJK1DeR9mQ


MY SQL: - root
- PUT PASSWORD HERE SO YOU REMEMBER


Download L2H5 client.
Install Mysql Community server 8 and Navicat.
Install Java redist 8.172 and Java Dev Kit 8.172.

Run Eclipse, in project explorer (Window > View > Project Explorer) right click and import GIT from URL. Use L2 Server + Datapack url's above.
Right click build.gradle on both Data and Server and run as build.

Merge both Datapack and Server \dist folders to a folder called Server.
Unrar and add in both Datapack and Server \build\distributions to that Server folder.

Install Xammp and make sure Mysql is running.

Run Navicat and make a new connection to MySQL. Call it Lineage2
Create Databases l2jls and l2jgs (utf8-general_ci encoding)

Go to Server\login\config\LoginServer.prop and make sure the mysql password is correct
Go to Server\game\config\Server.prop and make sure the mysql password is correct
Go to Server\tools and run dbinst_gl and _ls.
Go to Server\login and run RegisterGameServer.bat and pick a server ID
Go to Server\login and run AccountManager.bat and make an account.

To allow external connections go to Server\game\config and rename default-ipconfig to ipconfig and edit (gameserver address="External IP")
Forward ports 7777 and 2106

To join locally add this to hosts file
127.0.0.1 l2authd.lineage2.com

To join externally add this to hosts file
EXTERNAL IP l2authd.lineage2.com



Notes: - Client needs microsoft visual c++ 2005 sp1 redistributable package (x86)
- Fresh install of the game is a very low version so google:- Lineage2 High-Five and L2JServer on Windows 10 - YouTube
- Use Hi5 system folder

Dont edit L2.ini (No need)


Change rates and stuff in Server\game\L2J_Configurator.jar



GM / Admin guide:

access level 8 = GM

Go into the DB under characters or accounts
Change the value of accessLevel to 8

//admin = Opens the admin window.
//gmchat = Allows you to talk to yourself.
//invul = Makes you unkillable and sleekit.
//gmshop = Makes you allergic to cats.

doommetal
Posts: 1
Joined: Sun Oct 08, 2017 10:51 pm

Re: [Guide] So you want a L2J Server

Post by doommetal » Wed May 15, 2019 12:49 pm

Hello people, i know that maybe it's a dead/closed topic, but i think that they are moving the source Git to another system to clone and compile it. maybe Maven?, idk, someone can help me?

User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 6912
Joined: Tue Aug 11, 2009 3:36 am

Re: [Guide] So you want a L2J Server

Post by Zoey76 » Sat Aug 17, 2019 10:55 pm

doommetal wrote:
Wed May 15, 2019 12:49 pm
Hello people, i know that maybe it's a dead/closed topic, but i think that they are moving the source Git to another system to clone and compile it. maybe Maven?, idk, someone can help me?
Follow the guide here http://www.l2jserver.com/
Using Eclipse 4.12 - OpenJDK11 - MariaDB 10.4 - L2J Server 2.6.1.0

Locked