[Guide] How to make L2J Gracia Server

в крайна сметка не разбрах нищо от това, имаш ли инсталирана датабаза вече?

Да даже съм оправил малко бъгове и сървъра си работи.
Много благодаря за помоща.

Но сега се питам дали има сървър на л2 за линукс и ако има може ли линк да го сваля :)
 
  • Like
Reactions: xmaniacbg
Значи да започнем от начало ползвам win32 vista home premium !
Пробвах със старите и новите версии на MySQL и NAVICAT и Java !
Построявам data и server packs и когато стигна до 7,8,9 ступка просто не тругват нещата и липсват ниакои настриоки , аз мислиа че Фреиа не се настроива по този начин или на мен не ми тругват тези неща 7ма,8ма,9та ступка ! Сега ако ме разбираш помогни моля !
Мерси предварително .
 
Значи да започнем от начало ползвам win32 vista home premium !
Пробвах със старите и новите версии на MySQL и NAVICAT и Java !
Построявам data и server packs и когато стигна до 7,8,9 ступка просто не тругват нещата и липсват ниакои настриоки , аз мислиа че Фреиа не се настроива по този начин или на мен не ми тругват тези неща 7ма,8ма,9та ступка ! Сега ако ме разбираш помогни моля !
Мерси предварително .

Така за стъпка 7 и 8 нещата са по различни да но не е сложно трябва да прочетеш внимателно какво пише в прозореца на база данни инсталатора,
до колкото за стъпка 8 аз съм настроил единственно
Server\gameserver\config\server.properties

Code:
# Where's the Login server this gameserver should connect to
# Default: 127.0.0.1
LoginHost = Твоето реално ИП
 
  • Like
Reactions: xmaniacbg
Мерси , Сега ште пробвам пак ! Но само още не ми е ясно това
" RegisterGameServer.bat" не тругва при мен ,какво да направя тогава и за beckup при исталатора тази директория C:\Program Files\MySQL\MySQL Server 5.1\bin ли да ползвам ?
Мерси отново !
 
Last edited:
Gameserver:
2011.02.01 17:52:22,884 INFO 10 com.l2jserver.Config Loading GameServer Configuration Files...
2011.02.01 17:52:22,946 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - DatapackRoot
2011.02.01 17:52:23,024 WARNING 10 com.l2jserver.Config Could not load HexID file (./config/hexid.txt). Hopefully login will give us one.
2011.02.01 17:52:23,024 INFO 10 com.l2jserver.Config Loaded 6 Filter Words.
2011.02.01 17:52:23,024 INFO 10 com.l2jserver.gameserver.GameServer -----------------------------------------------------------------=[ Database ]
2011.02.01 17:52:23,056 INFO 10 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging.
2011.02.01 17:52:23,165 INFO 10 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]
2011.02.01 17:52:23,368 INFO 10 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]
LoginServer:
01-Feb-2011 17:53:11 com.l2jserver.loginserver.L2LoginServer <init>
SEVERE: FATAL: Failed initializing database. Reason: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
java.sql.SQLException: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1116)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:866)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:789)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:298)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:312)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:100)
at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211)
at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:109)
at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)
2011.02.01 17:53:11,032 INFO 10 com.l2jserver.Config loading login config
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - PacketHandlerDebug
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - RequestServerID
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - AcceptAlternateID
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - DatapackRoot
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.Config Loading mmo.properties
2011.02.01 17:53:11,126 INFO 10 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging.
2011.02.01 17:53:11,235 INFO 10 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]
2011.02.01 17:53:11,438 INFO 10 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]
2011.02.01 17:53:11,438 SEVERE 10 com.l2jserver.loginserver.L2LoginServer FATAL: Failed initializing database. Reason: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
Това са логовете ако имате нешто на ум помагаите моля!
 
Gameserver:
2011.02.01 17:52:22,884 INFO 10 com.l2jserver.Config Loading GameServer Configuration Files...
2011.02.01 17:52:22,946 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - DatapackRoot
2011.02.01 17:52:23,024 WARNING 10 com.l2jserver.Config Could not load HexID file (./config/hexid.txt). Hopefully login will give us one.
2011.02.01 17:52:23,024 INFO 10 com.l2jserver.Config Loaded 6 Filter Words.
2011.02.01 17:52:23,024 INFO 10 com.l2jserver.gameserver.GameServer -----------------------------------------------------------------=[ Database ]
2011.02.01 17:52:23,056 INFO 10 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging.
2011.02.01 17:52:23,165 INFO 10 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]
2011.02.01 17:52:23,368 INFO 10 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]
LoginServer:
01-Feb-2011 17:53:11 com.l2jserver.loginserver.L2LoginServer <init>
SEVERE: FATAL: Failed initializing database. Reason: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
java.sql.SQLException: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1116)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2338)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:119)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:143)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:132)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:866)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:789)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:298)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:312)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
at com.l2jserver.L2DatabaseFactory.<init>(L2DatabaseFactory.java:100)
at com.l2jserver.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:211)
at com.l2jserver.loginserver.L2LoginServer.<init>(L2LoginServer.java:109)
at com.l2jserver.loginserver.L2LoginServer.main(L2LoginServer.java:56)
2011.02.01 17:53:11,032 INFO 10 com.l2jserver.Config loading login config
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - PacketHandlerDebug
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - RequestServerID
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - AcceptAlternateID
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.util.L2Properties L2Properties: Missing property for key - DatapackRoot
2011.02.01 17:53:11,095 INFO 10 com.l2jserver.Config Loading mmo.properties
2011.02.01 17:53:11,126 INFO 10 com.mchange.v2.log.MLog MLog clients using java 1.4+ standard logging.
2011.02.01 17:53:11,235 INFO 10 com.mchange.v2.c3p0.C3P0Registry Initializing c3p0-0.9.2-pre1 [built 27-May-2010 01:00:49 -0400; debug? true; trace: 10]
2011.02.01 17:53:11,438 INFO 10 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ java.beans.IntrospectionException: java.lang.reflect.InvocationTargetException [numThreadsAwaitingCheckoutDefaultUser] ]
2011.02.01 17:53:11,438 SEVERE 10 com.l2jserver.loginserver.L2LoginServer FATAL: Failed initializing database. Reason: null, message from server: "Host 'xmaniacbg-PC' is not allowed to connect to this MySQL server"
Това са логовете ако имате нешто на ум помагаите моля!

има ли направен кънекшън в навикат?
 
Да има и дори l2jcb и l2jdb с всички построени Tablets
Това дето си го оцветил в червено го показва когато не стартирвам с
"run as administrator" , а ето каво показва когато ги стартирам с "Run as administrator"
Starting L2J Login Server.

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/loginser
ver/L2LoginServer
Caused by: java.lang.ClassNotFoundException: com.l2jserver.loginserver.L2LoginSer
ver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.l2jserver.loginserver.L2LoginServer. Program
will exit.

Server terminated abnormaly


server terminated

Press any key to continue . . .

Starting L2J Game Server.

Exception in thread "main" java.lang.NoClassDefFoundError: com/l2jserver/gameserv
er/GameServer
Caused by: java.lang.ClassNotFoundException: com.l2jserver.gameserver.GameServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.l2jserver.gameserver.GameServer. Program will
exit.

Server terminated abnormaly


server terminated

Press any key to continue . . .

Незнам кво става, само един пут ме попита да му позволиа и това беше когато подкарах грациа парт 2 и от тогава при стартирване на логина не е искало разрешение . Премахвам MySQL и Navicat регистрите също рестартирам пцто и всичко на ново но не става .
Благодаря ти за помоща .
 
Мерси , Сега ште пробвам пак ! Но само още не ми е ясно това
" RegisterGameServer.bat" не тругва при мен ,какво да направя тогава и за beckup при исталатора тази директория C:\Program Files\MySQL\MySQL Server 5.1\bin ли да ползвам ?
Мерси отново !

Right click> Run as administrator..
 
  • Like
Reactions: xmaniacbg
e mislishli che ne sum probval.
za 64 bit e buildnato ,to za tova ne trugva .
podkarah si servacheto freya versia obache na win server 2008 r2 x64 i mersi vse pak
 
Здравейте! С Уиндоус 7 (32 бита) съм и имам проблем при конфигурирането на MySQL. Дава ми
a7a153915ff42208.jpg

Пробвах около 10 пъти като преинсталирвах програмата наново но уви все същото.
 
Спри си защитната стена, грешката я вади или защото се опитваш да се свържеш с грешно име/парола или защото защитната стена блокира порт 3306.
 
3: Теглим си JDK 6 Update 16 или по нова версия от: тук - не работи..