There are many programs for creating your own Lineage II server. One of the most popular is the Gracia, thanks to its wide customization options and the large number of available configurations. In which, however, it is easy to get confused.
It is necessary
- - unpacked Gracia server;
- - customized MySQL and Java
Instructions
Step 1
Go to the Tools folder, which is located in the directory with the unpacked server. Find the file "database_installer.bat", and edit it (right mouse button - "Change").
Step 2
In the "set lspass" field, enter the password that was specified during the MySQL installation. In the "set gpass" field, enter the same password again. Save the file and close it.
Step 3
Run the database_installer.bat application. Answer the installer's questions by pressing the Enter key. After the message “Choose (no default for fresh install):” appears, enter the letter “f”, press Enter again. If the installer asks any question again, just press the "y" key.
Step 4
Open the server.properties file located in the config folder using notepad. In the items "ExternalHostname", "Internal Hostname", "LoginHost" and "GameserverHostname" specify your external IP (if you want someone else to be able to connect to the server), or leave the value "127.0.0.1". In the "Password" field, enter your password that was entered during the MySQL installation.
Step 5
In the folder "login" - "config" find the file loginserver.properties, in which edit the values of "ExternalHostname", "InternalHostname", "LoginserverHostname" and "Loginhostname" (specify the same IP as in the case with the previous file). In the "Password" field, enter your MySQL password again.
Step 6
In the /gameserver/config/General.properties file, change the GameGuardEnforce value to False. Then go to the root "login" folder and run RegisterGameServer.bat. Enter the number "1", press Enter.
Step 7
A text document "hexid (server1).txt" will be created in the folder, which must be moved to the "gameserver / config" folder, and then renamed to "hexid.txt" (without "server1").
Step 8
Start the server using the startGameServer.bat file (in the gameserver folder). Log in using the startLoginServer.bat file located in the login folder. The setup is complete.