Jump to content

Question

Posted

Gain Cash or Free Files for Help

 

Hello all

I cant add server..

And i cant start server,

I have this for registergameserver :

[06.07.18 02:45:14] ERROR:GameServerTable: Error loading registered game servers!
[06.07.18 02:45:19] ERROR:GameServerTable: Error while saving gameserver!
[06.07.18 02:46:49] ERROR:GameServerTable: Error loading registered game servers!
[06.07.18 02:46:51] ERROR:GameServerTable: Error while saving gameserver!

 

And i Start GameServer and have : 

 

Starting L2J Game Server.

[02:59:24] INFO: Network Config: ipconfig.xml doesn't exists using automatic con
figuration...
[02:59:25] INFO: Network Config: Adding new subnet: 127.0.0.0/8 address: 127.0.0
.1
[02:59:25] INFO: Network Config: Adding new subnet: 173.249.22.0/24 address: 173
.249.22.90
[02:59:25] INFO: Network Config: Adding new subnet: 0.0.0.0/0 address: 173.249.2
2.90
[02:59:25] WARN: Could not load HexID file (./config/hexid/hexid.txt). Hopefully
 login will give us one.
[02:59:25] INFO: Loaded 6 Filter Words.
[02:59:25] INFO: Sunrise Configs Loaded...
Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConn
ectionException: Could not create connection to database server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
        at com.mysql.jdbc.Util.getInstance(Util.java:360)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
311)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2064)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:325)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnecti
on(DriverManagerConnectionFactory.java:78)
        at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
ConnectionFactory.java:582)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericOb
jectPool.java:1181)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSo
urce.java:106)
        at l2r.util.dbutils.BasicDataSource.getConnection(BasicDataSource.java:7
8)
        at l2r.L2DatabaseFactory.getConnection(L2DatabaseFactory.java:59)
        at l2r.gameserver.GameServer.main(GameServer.java:529)
Caused by: java.lang.NullPointerException
        at com.mysql.jdbc.ConnectionImpl.getServerCharset(ConnectionImpl.java:29
83)
        at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1873)
        at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My
sqlIO.java:1802)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1206)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
265)
        ... 19 more

Game Server Terminated Abnormally!


Game Server Terminated.

Press any key to continue . . .

 

Can Help me ?

VPS SERVER WIndows Datacenter 2012

3 answers to this question

Recommended Posts

  • 0
Posted

you need to set a valid username and password for it to connect to the database, that also means you have to have a database running, an account with enough privileges created and the necessary tables created/imported.

 

have u done all of the above?

  • 0
Posted

You have to register gameserver. As you said you have some error/warning while running the file. Make sure you have servernames.xml or whatever your pack should have and try again. Don't forget about editing loginserver.prop the username and pass.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...