Открываем файл gameserver/config/server.properties (обычным блокнотом)
Приведу пример если вы хотите играть один на своём компьютере:
# Укажите здесь (ip) адрес вашего Игрового Сервера, Или используйте символ *
# -----------------------------------------------------------------------------------------------------
GameserverHostname=127.0.0.1
Gameser verPort=7777
# ================================================== ===========
# ================================================== ===========
# Если ваш сервер опубликован с помощью NAT укажите здесь ваш ВНЕШНИЙ IP. Или используйте символ *
# --------------------------------------------------------------------------------------------------------
ExternalHostname=127.0.0.1
# ================================================== ============
# ================================================== ============
# Если ваш сервер опубликован с помощью NAT укажите здесь ваш ВНУТРЕННИЙ IP. Или используйте символ *
# ---------------------------------------------------------------------------------------------------------
InternalHostname=127.0.0.1
# ================================================== =============
# ================================================== ===========
# Укажите IP адрес, и порты Вашего ЛОГИН сервера
# --------------------------------------------------------------------------------------------------------
LoginserverHostname=127.0.0.1
Log inserverPort=2106
LoginTryBeforeBan=20
# --------------------------------------------------------------------------------------------------------
LoginPort=9014
LoginHost=127.0.0. 1
# ================================================== ===
# Параметры Базы данных
# ---------------------------------------------------------------------------------------------
Driver=com.mysql.jdbc.Driver
URL=jdbc:mysql: //localhost/l2jdb
Login=root
Password=Ставим свой пароль который ввели в MySQL
MaximumDbConnections=10
Открываем файл login/config/loginserver.properties
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=127.0.0.1
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=127.0.0.1
# Bind ip of the loginserver, use * to bind on all available IPs
LoginserverHostname=127.0.0.1
LoginserverPort=2106
LoginTryBeforeBan=20
GMMinLevel=100
# Database info
Driver=com.mysql.jdbc.Driver
URL=jdbc:mysql://localhost/l2jdb
Login=root
Password=Ставим свой пароль который ввели в MySQL
Запускаем login/RegisterGameServer.bat
Welcome to l2j GameServer Regitering
Enter The id of the server you want to register or type help to get a list of id
s:
Your choice:0
Ставим 0 или другое значение которое вам нужно.
Получили hexid(server 0).txt
Переименовываем в hexid.txt и кладём в gameserver/config