Скаченная версия:
Java Server от L2jserver для клиента Lineage 2 HellBound
Устанавливал по описанию:
http://forum.zone-game.info/f41/manu...-sf-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