Mythruna
May 31, 2020, 02:39:14 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can't play even Single Player since installed Windows 8  (Read 11746 times)
Tamarie
Jr. Member
**
Posts: 52


View Profile
« on: April 27, 2015, 10:53:37 PM »

I just installed Windows 8 (rats! rats! rats!) and can no longer start the game. I get the following error file when I try to play Single Player. In Multi-player I get the UDP error.
Uncaught exception from thread:Thread[Game Loader,5,main]
java.lang.RuntimeException: Error accessing entity database
   at mythruna.client.LocalGameClient.createWorld(LocalGameClient.java:144)
   at mythruna.client.LocalGameClient.initialize(LocalGameClient.java:73)
   at mythruna.client.GameLoader.run(GameLoader.java:36)
Caused by: java.sql.SQLException: error in script file line: 58 java.io.EOFException in statement [SET TABLE PUBLIC.ENTITY_ID INDEX '4 0 1']
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
   at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
   at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   at mythruna.es.sql.SqlEntityData.getSession(SqlEntityData.java:90)
   at mythruna.es.sql.SqlEntityData.<init>(SqlEntityData.java:58)
   at mythruna.client.LocalGameClient.createWorld(LocalGameClient.java:140)
   ... 2 more
Caused by: org.hsqldb.HsqlException: error in script file line: 58 java.io.EOFException in statement [SET TABLE PUBLIC.ENTITY_ID INDEX '4 0 1']
   at org.hsqldb.error.Error.error(Unknown Source)
   at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
   at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
   at org.hsqldb.persist.Log.processScript(Unknown Source)
   at org.hsqldb.persist.Log.open(Unknown Source)
   at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
   at org.hsqldb.Database.reopen(Unknown Source)
   at org.hsqldb.Database.open(Unknown Source)
   at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
   at org.hsqldb.DatabaseManager.newSession(Unknown Source)
   ... 10 more
Caused by: org.hsqldb.HsqlException: java.io.EOFException
   at org.hsqldb.error.Error.error(Unknown Source)
   at org.hsqldb.persist.DataFileCache.readObject(Unknown Source)
   at org.hsqldb.persist.DataFileCache.getFromFile(Unknown Source)
   at org.hsqldb.persist.DataFileCache.get(Unknown Source)
   at org.hsqldb.persist.RowStoreAVLDisk.get(Unknown Source)
   at org.hsqldb.persist.RowStoreAVLDisk.setAccessor(Unknown Source)
   at org.hsqldb.Table.setIndexRoots(Unknown Source)
   at org.hsqldb.Table.setIndexRoots(Unknown Source)
   at org.hsqldb.StatementCommand.getResult(Unknown Source)
   at org.hsqldb.StatementCommand.execute(Unknown Source)
   at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
   ... 19 more
Caused by: java.io.EOFException
   at org.hsqldb.persist.ScaledRAFile.read(Unknown Source)
   at org.hsqldb.persist.ScaledRAFile.readInt(Unknown Source)
   at org.hsqldb.persist.ScaledRAFileHybrid.readInt(Unknown Source)
   ... 29 more

Build version:20120627

Gathering app info from OpenGL thread...
Memory usage:
Working memory: 41% (34526192/82411520)  VM Max: 6% (34526192/518979584)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 128
  Triangles = 64
  Uniforms = 8
  Objects = 7
  Shaders (S) = 5
  Shaders (F) = 5
  Shaders (M) = 6
  Textures (S) = 7
  Textures (F) = 7
  Textures (M) = 11
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Application settings:
DepthBits = 24
UseInput = true
FrameRate = -1
DisableJoysticks = true
AudioRenderer = LWJGL
VSync = false
Samples = 0
StencilBits = 0
Renderer = LWJGL-OpenGL2
Frequency = -1
Height = 720
Fullscreen = false
BitsPerPixel = 24
Width = 1280

Display adapter information:
Adapter:nvd3dumx,nvwgf2umx,nvwgf2umx
Driver Version:null
Vendor:NVIDIA Corporation
Version:4.5.0 NVIDIA 347.52
Renderer:GeForce GTX 580/PCIe/SSE2
GLSL Ver:4.50 NVIDIA

Uncaught exception from thread:Thread[Game Loader,5,main]
java.lang.RuntimeException: Error accessing entity database
   at mythruna.client.LocalGameClient.createWorld(LocalGameClient.java:144)
   at mythruna.client.LocalGameClient.initialize(LocalGameClient.java:73)
   at mythruna.client.GameLoader.run(GameLoader.java:36)
Caused by: java.sql.SQLException: error in script file line: 58 java.io.EOFException in statement [SET TABLE PUBLIC.ENTITY_ID INDEX '4 0 1']
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
   at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
   at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
   at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   at java.sql.DriverManager.getConnection(Unknown Source)
   at mythruna.es.sql.SqlEntityData.getSession(SqlEntityData.java:90)
   at mythruna.es.sql.SqlEntityData.<init>(SqlEntityData.java:58)
   at mythruna.client.LocalGameClient.createWorld(LocalGameClient.java:140)
   ... 2 more
Caused by: org.hsqldb.HsqlException: error in script file line: 58 java.io.EOFException in statement [SET TABLE PUBLIC.ENTITY_ID INDEX '4 0 1']
   at org.hsqldb.error.Error.error(Unknown Source)
   at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
   at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
   at org.hsqldb.persist.Log.processScript(Unknown Source)
   at org.hsqldb.persist.Log.open(Unknown Source)
   at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
   at org.hsqldb.Database.reopen(Unknown Source)
   at org.hsqldb.Database.open(Unknown Source)
   at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
   at org.hsqldb.DatabaseManager.newSession(Unknown Source)
   ... 10 more
Caused by: org.hsqldb.HsqlException: java.io.EOFException
   at org.hsqldb.error.Error.error(Unknown Source)
   at org.hsqldb.persist.DataFileCache.readObject(Unknown Source)
   at org.hsqldb.persist.DataFileCache.getFromFile(Unknown Source)
   at org.hsqldb.persist.DataFileCache.get(Unknown Source)
   at org.hsqldb.persist.RowStoreAVLDisk.get(Unknown Source)
   at org.hsqldb.persist.RowStoreAVLDisk.setAccessor(Unknown Source)
   at org.hsqldb.Table.setIndexRoots(Unknown Source)
   at org.hsqldb.Table.setIndexRoots(Unknown Source)
   at org.hsqldb.StatementCommand.getResult(Unknown Source)
   at org.hsqldb.StatementCommand.execute(Unknown Source)
   at org.hsqldb.Session.executeCompiledStatement(Unknown Source)
   ... 19 more
Caused by: java.io.EOFException
   at org.hsqldb.persist.ScaledRAFile.read(Unknown Source)
   at org.hsqldb.persist.ScaledRAFile.readInt(Unknown Source)
   at org.hsqldb.persist.ScaledRAFileHybrid.readInt(Unknown Source)
   ... 29 more

Memory usage:
Working memory: 46% (38338760/82411520)  VM Max: 7% (38338760/518979584)

Statistics:
  Vertices = 128
  Triangles = 64
  Uniforms = 8
  Objects = 7
  Shaders (S) = 5
  Shaders (F) = 5
  Shaders (M) = 6
  Textures (S) = 7
  Textures (F) = 7
  Textures (M) = 11
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 4
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5577



View Profile
« Reply #1 on: April 27, 2015, 11:04:54 PM »

Sorry you are having trouble.

Where did you install it?  Are you trying to play from a directory where you backed up before you installed Windows 8?

For some reason, it is having trouble accessing the game world data.
Logged
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #2 on: April 28, 2015, 06:14:29 PM »

I'm trying to play it from a folder in my Documents folder and from a folder inside the Downloads folder. In Windows 7 it was in a Games folder in the ProgramsFiles x86 folder.
Logged
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #3 on: April 28, 2015, 06:16:37 PM »

More info: The game in the Documents folder is the backuped up copy that has my game progress (blueprints, etc). The other one is just a fresh download.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5577



View Profile
« Reply #4 on: April 28, 2015, 06:25:33 PM »

More info: The game in the Documents folder is the backuped up copy that has my game progress (blueprints, etc). The other one is just a fresh download.

And you get that same error even for the fresh install?
Logged
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #5 on: May 03, 2015, 12:35:08 AM »

Sorry, I was wrong--the fresh install works in single player mode. I haven't figured out how to make the version work that contains my buildings, however. The database script file seems to be what makes it not work. I can't get into the multi-player version, however--the UDP error still happens, even with with fresh install.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5577



View Profile
« Reply #6 on: May 03, 2015, 02:39:22 AM »

As to the networking problem, it might work now... I reset my server.

As to the other, if you create a new install and copy the entire mythruna.db directory from your old install then it should work.  If it doesn't then it sounds like parts of the mythruna.db directory are missing or they got corrupted.  Hard to say at this distance.

Sorry you are having these issues.
Logged
Sean
Donators
Hero Member
***
Posts: 598



View Profile
« Reply #7 on: May 03, 2015, 09:52:19 AM »

Want to upload it and see if your save works for anyone else?
Logged

"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #8 on: May 04, 2015, 12:15:54 AM »

As to the networking problem, it might work now... I reset my server.

As to the other, if you create a new install and copy the entire mythruna.db directory from your old install then it should work.  If it doesn't then it sounds like parts of the mythruna.db directory are missing or they got corrupted.  Hard to say at this distance.

Sorry you are having these issues.
Thanks, Paul, for restarting your server. I'm back in the multi-world. When I add my database folder to the clean install it will work, with my buildings, but not my blueprinted objects, if I don't copy the database script file. I haven't been able to get my blueprints to show up. the part of my database script file that's different from the clean install is:
CREATE CACHED TABLE PUBLIC.MODELINFO(ENTITYID BIGINT PRIMARY KEY,BLUEPRINTID BIGINT)
CREATE CACHED TABLE PUBLIC.CREATEDBY(ENTITYID BIGINT PRIMARY KEY,CREATORID BIGINT)
CREATE CACHED TABLE PUBLIC.MASS(ENTITYID BIGINT PRIMARY KEY,INVERSEMASS DOUBLE)
CREATE CACHED TABLE PUBLIC.BODYTEMPLATE(ENTITYID BIGINT PRIMARY KEY,BLUEPRINTID BIGINT)
CREATE CACHED TABLE PUBLIC.MASSPROPERTIES(ENTITYID BIGINT PRIMARY KEY,COG_X DOUBLE,COG_Y DOUBLE,COG_Z DOUBLE,INERTIA_M00 DOUBLE,INERTIA_M01 DOUBLE,INERTIA_M02 DOUBLE,INERTIA_M10 DOUBLE,INERTIA_M11 DOUBLE,INERTIA_M12 DOUBLE,INERTIA_M20 DOUBLE,INERTIA_M21 DOUBLE,INERTIA_M22 DOUBLE)
CREATE CACHED TABLE PUBLIC.VOLUME(ENTITYID BIGINT PRIMARY KEY,VOLUME DOUBLE,SIZE DOUBLE)
Logged
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #9 on: May 04, 2015, 12:18:38 AM »

Want to upload it and see if your save works for anyone else?
Good idea, Sean, but maybe the mystery is semi-solved.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5577



View Profile
« Reply #10 on: May 04, 2015, 12:45:56 AM »

Yeah, at this point, without seeing your entire mythruna.db directory, it's tough to diagnose what's wrong.
Logged
Tamarie
Jr. Member
**
Posts: 52


View Profile
« Reply #11 on: May 11, 2015, 06:31:19 PM »

Paul and Sean, I erased everything from my database script file, saved it, then put the same info back and saved again. Everything's fine now. But what a weird way to fix the problem!
Logged
Sean
Donators
Hero Member
***
Posts: 598



View Profile
« Reply #12 on: May 11, 2015, 07:43:47 PM »

If it works, it works! Glad all is settled now.  Smiley
Logged

"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
pspeed
Administrator
Hero Member
*****
Posts: 5577



View Profile
« Reply #13 on: May 11, 2015, 08:43:40 PM »

Weird... but glad it's working.

Must have had some corruption that the copy/paste fixed.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!