Tag: l2

  • how to – lineage 2 private server

    bro, talk about obscure. Will document a no nonsense, fully detailed process. Will build both interlude and high five servers and upload them to archive. Will include links and personal reups to both clients. Will include l2dat editor and custom l2.exe– void

    authors note – emulation isn’t always easy. gatekeeping is also a dick move. i’m going to try and give you the tools and information to be successful.


    what you need –

    Eclipse IDE for Java. It sucks but that’s what is used.

    https://www.eclipse.org/downloads/packages

    XAMPP for Windows

    https://www.apachefriends.org/download.html

    Liberica JDK 24

    https://bell-sw.com/pages/downloads/#jdk-24


    zrfks special downloads

    https://archive.org/details/interlude.-7z_202509 – L2 Interlude Client

    https://archive.org/details/l-2_20250914 – L2 Custom EXE

    https://archive.org/details/l-2-client-dat-20250501 – L2 Client DAT Editor (for modifying encrypted files such as l2.ini, lets you change server address)


    why you need

    Eclipse – the sole purpose is to clone the project GIT master, and to build the servers. You could go and look for a reputable source to provide the already compiled… but you also risk malware and what not.

    XAMMP – simply put, you don’t technically. You could just as well go and install / manage MYSQL by yourself. You could use any SQL DB I believe. MariaDB should work just as well standalone. What XAMMP does is streamline the whole fuckery for newbies.

    Liberica JDK 24 – you need JDK 24, this project was built around JDK 24. I don’t know if you specifically need Liberica. You should try to go with OpenJDK or straight up Oracle JDK 24. YMMV. Just grab this one.


    assumptions

    this how to assumes you are running this the server off your primary machine. i will add a note towards the end if you are doing all the bits on a VM or server, and you need to point your client in that direction (networking).


    Install

    Install Liberica JDK 24. Verify Enviroment Variables

    windows search environment, and enter the Edit the system environment variables menu

    Click Environment Variables

    Verify that JAVA_HOME is set to the Liberica JDK 24 directory.


    Install XAMMP

    Basic install. Default everything. Don’t start control panel at the end.


    At this point you are ready to unpack Eclipse. This part sort of sucks.

    Unzip it, then open eclipse.exe


    – Click on the top menu item “Window”.
    – Select “Show View”.
    – Click on “Other…”.
    – From the folder “Git” select “Git Repositories”.

    Checking out the project.
    – From the “Git Repositories” window click “Clone a Git repository”.
    – Type at URI: https://gitlab.com/MobiusDevelopment/L2J_Mobius.git
    – Click “Next >” button. Click “Next >” button.
    – Type at Directory: C:\eclipse\workspace\L2J_Mobius
    – Click the “Finish” button.
    – Wait for cloning to complete.
    – From the “Git Repositories” window double click “L2J_Mobius [master]”.
    – Double click “Working Tree”.
    – Right click on any project.
    – Click “Import Projects…”.
    – Click the “Finish” button.

    *If you have a “JRE System Library [JavaSE-24]’ in project” warnings.
     Add JDK 24 from menu Window -> Preferences -> Java -> Installed JREs.

    5. Compile the project.
    – From the “Package Explorer” expand the project tree to see “build.xml”.
    – Right click “build.xml”.
    – Select “Run as..”.
    – Click on “1 Ant Build”.
    – Wait for the “BUILD SUCCESSFUL” console message.
    – Go to C:\eclipse\workspace\L2J_Mobius\build folder to get your L2J_Mobius.zip file.


    Install MySQL service


    Go to your XAMMP folder.
    Run xampp-control as administrator.
    Click on the “X” button next to MySQL to install the service.
    Click “Yes”.
    Use the “Start” button to start the service.

    It says stop in the image above where it used to say start. Just pay attention. Don’t stop it after its been started.


    Unpack your build. Once complete, your working directory should look like this –


    Now, we install the database

    Go to “db_installer” folder.
    Open “DatabaseInstaller.vbs”

    Test Connection should yield success.

    Install Database. This takes a bit.


    Go to “login” folder, then to the “config” folder.

    Edit LoginServer.cfg

    Change this line to an asterisk *

    Save and exit.

    Go up to the “login” folder
    Run “LoginServer.vbs”.


    Go to “game” folder.
    Run “GameServer.vbs”.

    Inside the “login” folder, run AccountManager.vbs

    Account Manager

    Set up your own credentials as you see fit.

    Inside of the “login” folder exists the GameServerRegister.vbs file

    Game Server Register

    This application allows you to choose your server of broadcast. By default it is set to 2, Sieghardt. This is flavor text basically.


    Client Setup

    Unpack your L2 Interlude Client

    Rename the original L2.exe to L2.bin

    Unpack the custom L2.exe.


    Edit your client connection IP with L2ClientDat.bat

    Unpack L2ClientDat_20250501.zip

    Run L2ClientDat.bat

    Choose your Client version, click open and navigate to the system folder.

    C:\L2 Interlude\system or something of the sorts.

    Inside that directory, pick l2.ini and hit file select.

    You want to scroll to the section at the top where the ServerAddr value is. Either make this 127.0.0.1 if you’re running the server on your local machine, or whatever your LAN server address is.

    Save DAT and exit.


    Final Step –

    Run L2.exe, hit yes if asked.

    Log in with the credentials you created. If you get the terms and conditions, you’re doing good. Click accept and you should see your server, up, light traffic, and low ping. Anything outside of that is bad and you’ll have to retrace your steps.

    Login and rejoice.