Здравствуйте, гость ( Вход | Регистрация )

Навигация

Ссылки форума

Навигация по форуму

Острая проблема Loginserver, догадваюсь что и с GS будет тоже самое
Xargasus
сообщение 11.11.2008, 7:17
Сообщение #1



12
Группа: La2base Clients
Сообщений: 141
Регистрация: 7.3.2008
Поблагодарили: 46 *


Суть проблемы такова

1) Вот мои настройки Логинсервера

Код
# ================================================================
# General login server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=127.0.0.1
LoginServerPort=2106
GMMinLevel=75

# The port, ip on which login will listen for GameServers
LoginHostname=127.0.0.1
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
ShowLicence = False

# 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=

# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0


# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

#Ban management
# number of attempt before a user is banned when he fails his login
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


С такими настрокайми сервер встает на ура, НО у меня динамисеский IP и по этому я пустил поток через no-ip (login.no-ip.biz)

С такими настройками

Код
# ================================================================
# General login server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=login.no-ip.biz
LoginServerPort=2106
GMMinLevel=75

# The port, ip on which login will listen for GameServers
LoginHostname=127.0.0.1
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
ShowLicence = False

# 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=

# Useable values: "True" - "False", use this option to choose whether accounts will be created
# automatically or not.
AutoCreateAccounts=True

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# (0 = disable)
IpUpdateTime=0


# ==============================================================
# Test server setting, shoudnt be touched in online game server
# ==============================================================

Debug = False
Assert = False
Developer = False
# Enforce GG Authorization from client
# Login server will kick client if client bypassed GameGuard authentication
ForceGGAuth=False

#FloodProtection. time in ms
EnableFloodProtection=True
FastConnectionLimit=15
NormalConnectionTime=700
FastConnectionTime=350
MaxConnectionPerIP=50

#Ban management
# number of attempt before a user is banned when he fails his login
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



Сервер выдает постоянно ошибку следующего характера


Код
Starting L2J Login Server.

INFO : loading login config
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; tra
ce: 10]
INFO : Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acq
uireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCom
mitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcqui
reFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
dataSourceName -> 1g1v637x127kd9zcioy7t|704baa, debugUnreturnedConnectionStackTr
aces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factor
yClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToke
n -> 1g1v637x127kd9zcioy7t|704baa, idleConnectionTestPeriod -> 60, initialPoolSi
ze -> 3, jdbcUrl -> jdbc:mysql://localhost/l2jdb, lastAcquisitionFailureDefaultU
ser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime
-> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0,
maxStatementsPerConnection -> 100, minPoolSize -> 1, numHelperThreads -> 20, num
ThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties
-> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -
> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, use
sTraditionalReflectiveProxies -> false ]
INFO : Loaded 127 server names
INFO : LoginManager initiating
INFO : Cached 10 KeyPairs for RSA communication
INFO : Stored 20 keys for Blowfish communication
INFO : GameServerManager: Loaded 1
INFO : Cached 10 RSA keys for Game Server communication.
INFO : BanManager: Loaded 3 banned ip/subnet(s).
INFO : Listening for GameServers on 127.0.0.1:9014
INFO : Telnet server is currently disabled.
FATAL : FATAL: Failed to open server socket. Reason: Cannot assign requested add
ress: bind java.net.BindException: Cannot assign requested address: bind
        at sun.nio.ch.Net.bind(Native Method)
        at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
119)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
        at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
        at com.l2jserver.mmocore.network.SelectorThread.openServerSocket(Selecto
rThread.java:131)
        at net.sf.l2j.loginserver.L2LoginServer.startServer(L2LoginServer.java:1
43)
        at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:133)
        at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:77)


Server terminated abnormaly


server terminated

Для продолжения нажмите любую клавишу . . .



Подозреваю что тоже самое будет с ГС. Постоянного статичного ИП не имею. Подскажие как решить данный вопрос!
Сборка L2J Free Intelude, до этого стояла база 1.1.3 - конект шел без проблем, хотя подобная ошибка была но была проблема в портах. Все порты открыты.
Не уж то сборка перестала поддерживать буквыенные хосты?

PS: Прописал

Код
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=localhost
LoginServerPort=2106
GMMinLevel=75


Заработал , следовательно он 90% поддерживает буквенные адреса хоста. Тогда в чем же проблема :-S

PS2: Хм.. тупо не поверил интуиции но решил попробовать. Прописал так (поставил пробел перед буквенным адресом хоста):

Код
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname= login.no-ip.biz
LoginServerPort=2106
GMMinLevel=75


Дома заработало :) Незаю буду тестировать на машине, как только так отпишу. Может кому мои логи помогут.
Но проблема пока еще в силе!!!!

Сообщение отредактировал Xargasus - 11.11.2008, 7:18
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов (1 - 1)
xpasha
сообщение 9.4.2009, 8:53
Сообщение #2



Умелец
Группа: Advanced Members
Сообщений: 203
Регистрация: 2.8.2007
Поблагодарили: 38 *


Дело в том, что айпи прописывать надо только в ГС, в ЛС оставляй все по умолчанию.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 

RSS Текстовая версия Сейчас: 29.6.2026, 13:02