Jump to content
Age of History 3
tombricks

Save games not showing up and potentially corrupting

Recommended Posts

After reloading the game (I have tried multiple times), some save games do not show up to be selected while others do.image.thumb.png.eef459de586d51928e7688b112b20dc3.pngimage.png.dea1f26c19a7b0be15b2cf682cfcc544.png

Also of note is the Arab_Republic_7_3_2056 save, the .JSON files of which appear to be corrupted and not in the format of the other save game files.image.thumb.png.77408fcf6767f82dae8d29ccdfac7abb.png

The steps to reproduce are:
1. Start new game
2. Save
3. Quit
3. Reload game
4. Observe that there aren't the correct saves

Share this post


Link to post
Share on other sites

Here is the content of the AoH.txt file

image.png.aeeb4ebb41cff1dc37b31151ed30ef27.png

And the content of the newly generated log file is as follows, and does seem to point towards the problem.

com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.MainMenu.<init>(MainMenu.java:229)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:649)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.InitGame.initGame(InitGame.java:1071)
	at aoc.kingdoms.lukasz.menus.InitGame.draw(InitGame.java:93)
	at aoc.kingdoms.lukasz.menu.MenuManager.draw(MenuManager.java:2076)
	at aoc.kingdoms.lukasz.menu.MenuManager.draw(MenuManager.java:1982)
	at aoc.kingdoms.lukasz.jakowski.Renderer.Renderer.renderUI(Renderer.java:572)
	at aoc.kingdoms.lukasz.jakowski.Renderer.Renderer.render(Renderer.java:550)
	at aoc.kingdoms.lukasz.jakowski.AA_Game.render(AA_Game.java:213)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:430)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Unable to convert value to required type:                                                                                                                                                                                                                                                                                                              (aoc.kingdoms.lukasz.jakowski.SaveLoad.SaveGameManager$SaveDetails)
	at com.badlogic.gdx.utils.Json.readValue(Json.java:1172)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 15 more
com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.Menu_LoadGames_List.<init>(Menu_LoadGames_List.java:89)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:672)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.MainMenu$7.actionElement(MainMenu.java:299)
	at aoc.kingdoms.lukasz.menu.Menu.actionElement(Menu.java:532)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionElement(MenuManager.java:2173)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionUp(MenuManager.java:2612)
	at aoc.kingdoms.lukasz.jakowski.Touch.actionUp(Touch.java:72)
	at aoc.kingdoms.lukasz.jakowski.AA_Game$1.touchUp(AA_Game.java:313)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:190)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:409)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Unable to convert value to required type:                                                                                                                                                                                                                                                                                                              (aoc.kingdoms.lukasz.jakowski.SaveLoad.SaveGameManager$SaveDetails)
	at com.badlogic.gdx.utils.Json.readValue(Json.java:1172)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 16 more
com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.MainMenu.<init>(MainMenu.java:229)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:653)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.Menu_LoadGames_List$1.actionElement(Menu_LoadGames_List.java:61)
	at aoc.kingdoms.lukasz.menu.Menu.actionElement(Menu.java:532)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionElement(MenuManager.java:2173)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionUp(MenuManager.java:2612)
	at aoc.kingdoms.lukasz.jakowski.Touch.actionUp(Touch.java:72)
	at aoc.kingdoms.lukasz.jakowski.AA_Game$1.touchUp(AA_Game.java:313)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:190)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:409)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Unable to convert value to required type:                                                                                                                                                                                                                                                                                                              (aoc.kingdoms.lukasz.jakowski.SaveLoad.SaveGameManager$SaveDetails)
	at com.badlogic.gdx.utils.Json.readValue(Json.java:1172)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 16 more

 

Share this post


Link to post
Share on other sites

Also if I remove the corrupted save file, I get the following error log and still not all the saves load

com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.MainMenu.<init>(MainMenu.java:229)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:649)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.InitGame.initGame(InitGame.java:1071)
	at aoc.kingdoms.lukasz.menus.InitGame.draw(InitGame.java:93)
	at aoc.kingdoms.lukasz.menu.MenuManager.draw(MenuManager.java:2076)
	at aoc.kingdoms.lukasz.menu.MenuManager.draw(MenuManager.java:1982)
	at aoc.kingdoms.lukasz.jakowski.Renderer.Renderer.renderUI(Renderer.java:572)
	at aoc.kingdoms.lukasz.jakowski.Renderer.Renderer.render(Renderer.java:550)
	at aoc.kingdoms.lukasz.jakowski.AA_Game.render(AA_Game.java:213)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:430)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:80)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 15 more
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: saves\Earth3\Arab_Republic_7_3_2056\Details.json (Internal)
	at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142)
	at com.badlogic.gdx.files.FileHandle.reader(FileHandle.java:169)
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:78)
	... 16 more
com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.Menu_LoadGames_List.<init>(Menu_LoadGames_List.java:89)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:672)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.MainMenu$7.actionElement(MainMenu.java:299)
	at aoc.kingdoms.lukasz.menu.Menu.actionElement(Menu.java:532)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionElement(MenuManager.java:2173)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionUp(MenuManager.java:2612)
	at aoc.kingdoms.lukasz.jakowski.Touch.actionUp(Touch.java:72)
	at aoc.kingdoms.lukasz.jakowski.AA_Game$1.touchUp(AA_Game.java:313)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:190)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:409)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:80)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 16 more
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: saves\Earth3\Arab_Republic_7_3_2056\Details.json (Internal)
	at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142)
	at com.badlogic.gdx.files.FileHandle.reader(FileHandle.java:169)
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:78)
	... 17 more
com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:802)
	at aoc.kingdoms.lukasz.jakowski.SaveLoad.LoadSavedGameManager.loadSave_Details(LoadSavedGameManager.java:75)
	at aoc.kingdoms.lukasz.menus.MainMenu.<init>(MainMenu.java:229)
	at aoc.kingdoms.lukasz.menu.MenuManager.getViewID(MenuManager.java:653)
	at aoc.kingdoms.lukasz.menu.MenuManager.setViewID(MenuManager.java:1556)
	at aoc.kingdoms.lukasz.menus.Menu_LoadGames_List$1.actionElement(Menu_LoadGames_List.java:61)
	at aoc.kingdoms.lukasz.menu.Menu.actionElement(Menu.java:532)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionElement(MenuManager.java:2173)
	at aoc.kingdoms.lukasz.menu.MenuManager.actionUp(MenuManager.java:2612)
	at aoc.kingdoms.lukasz.jakowski.Touch.actionUp(Touch.java:72)
	at aoc.kingdoms.lukasz.jakowski.AA_Game$1.touchUp(AA_Game.java:313)
	at com.badlogic.gdx.InputEventQueue.drain(InputEventQueue.java:70)
	at com.badlogic.gdx.backends.lwjgl3.DefaultLwjgl3Input.update(DefaultLwjgl3Input.java:190)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window.update(Lwjgl3Window.java:409)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.loop(Lwjgl3Application.java:181)
	at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:153)
	at aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher.main(DesktopLauncher.java:108)
Caused by: com.badlogic.gdx.utils.SerializationException: Error reading file: saves/Earth3/Arab_Republic_7_3_2056/Details.json
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:80)
	at com.badlogic.gdx.utils.Json.fromJson(Json.java:800)
	... 16 more
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: saves\Earth3\Arab_Republic_7_3_2056\Details.json (Internal)
	at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:142)
	at com.badlogic.gdx.files.FileHandle.reader(FileHandle.java:169)
	at com.badlogic.gdx.utils.JsonReader.parse(JsonReader.java:78)
	... 17 more

For what its worth, I renamed my country, province and leader names which I saw on another post might cause issues.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
      • 0 replies
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
      • 105 replies
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
      • 204 replies
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
      • 227 replies
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games