Autor Tema: Problema con RegisterGameServer.exe  (Leído 47 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado rlzquick

  • No Grade
  • *
  • Topic Author
  • Mensajes: 7
  • ar
  • Agradecimientos: 0
  • RlzQuick
  • Cronica: : C6/C4
  • Revision: Ultima
  • S.O: Sin seleccionar / Not choosen
  • Serverpack : jfrozem/aCis/jServer
Problema con RegisterGameServer.exe
« en: Abril 09, 2019, 02:05:44 pm »
gracias
Este post tiene 0 agradecimientos
  • Añade a tus favoritos
  • Tengo problema al ejecutar el archivo RGS me tira este error

    Código: [Seleccionar]

                            aCis gameserver registering
                            ____________________________

    OPTIONS : a number : register a server ID, if available and existing on list.
              list : get a list of IDs. A '*' means the id is already used.
              clean : unregister a specified gameserver.
              cleanall : unregister all gameservers.
              exit : exit the program.

    Your choice? 1

    Exception in thread "main" java.lang.ExceptionInInitializerError
            at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:147)
            at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:18)
            at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(GameServerTable.java:96)
            at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:43)
            at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameServerTable.java:195)
            at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.java:190)
            at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.java:129)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user ''@'localhost' to database 'l2jacis'
            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:411)
            at com.mysql.jdbc.Util.getInstance(Util.java:386)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)
            at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1709)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1252)
            at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2486)
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
            at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
            at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
            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:411)
            at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
            at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:131)
            at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:161)
            at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:147)
            at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAutomaticTestTable(C3P0PooledConnectionPoolManager.java:987)
            at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooledConnectionPool(C3P0PooledConnectionPoolManager.java:910)
            at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:397)
            at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0PooledConnectionPoolManager.java:414)
            at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:145)
            at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:64)
            at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:143)
            ... 6 more
    Presione una tecla para continuar . . .

    Conectado Fissban

    • AdminSite
    • *
    • Mensajes: 5686
    • ar
    • Agradecimientos: 1688
      • Mis Proyectos
    • Cronica: : Scions of Destiny
    • Revision: Last
    • S.O: Windows 10
    • Serverpack : L2jAdmins
    Re:Problema con RegisterGameServer.exe
    « Respuesta #1 en: Abril 09, 2019, 03:20:42 pm »
    gracias
    Este post tiene 0 agradecimientos
  • Añade a tus favoritos
    Citar
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user ''@'localhost' to database 'l2jacis'

    chequea el nombre de la base de datos, nombre de usuario y contraseñas que has puesto en los .properties del servidor.

    Desconectado rlzquick

    • No Grade
    • *
    • Topic Author
    • Mensajes: 7
    • ar
    • Agradecimientos: 0
    • RlzQuick
    • Cronica: : C6/C4
    • Revision: Ultima
    • S.O: Sin seleccionar / Not choosen
    • Serverpack : jfrozem/aCis/jServer
    Re:Problema con RegisterGameServer.exe
    « Respuesta #2 en: Abril 09, 2019, 04:41:32 pm »
    gracias
    Este post tiene 0 agradecimientos
  • Añade a tus favoritos
  • Citar
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user ''@'localhost' to database 'l2jacis'

    chequea el nombre de la base de datos, nombre de usuario y contraseñas que has puesto en los .properties del servidor.


    Código: [Seleccionar]
    #=============================================================
    #                         Loginserver
    #=============================================================

    # This is transmitted to the clients, so it has to be an IP or resolvable hostname
    Hostname = localhost

    # Bind ip of the LoginServer, use * to bind on all available IPs
    LoginserverHostname = 127.0.0.1
    LoginserverPort = 2106

    # The Loginserver host and port.
    LoginHostname = 127.0.0.1
    LoginPort = 9014

    # How many times you can provide an invalid account/pass before the IP gets banned
    LoginTryBeforeBan = 3

    # 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

    # If set to true, any GameServer can register on your login's free slots
    AcceptNewGameServer = True

    # If false, the licence (after the login) will not be shown. Default : true.
    ShowLicence = True

    #=============================================================
    #                    Database informations
    #=============================================================

    URL = jdbc:mysql://localhost/l2aCis
    #URL = jdbc:hsqldb:hsql://localhost/acis
    #URL = jdbc:sqlserver://localhost/database=acis/user=sa/password=

    Login = root
    Password =



    Código: [Seleccionar]
    # ================================================================
    #                          Gameserver setting
    # ================================================================

    # This is transmitted to the clients, so it has to be an IP or resolvable hostname. If this ip is resolvable by Login just leave *
    Hostname = localhost

    # Bind ip of the gameserver, use * to bind on all available IPs.
    GameserverHostname = 127.0.0.1
    GameserverPort = 7777

    # The Loginserver host and port.
    LoginHost = 127.0.0.1
    LoginPort = 9014

    # This is the server id that the gameserver will request.
    RequestServerID = 1

    # If set to true, the login will give an other id to the server (if the requested id is already reserved).
    AcceptAlternateID = True

    # ================================================================
    #                        Database informations
    # ================================================================

    URL = jdbc:mysql://localhost/l2aCis
    #URL = jdbc:hsqldb:hsql://localhost/acis
    #URL = jdbc:sqlserver://localhost/database=acis/user=sa/password=

    Login = root
    Password =

    lo tengo bien el tools sql se me creo muy bien