Jump to content
  • 0
Chris tuck

718/752 Server

Question

Hi guys, I havent touched my server in a long time now since the vps ended. Now when i try to login on the server. With any accounts, i get black screened and there is some kind of error on the cmd.

Launching Server...
[Launcher] Initing Cache...
[Launcher] Initing Data Files...
[ShopsHandler] Packing shops...
[Launcher] Initing Fishing Spots...
[Auto-Backup] The mainsave has already been backed up today.
[Launcher] Initing Fishing Spots...
[Launcher] Initing NPC Combat Scripts...
[Launcher] Initing Dialogues...
[Launcher] Initing Controlers...
[Launcher] Initing Cutscenes...
[Launcher] Initing Friend Chats Manager...
[Launcher] Initing Cores Manager...
[Launcher] Initing World...
[Launcher] Initing Region Builder...
[Launcher] Initing Server Channel Handler...
[Launcher] Server took 2137 milli seconds to launch.
[Player] Creating player array of objects
[Player] Creating player array of rooms, adding first room
[Player] Initiated player: zangana12, pass: ff8d0f3deeae10ae0962da8580a8dd3da9c7e27b
06/29/16 11:55:10
[Hiscores] Connection to SQL database failed!
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:344)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2332)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)
        at com.rs.utils.Hiscores.createConnection(Hiscores.java:25)
        at com.rs.utils.Hiscores.saveHighScore(Hiscores.java:58)
        at com.rs.game.player.Player.realFinish(Player.java:2000)
        at com.rs.game.player.Player.finish(Player.java:1977)
        at com.rs.game.player.Player.finish(Player.java:1950)
        at com.rs.net.ServerChannelHandler.channelDisconnected(ServerChannelHandler.java:76)
        at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:127)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
        at org.jboss.netty.channel.Channels.fireChannelDisconnected(Channels.java:399)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:617)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:98)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
        at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
        at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.UnknownHostException: IP
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
        at java.net.InetAddress.getAllByName(InetAddress.java:1192)
        at java.net.InetAddress.getAllByName(InetAddress.java:1126)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:247)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:294)
        ... 34 more
[Hiscores] Hiscores saved for zangana12.
[Player] Finished Player: zangana12, pass: ff8d0f3deeae10ae0962da8580a8dd3da9c7e27b

If you guys could answer this fast :)

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You had a highscore database and it no longer exists. This however only occurs when finishing the player, and the player finishes (and blackscreens) because of another problem.

Edited by Arix

Share this post


Link to post
Share on other sites
  • 0

You need to go to your launcher class and remove the highscores startup. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×