Download and installation
1.- Data Base:
Below, we show all the connections and download downloads available for your server. Choose the most desired one!
Windows
- MySQL Server (https://dev.mysql.com/downloads/) (MySQL).
- Wamp Server (http://www.wampserver.com/en) (Apache2, PHP and a MySQL).
- XamppServer (https://www.apachefriends.org/es/index.html) (MariaDB, PHP, and Perl).
Ubuntu
- Manual Install Guide (http://www.l2jdevs.org/forum/index.php?topic=202.0) (Apache2, PHP and a MySQL).
2.- Java JDK:
Essential requirement for your server to run and function correctly.
- Link for Donwload (https://jdk.java.net/17/).
- Manual Install Guide (WIN) (http://www.l2jdevs.org/forum/index.php?topic=501).
- Manual Install Guide (UBUNTU) (http://www.l2jdevs.org/forum/index.php?topic=500).
3.- L2JDevs Server Files:
The repository system allows easy simultaneous modification of the files from the developers. The current repository location is in: https://gitlab.com/L2JDevs
The Git system has something called "Branches". And the purpose is to separate different code versions, remember use master branch!
At this point, we must decide whether we want the compiled version or create it ourselves. If you are new, we recommend the compiled version.
For more experienced users who want to edit the server files. We leave the guide how to do it!
Other guides for this step, created by our users!
- Update java version without installing (https://www.l2jdevs.org/forum/index.php?topic=94)
Server Configuration
1.- Setting Up Files:
Now we must unite everything we have and create our server!
DATA FOLDER:
-> Navigate to your L2J_DATAPACK file.
-> Look for the build folder.
-> Inside the build folder extract the compressed file.
-> Copy all the content into a new folder you can call it how you want.
CORE FOLDER:
-> Navigate to your L2J_SERVER file.
-> Look for the build folder.
-> Inside the build folder extract the compressed file.
-> Copy all the content into the folder you created. It will ask to overwrite. This is normal, press yes.
RESULT:
(https://i.imgur.com/bc06ia1.png)
Other guides for this step, created by our users!
OPTION 1 (http://www.l2jdevs.org/forum/index.php?topic=205.0)
2.- Setting Up Properties:
Before installing the database of our server, we must configure it so that it can do it.
-> Go to folder YourServer\game\config and edit Server.properties (notebook for example) this values:
(https://i.imgur.com/ud917if.png)
- URL: enter the database name of your game server.
- Login: enter the MySQL user (see .my.cnf file in your sql server or create new profiles).
- Password: enter the MySQL password for the user (see .my.cnf file in your sql server or create new profiles).
-> Go to folder YourServer\login\config and edit LoginServer.properties (notebook for example) this values:[/b]
(https://i.imgur.com/htCt6nk.png)
- URL: enter the database name of your login server.
- Login: enter the MySQL user (see .my.cnf file in your sql server or create new profiles).
- Password: enter the MySQL password for the user (see .my.cnf file in your sql server or create new profiles).
*WARNING: Only edit what is marked, to indicate name of db, not edit "?useSSL=false&serverTimezone=UTC"!!
Other guides for this step, created by our users!
Soon! Waiting new post!
Installing Database
1.- Install tables of game and login server:
Now, we proceed to the installation of the server database. Go to folder YourServer\tools:
(https://i.imgur.com/MHEzmDy.png)
And execute dbinst_gs.jar and dbinst_ls.jar for install database of your server.
(https://i.imgur.com/CwOs3Bh.png)
* You need java (https://www.java.com/inc/BrowserRedirect1.jsp?locale=en) for execute .jar files.
2.- Create connection between login, game and client:
Go to folder YourServer\login and execute "RegisterGameServer".
(https://i.imgur.com/Y6R0Akh.png)
You must indicate the server id. Default 1
This generate new file "hexid.txt" in YourServer\login, that contains id and hexcode for your server and allow to connect with the client.
Now move hexid.txt to YourServer\game\config folder.
Other guides for this step, created by our users!
Soon! Waiting new post!
Launch Server
For run your server, we just have to execute the following:
RUN LOGIN SERVER:
Windows -> Go to YourServer\login and execute startLoginServer.bat
Ubuntu -> Go to YourServer\login and execute startLoginServer.sh
RUN GAME SERVER:
Windows -> Go to YourServer\game and execute startGameServer.bat
Ubuntu -> Go to YourServer\game and execute startGameServer.sh
Other guides for this step, created by our users!
Soon! Waiting new post!