ГС не находит ЛС (или наоборот?)
Сборка: l2j interlude (точно не помню, но в файлах проскакивал линк),
Проблема: собственно ГС и ЛС запускаются нормально, поначалу логи девственно чисты. Клиент коннектицо, но что бы я не делал - гейм надежно лежит (хотя повторюсь поначалу логи чистые и серв работает).
По прошествии времени оказывается ещё и что гейм успешно падает (ниже логи).
Плз, помогите разобратся. И так ни одна сборка не хотела запускатся, а теперь единственная что запустилась ещё и косячит.
Логи:
loading login config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1cfn2ye841a76rwr1rgoyvn|151a64ed, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1cfn2ye841a76rwr1rgoyvn|151a64ed, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
Loading LoginContoller...
Cached 10 KeyPairs for RSA communication
Stored 20 keys for Blowfish communication
Loaded 127 server names
Loaded 1 registered Game Servers
Cached 10 RSA keys for Game Server communication.
Loaded 2 IP Bans.
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2106
Selector Started
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@122b7db1 -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@122b7db1 -- APPARENT DEADLOCK!!! Complete Status:
Managed Threads: 3
Active Threads: 3
Active Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@66922804 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@6d7e845a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@d2368df (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
Pending Tasks:
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@fba0f36
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@3caa4b
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@ed0220c
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@26b496d
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@51a19458
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@47124746
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@105691e
Pool thread stack traces:
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
com.mysql.jdbc.Connection.execSQL(Connection.java:3250)
com.mysql.jdbc.Connection.execSQL(Connection.java:3179)
com.mysql.jdbc.Statement.executeQuery(Statement.java:1207)
com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:3
5)
com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultCo
nnectionTester.java:73)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnect
ionPool.java:374)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnec
tionPool.java:310)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
java.net.AbstractPlainSocketImpl.available(AbstractPlainSocketImpl.java:417)
java.net.SocketInputStream.available(SocketInputStream.java:234)
com.mysql.jdbc.util.ReadAheadInputStream.available(ReadAheadInputStream.java:231
)
com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:911)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
com.mysql.jdbc.Connection.execSQL(Connection.java:3250)
com.mysql.jdbc.Connection.execSQL(Connection.java:3179)
com.mysql.jdbc.Statement.executeQuery(Statement.java:1207)
com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:3
5)
com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultCo
nnectionTester.java:73)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnect
ionPool.java:374)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnec
tionPool.java:310)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
java.net.PlainSocketImpl.socketAvailable(Native Method)
java.net.AbstractPlainSocketImpl.available(AbstractPlainSocketImpl.java:438)
java.net.SocketInputStream.available(SocketInputStream.java:234)
com.mysql.jdbc.util.ReadAheadInputStream.available(ReadAheadInputStream.java:231
)
com.mysql.jdbc.MysqlIO.clearInputStream(MysqlIO.java:911)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
com.mysql.jdbc.Connection.execSQL(Connection.java:3250)
com.mysql.jdbc.Connection.execSQL(Connection.java:3179)
com.mysql.jdbc.Statement.executeQuery(Statement.java:1207)
com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:3
5)
com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultCo
nnectionTester.java:73)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnect
ionPool.java:374)
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnec
tionPool.java:310)
com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999)
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
loading gameserver config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1cfn2ye841a76ip71nayrgb|5f7a8a02, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1cfn2ye841a76ip71nayrgb|5f7a8a02, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2jdb, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 10, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
L2J Server Version: ${l2j.revision}
L2J Datapack Version: ${l2jdp.revision}
Updated characters online status.
Cleaned 0 elements from database.
IDFactory: 102912 id's available.
SkillTreeTable: Loaded 35498 skills.
FishingSkillTreeTable: Loaded 109 general skills.
FishingSkillTreeTable: Loaded 8 dwarven skills.
EnchantSkillTreeTable: Loaded 13200 enchant skills.
PledgeSkillTreeTable: Loaded 64 pledge skills
ItemTable: Loaded 1014 Armors.
ItemTable: Loaded 6880 Items.
ItemTable: Loaded 1313 Weapons.
Extractable items data: Loaded 333 extractable items!
Summon items data: Loaded 14 summon items.
TradeController: Loaded 506 Buylists.
TradeController: Loaded 120 Limited Buylists.
Initializing Walkers Routes Table.
WalkerRoutesTable: Loaded 167 Npc Walker Routes.
RecipeController: Loaded 871 Recipes.
ArmorSetsTable: Loaded 51 armor sets.
FishTable: Loaded 270 Fishes.
SkillSpellbookTable: Loaded 334 Spellbooks.
CharTemplateTable: Loaded 89 Character Templates.
Cache[HTML]: Running lazy cache
Cache[Crest]: 0.000MB on 0 files loaded. (Forget Time: 300s , Capacity: 50)
Restored 0 clans from the database.
NpcTable: Loaded 6520 Npc Templates.
NpcTable: Loaded 439 Minions.
HennaTable: Loaded 180 Templates.
HennaTreeTable: Loaded 7128 Henna Tree Templates.
Helper Buff Table: Loaded 14 Templates.
Geodata Engine: Disabled.
Initializing ClanHallManager
Loaded: 0 clan halls
Loaded: 44 free clan halls
Initializing CastleManager
L2World: Setting up World Regions
L2World: (87 by 128) World Region Grid set up.
Loaded: 9 castles
Initializing SiegeManager
TeleportLocationTable: Loaded 649 Teleport Location Templates.
LevelUpData: Loaded 89 Character Level Up Templates.
Loading zones...
Initializing ArenaManager
Initializing TownManager
Initializing OlympiadStadiaManager
Initializing FishingZoneManager
Done: loaded 111 zones.
Siege of Oren: Sun Nov 08 16:00:00 UTC 2009
Siege of Giran: Sun Nov 08 16:00:00 UTC 2009
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2jserver.com
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ================================================================================
===================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=174.143.157.182
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=10.177.6.104
# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
# 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 Seciurity to leave this option as defalut (True)
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=...
MaximumDbConnections=10
# 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)
IpUpdateTime=15
# ==============================================================
# 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
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => http://l2jserver.com
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit http://www.whatismyip.com
# ================================================================================
===================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777
# 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=127.0.0.1
# 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 = 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=...
MaximumDbConnections=100
# Datapack root directory, defaults to current directory from which the server is started
# DatapackRoot = C:/Work/tmp/DataPack
# Define character name template
# Example to use only : CnameTemplate=[A-Z][a-z]{3,3}[A-Za-z0-9]*
# will allow names with first capital letter, next three small letters,
# and any (capital or not) letter or number, like ZbigN1eW
# Most rational to have CnameTemplate=[A-Z][a-z]*
# meaning names only of letters with first one capital, like Zbigniew
# Default .* - any namy of any symbols
CnameTemplate=.*
PetNameTemplate=.*
# Maximum number of chars per account - Default 7 (0 = unlimited [7 is the client limit])
CharMaxNumber = 7
# Define how many players are allowed to play simultaneously on your server.
MaximumOnlineUsers=20
# Minimum and maximum protocol revision that server allow to connect.
# You must keep MinProtocolRevision <= MaxProtocolRevision.
MinProtocolRevision = 740
MaxProtocolRevision = 746
ИМХО: почитал на форуме про APPARENT DEADLOCK. Любопытно (не хватает ресурсов, да?), но все же не из-за него же ЛС ГС не находит :(
Хм...,у тебя действительно L2J Interlude?Скомпилил 252ю ревизию,каких то проблем с установкой,запуском и настройкой не было.
Непонятно почему у тебя в конфигах ГС одни звёздочки.
Попробуй как у меня сделать:
ЛС-
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=192.168.0.8
# 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=*
LoginserverPort=2106
# 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 Seciurity 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_int
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=silver
MaximumDbConnections=10
ГС-
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777
# 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=192.168.0.8
# 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=127.0.0.1
# The Loginserver host and port
LoginPort=9014
LoginHost=127.0.0.1
# 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_int
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=silver
MaximumDbConnections=100
Вместо 127.0.0.1 ставь свой внутренний,вместо 192.168.0.8 свой внешний.
Пробуй.
Спс что отозвался :)
Уже ради интереса сам скомпилил l2jserver последнюю реву. Та же ошибка (в конфигах везде прописаны айпи, никаких звездочек)
Sharky: Спс что отозвался :)
Уже ради интереса сам скомпилил l2jserver последнюю реву. Та же ошибка (в конфигах везде прописаны айпи, никаких звездочек)
Сейчас поставлю сборь на свой комп,и попробую,если удачно будет,дам тебе свой ip забьёшь его в ini.
Если будет всё пучком пропишу свои настройки.
Так,настроил,вот конфиги ЛС-
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname=92.127.52.59
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname=192.168.0.1
# Bind ip of the LoginServer, use * to bind on all available IPs
LoginserverHostname=*
LoginserverPort=2106
# 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 Seciurity 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_int
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=silver
MaximumDbConnections=10
И ГС-
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname=*
GameserverPort=7777
# 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=92.127.52.59
# 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=192.168.0.1
# The Loginserver host and port
LoginPort=9014
LoginHost=192.168.0.1
# 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_int
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
Login=root
Password=silver
MaximumDbConnections=100
Я зашел с своего компа на котором запустил сборку,если зайдёшь значит конфиги правильные,давай жду.
92.127.52.59
Собственно у меня конфиг точно такой же за исключением айпи и конфига бд
К слову - я поставил L2jTeon, но у него ТА ЖЕ проблема (все запускается, уже даже гейм вроде не валится, но ЛС не видит ГС). Сервер проклят или я матчасть плохо учил в детстве?
Появилась идея. Не знаю как работает механизм пинга сервера у ЛС, но думаю что оно ищет какой ГС ответит ему прописаным в БД хексидом. Возможно лопата где-то здесь?
Матчасть сынок. Там все делается за 2 минуты. Просто надо подойти к этому с головой а не тяп ляп бум бум. Дефолтный конфиг вообще не допускается... Может натолкнет на мысль.
— Ммм... Мхост... Творит чудеса
честно - не натолкнуло ни на что кроме как "читать конфиги". Под виндой на локалке вообщем-то все увы работает. Так что объясните тупому если можно :)
LOGIN
ExternalHostname=174.143.157.182
InternalHostname=10.177.6.104
LoginserverHostname=10.177.6.104
LoginserverPort=2106
LoginHostname=127.0.0.1
LoginPort=9014
GAME
GameserverHostname=174.143.157.182
GameserverPort=7777
ExternalHostname=174.143.157.182
InternalHostname=10.177.6.104
LoginPort=9014
LoginHost=127.0.0.1
— Ммм... Мхост... Творит чудеса
с вашим конфигом не коннектится клиент (ну и ГС к ЛС на пару), если ставлю LoginHostname=внешний ип, то клиент коннектится, но старый результат
Если заходишь,значит не в сборке дело...
p.s: для локальных пользователей в ini надо прописать внутрисетевой ip сборки.
Sharky: сервер удаленный. Какие локальные пользователи? :)
Надо было указать.
Ну тогда розобрались,я просто думал сборочка в локалке.
Разговаривай с владельцем хоста.
Только сейчас увидел что у вас DEADLOCK срабатывает на ЛС, поэтому и не работает. Отключайте его или возьмите по дефолту из конфига со сборки.
— Ммм... Мхост... Творит чудеса
mhost, в принципе дедлока уже давно не видел. Точнее с момента как запостил тему
К слову - ГС не может же полчаса подгружать данные, правда? :) Я тут обратил внимание что логи ГС заканчиваются на:
HennaTable: Loaded 180 Templates.
HennaTreeTable: Loaded 7128 Henna Tree Templates.
=======================================================================-[ Npc ]
NpcTable: Loaded 6579 Npc Templates.
NpcTable: Loaded 445 Minions.
=================================================================-[ Spawnlist ]
Что-то тут не то =\ (ГС и ЛС не падают)
Может ему памяти не хватает,попробуй в батнике её увеличить.
У L2j её маловато (java -Xmx512m) но у меня загружается нормально.

