дебаг включил? без дебага тоже все хорошо былозапускал на java jdk 1.8.0_241 / mysql 5.7.25
Код:www.l2rus.info Loading LoginServer Configuration Files... Loading loginserver.cfg Loading mmo.cfg Loading telnet.cfg 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 -> 1hge11mahpjoi5f1drknp2|2aae9190, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge11mahpjoi5f1drknp2|2aae9190, idleConnectionTestPeriod -> 3600, initialPoolSize -> 10, jdbcUrl -> jdbc:mysql://localhost/l2rus, 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 LoginController... 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 3 IP Bans. Listening for GameServers on 127.0.0.1:9014 Telnet server is currently disabled. Login Server ready on 127.0.0.1:2106
это точно верно настроенный конфиг?
Код:URL = jdbc:mysql://localhost/l2jdb # Database user info (default is "root" but it's not recommended) Login = root # Database connection password Password = root
# ---------------------------------------------------------------------------
# Настройки для тестов и разработок
# ---------------------------------------------------------------------------
# По умолчанию: False
Debug = False
# По умолчанию: False
Assert = False
# По умолчанию: False
Developer = False
# Packet handler debug output
# Default: True
PacketHandlerDebug = False
При выключенном дебаге у меня так@mT-Group,
Код:# --------------------------------------------------------------------------- # Настройки для тестов и разработок # --------------------------------------------------------------------------- # По умолчанию: False Debug = False # По умолчанию: False Assert = False # По умолчанию: False Developer = False # Packet handler debug output # Default: True PacketHandlerDebug = False
www.l2rus.info
Loading LoginServer Configuration Files...
Loading loginserver.cfg
Loading mmo.cfg
Loading telnet.cfg
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 -> 1hge0wdahpkaj7kboaqsp|2911a3a4, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0wdahpkaj7kboaqsp|2911a3a4, 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 LoginController...
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 0 IP Bans.
Listening for GameServers on *:9014
Telnet server is currently disabled.
Login Server ready on *:2106
Starting L2J_CE Login Server.
www.l2rus.info
Loading LoginServer Configuration Files...
Loading loginserver.cfg
Loading mmo.cfg
Loading telnet.cfg
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 -> 1hge0wdahpkc1dysp9wpp|2911a3a4, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0wdahpkc1dysp9wpp|2911a3a4, 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 LoginController...
Cached 10 KeyPairs for RSA communication
Stored 20 keys for Blowfish communication
Loaded 127 server names
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.l2j.gameserver.ThreadPoolManager.getInstance(ThreadPoolManager.java:87)
at net.sf.l2j.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:223)
at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(GameServerTable.java:156)
at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:89)
at net.sf.l2j.loginserver.GameServerTable.load(GameServerTable.java:70)
at net.sf.l2j.loginserver.L2LoginServer.<init>(L2LoginServer.java:138)
at net.sf.l2j.loginserver.L2LoginServer.main(L2LoginServer.java:56)
Caused by: java.lang.IllegalArgumentException
at java.util.concurrent.ThreadPoolExecutor.<init>(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.<init>(Unknown Source)
at net.sf.l2j.gameserver.ThreadPoolManager.<init>(ThreadPoolManager.java:102)
at net.sf.l2j.gameserver.ThreadPoolManager.<init>(ThreadPoolManager.java:64)
at net.sf.l2j.gameserver.ThreadPoolManager$SingletonHolder.<clinit>(ThreadPoolManager.java:464)
... 7 more
Server terminated abnormaly
server terminated
Для продолжения нажмите любую клавишу . . .
18. ERROR in \SagasSuperClass.java (at line 772)
AutoChat(npc,Text[5].replace("PLAYERNAME",player.getName()));
^^^^^^^
The method replace(char, char) in the type String is not applicable for the arguments (String, String)
Хорошо, сейчас 7 поищу. Но на 6й яве тоже самое было@mT-Group, ну в любом случае ява 8 не подходит, если не хотите переписывать часть датапака для устранения подобных ошибок
Код:18. ERROR in \SagasSuperClass.java (at line 772) AutoChat(npc,Text[5].replace("PLAYERNAME",player.getName())); ^^^^^^^ The method replace(char, char) in the type String is not applicable for the arguments (String, String)
с учетом древности сборки, предположу что нужна 7 ява
не работает@mT-Group, ну в любом случае ява 8 не подходит, если не хотите переписывать часть датапака для устранения подобных ошибок
Код:18. ERROR in \SagasSuperClass.java (at line 772) AutoChat(npc,Text[5].replace("PLAYERNAME",player.getName())); ^^^^^^^ The method replace(char, char) in the type String is not applicable for the arguments (String, String)
с учетом древности сборки, предположу что нужна 7 ява
Нашел решение. Поставил буржуиский патч + фикс под вин 10. Зашло. Всем спасибо@mT-Group, у меня больше нет вариантов что не так с этой сборкой
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?