Рейтинг темы:
  • 1 Голос(ов) - 1 в среднем
  • 1
  • 2
  • 3
  • 4
  • 5
Проблема: connect gameserver with loginserver
#1
Скаченная версия:
Java Server от L2jserver для клиента Lineage 2 HellBound

Устанавливал по описанию:
http://forum.zone-game.info/f41/manual-u...rt-26.html

Не по описанию, сменил порт логин и гейм сервера
2108 на 2110 и 7777 на 7788
Так же, внешний и внутренний IP у меня одинаковые.

Конфигурационный файл 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=77.555.555.55

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=77.555.555.55

# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2110
# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan=10
# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)
LoginBlockAfterBan=600
GMMinLevel=100

# The address on which login will listen for GameServers, use * to bind on all available IPs
LoginHostname=*

# The port on which login will listen for GameServers
LoginPort=9014

# If set to true any GameServer can register on your login's free slots
AcceptNewGameServer = False

# If false, the licence (after the login) will not be shown
# It is highly recomended for Account Security to leave this option as defalut (True)
ShowLicence = True

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=****
MaximumDbConnections=10
..........

Конфигурационный файл server.properties:
Код:
.........
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7788

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname=*

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname=*

# The Loginserver host and port
LoginPort=9014
LoginHost=77.555.555.55

# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to true, the login will give an other id to the server  if the requested id is allready reserved
AcceptAlternateID = True

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=****
MaximumDbConnections=100
.........


Логин сервер запускается!
Запускае гейм сервер, доходит до места коннекта к логин серверу и вот такая ошибка:

На гейм сервере:
Maximum Numbers of Connected Players: 100
Telnet server is currently disabled.
Damn! Registeration Failed: Reason: wrong hexid
Connecting to login on 77.555.555.55:9014

На логин сервере:
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2110
GameServer (77.555.555.55): Connection lost: socket closed
GameServer (77.555.555.55): Connection lost: socket closed
GameServer (77.555.555.55): Connection lost: socket closed


Делаю из вне telnet на 77.555.555.55 2110
:mщq
:x0<Е7o*∟↕>цLё9╧ЁльъаI▒@∟fщїЫh╛йЮдN9↓BZ/╞ЇXУ8↔5У^&Z╫9╝hЙS╞з.б
&Э▲8┌°5.м∟М<ЎUфLюumЦR═уI♦лЄiz╧T¤∟К╕$zhOGm`ЇЖС┬З5)вщ;╢&В►эР

Делаю из вне telnet на 77.555.555.55 9014
Rj┤нRuZtЫt╡RЧаФ┐Л☺iЦP▼#ЧЫВ║Pо▬вТг∟lЪЕї*CСL{╜Eб\ЄЇ╥¶╥У'Z
Ы☻д9╒@фEP╣;3O╔ AЗйЬ¶БЩ

Ну локально телнет тоже работает.

Всё, проблему решил, пропустил одну строчку в мануале, надо было переименовать файл hexid(server Х).txt в hexid.txt и скопировать в \server\gameserver\config
Ответ
#2
а что делать если второй гейм сервер стоит на отдельном компе и через некоторое время выдаёт "Damn! Registeration Failed: Reason alreday logged in" ????
Помог, тыкай Спасибо.....
Ответ
#3
зарегить сервер на 2ое место(через спец. тулзу в логине) и положит хексид в конфиг
Ответ
#4
млин это всё понятно, дисконект происходит не сразу ) а до этого всё гуд
Помог, тыкай Спасибо.....
Ответ


Возможно похожие темы ...
Тема Автор Ответы Просмотры Последний пост
  Lineage 2 PTS 287 Protocol Проблема PSIFAK 1 1,777 01-25-2023, 04:08 AM
Последний пост: Phantom-Dev
  Myext64HF проблема с сетью MystX 3 2,083 11-08-2022, 04:33 AM
Последний пост: Phantom-Dev
  Проблема с rguard\ftguard iDarkEmpire 13 6,820 07-22-2020, 11:31 PM
Последний пост: CTAJIIH
  Проблема с количеством ХП AerisRD 0 1,413 05-19-2020, 08:20 PM
Последний пост: AerisRD
  Проблема с запуском HF5 Shady 6 2,496 04-20-2020, 12:09 PM
Последний пост: Rork
  Проблема с откатами банок Amidamaru 14 4,132 04-04-2020, 05:52 PM
Последний пост: Blackone
  L2 PTS Проблема Reika 3 1,955 02-26-2020, 04:43 PM
Последний пост: Reika
  Проблема с купле-продажей на всех сборках Mor9k400 0 1,311 08-25-2018, 08:10 PM
Последний пост: Mor9k400
  Проблема с входом Windows 10 Alekseu28 1 1,822 03-13-2018, 09:34 AM
Последний пост: malum
  Проблема с св 13 Zelden 4 2,037 01-03-2018, 09:30 AM
Последний пост: ..Kirito..

Перейти к форуму:


Пользователи, просматривающие эту тему: 1 Гость(ей)