Autor Tema: Problema instalando el server Rev 1993  (Leído 92 veces)

canonmagic

  • Newbie
  • *
  • Mensajes: 39
  • Karma: +0/-0
    • Ver Perfil
Problema instalando el server Rev 1993
« en: Junio 02, 2018, 05:34:27 pm »
Buenas, tengo un pequeño problema, estoy intentando correr la Rev 1093, ya hize checkout en eclipse y aplique los 3 builds a Gameserver Gamedata y Gamemod, tome los 3 archivos rar y los descomprimi... pero al momento en que intento correr el loginregister me da un error, tienen alguna idea de si he cometido algun error instalandolo o si me falta algun paso?

Código
#_____________________________________________________________________________#
#                __   ___     _ ___       __          _                       #
#               / /  |__ \   (_)   | ____/ /___ ___  (_)___  _____            #
#              / /   __/ /  / / /| |/ __  / __ `__ \/ / __ \/ ___/            #
#             / /___/ __/  / / ___ / /_/ / / / / / / / / / (__  )             #
#            /_____/____/_/ /_/  |_\__,_/_/ /_/ /_/_/_/ /_/____/              #
#                      /___/                                                  #
#_____________________________________________________________________________#
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initial
ize pool: Unknown database 'c4login'
        at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(Hi
kariPool.java:569)
        at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:555)
        at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
        at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
        at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:55)
        at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFacto
ry.java:109)
        at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:104)
        at net.sf.l2j.loginserver.GameServerTable.load(GameServerTable.java:98)
        at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:57
)
        at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameS
erverTable.java:585)
        at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.ja
va:577)
        at net.sf.l2j.tools.gsregistering.ServerRegister.lambda$main$0(ServerReg
ister.java:83)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doInt
ersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unkn
own Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
 Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unkn
own Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown da
tabase 'c4login'
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta
nce0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta
nce(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newI
nstance(Unknown Source)
        at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
        at com.mysql.jdbc.Util.getInstance(Util.java:372)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3835)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3771)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)
        at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My
sqlIO.java:1659)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2239)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
270)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta
nce0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInsta
nce(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newI
nstance(Unknown Source)
        at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:325)
        at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSourc
e.java:117)
        at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSourc
e.java:123)
        at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:365)
        at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:194)
        at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:460
)
        at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:534)
        ... 24 more
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
        at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.ja
va:577)
        at net.sf.l2j.tools.gsregistering.ServerRegister.lambda$main$0(ServerReg
ister.java:83)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doInt
ersectionPrivilege(Unknown Source)
        at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unkn
own Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown
 Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unkn
own Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at net.sf.l2j.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:92)

        at net.sf.l2j.loginserver.GameServerTable.load(GameServerTable.java:98)
        at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:57
)
        at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameS
erverTable.java:585)
        ... 16 more
Presione una tecla para continuar . . .

fissban

  • Administrador
  • Full Member
  • *
  • Mensajes: 144
  • Karma: +0/-0
    • Ver Perfil
Re:Problema instalando el server Rev 1993
« Respuesta #1 en: Junio 02, 2018, 07:14:00 pm »
Usa nuestro instalador para la db q te creara c4game y c4login....el error es porq no encuentra esta ultima db

canonmagic

  • Newbie
  • *
  • Mensajes: 39
  • Karma: +0/-0
    • Ver Perfil
Re:Problema instalando el server Rev 1993
« Respuesta #2 en: Junio 03, 2018, 12:02:46 am »
Ya logre resolverlo, el problema es que el Database installer de la revision no instala una DB con nombre c4login y c4server sino solo C4, simplemente cambie en los config el nombre de la DB y listo  :), pero note un detalle, el DB installer no instalaba el spawnlist.sql por lo cual al iniciar el server no habia ningun NPC o Mob asi que tuve que improvisar tomando el sql de la rev 1035...