How to create a server Lineage?
Many would not refuse the opportunity to have their own Interlude server for the "line". But how to create a lineage server? Information scattered on the network is simply incomprehensible to many. We will try to systematize it and present it in a readable language.
First, you need to decide whether your computer has enough power to “pull out” the server. Any dual-core processor with a frequency of at least 2500 will be acceptable. From the estimated number of online users should pick up the RAM. If you count on five hundred people, then 8GB is quite enough, and if 1500-2000, then you need 8-16GB. High quality hard drive on 500mb. The motherboard is selected on the basis of processor power and RAM, the only thing is that it should be as modern as possible so that there is a reserve for upgrades.
We assume that the machine meets the requirements, and the Internet channel gives 100mb, which allows you to start creating your own lineage server. From the software, first of all we download MySQL5.1 Release (82mb).Note the password used during installation. Better to write it down. Next, download and install Java JDK, Navicat for MySQL and, in fact, the server Lineage - la2base 1.7 Final.
How to create a lineage server - instruction
Unzip La2Base_1.1.7.rar. The result should be 4 batch files and 7 folders. To create a database, run navicat.exe. Click in the opened window "Connection". The “General” tab is filled with the following:
- ConnectionName - Server;
- HostName / IPaddress - localhost;
- Port - by default;
- User name - by default;
- Password is what was written when installing MySQL. Click OK.
Double click on “Server” in the “Connections” tab to open the menu. Right-click the drop-down menu and select "New Database" (further DB). In the opened window in the tab “Enter DB Name” we write newjdb. Thus, a new DB was created. Getting started directly with the server Lineage.
In the server folder, open the “config” and then the “loginserver” file using notepad. After editing the file should be:
- Login = root - login;
- Password = what was written when setting up MySQL;
- MaximumDbConnections = 10 - the maximum number of possible connections to the database. We do the same with the “gameserver” file. At the output we get:
- Login = root - do not change;
- Password = what was written when setting up MySQL;
- MaximumDbConnections = 100 - the maximum number of requests to the GameServer;
- MaximumOnlineUsers = 100 - the maximum possible number of players online. Save the changes.A fairly large amount of work has been done to create your own lineage server.
The Russian description of the settings will help you in the remaining files to cope with the settings without problems. In the following folder “tools” we find the file “installer”, call the context menu, select “Change” and put the contents in order:
- set_lsuser = root - no change;
- set_lspass = what was recorded when installing MySQL;
- set_lsdb = newjdb - database name;
- set_lshost = localhost is the host name.
REM GAMESERVER - likewise. Save the changes and run the "installer".
In the window that opens, select the first item, respectively, click "1". After the message about installing the authorization server, we press any key. The same window will open. We press "1", then any key and wait for the end of the installation. Now the server is installed. Pressing an arbitrary key will lead to the initial window, and the command “3” will exit.
In the server folder, find the file “RegisterServer” and open it. Sequential pressing of "1", "Enter" results in obtaining the hexid file (server 1) .txt, which should be renamed to hexid.txt, copied, put into the "config" folder.
Next, register your own account. We start "LoginServer", then "GameServer" (it will take a long time to wait). After starting the login and game servers, edit the file l2.ini.First, download the program L2Dat_EncDec, install, run. In the directory selection window, specify the path to the "system". Click “load” and start editing the INI file: ServerAddr = 127.0.0.1. It's all. You have successfully participated in the topic of how to create your lineage server. Installations and settings are complete.
Briefly about adding weapons to the server. The selected weapon set is downloaded and unzipped. We get four folders. The contents of the “gameserver” folder are copied and placed in the folder where our server is located. We confirm the replacement.
Add the sql file to the newjdb database, for which we open it in the navigate and use the “Execute Butc File” command to open a window where we show the path to the sql file. Start.
Then open the file editor (FileEdit) compatible for your chronicle to edit the file (for weapons, as a rule, Weapongrp.dat). At the very bottom of the text, we make an insertion, copied earlier from our weapon file (system \ DragoIce Weapons \ Weapongrp.dat), and leave an empty line. Do not forget to see the file encoding version. Save the file without changing the encoding. Do the same with itemname-e file.
The contents of the systextures folder are copied and moved to the Interlude client folder of the same name. To be able to use the weapon in the game, you should move it through the admin panel or by adding it to the GM shop. Similarly, you can add and armor.
The lessons on how to create a lineage server are over. Good luck.