Fractal Softworks Forum

Starsector => Bug Reports & Support => Topic started by: j01 on March 07, 2012, 11:03:51 AM

Title: 0.51a quicksave crash
Post by: j01 on March 07, 2012, 11:03:51 AM
Vanilla game, no mods, only changed the settings so that devmode = true.

Upon quicksaving for the first time in campaign mode after a clean new install, game crashed. Log excerpt is as follows:

Code
2759812 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving to ..\\saves/save_Shepard_6251720336728343738...
2762140 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Finished saving
2762140 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Found 1 serliazed classes not marked with DoNotObfuscate.
java.lang.RuntimeException: Found 1 serliazed classes not marked with DoNotObfuscate.
at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
at com.fs.starfarer.campaign.A.o00000(Unknown Source)
at com.fs.starfarer.super.for.while$super(Unknown Source)
at com.fs.A.super.Ò00000(Unknown Source)
at com.fs.starfarer.combat.D.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Title: Re: 0.51a quicksave crash
Post by: Alex on March 07, 2012, 11:11:47 AM
Hmm. Does it print anything else? There should be something there that says which classes - the line would start with "x.alias" or some such.

Edit: wait, that wouldn't go into the log, never mind. Let me see if I can track this down - definitely doesn't happen *all* the time.
Title: Re: 0.51a quicksave crash
Post by: j01 on March 07, 2012, 11:21:26 AM
This was the whole chunk from the log that had anything to do with saving, altogether:

Code
119765 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving to ..\\saves/save_Shepard_6251720336728343738...
122797 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Finished saving
2759812 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Saving to ..\\saves/save_Shepard_6251720336728343738...
2762140 [Thread-6] INFO  com.fs.starfarer.campaign.save.CampaignGameManager  - Finished saving
2762140 [Thread-6] ERROR com.fs.starfarer.combat.D  - java.lang.RuntimeException: Found 1 serliazed classes not marked with DoNotObfuscate.
java.lang.RuntimeException: Found 1 serliazed classes not marked with DoNotObfuscate.
at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
at com.fs.starfarer.campaign.A.o00000(Unknown Source)
at com.fs.starfarer.super.for.while$super(Unknown Source)
at com.fs.A.super.Ò00000(Unknown Source)
at com.fs.starfarer.combat.D.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

There was nothing in the log after that, and everything before was just TextureLoader stuff.
Title: Re: 0.51a quicksave crash
Post by: Alex on March 07, 2012, 11:25:28 AM
Right. Thank you - tracked it down.

The crash will go away if you turn devMode off - it's a "reminder to do something" type of crash, not an actual problem that should stop the game from working.
Title: Re: 0.51a quicksave crash
Post by: j01 on March 07, 2012, 11:29:22 AM
Ah. Thanks for the quick response! Guess I'll have to learn to live without better zooming out in campaign mode for now (not even sure what else devmode actually does!) =)
Title: Re: 0.51a quicksave crash
Post by: Alex on March 07, 2012, 11:34:41 AM
Ctrl-click to take over any ship you want, including enemy ones. K for more credits. L for crew XP. Some other things. And the crashing, of course :)

Guess I'll have to learn to live without better zooming out in campaign mode for now

Not for too long - there is also a bug that crashes the game when you click on an empty shop inventory slot. That's pretty bad, so I'm uploading a hotfix right now - which also includes a fix for this devmode crash.

Title: Re: 0.51a quicksave crash
Post by: Upgradecap on March 08, 2012, 08:42:06 AM
Wait, i have to ask, does it crash the game when you try to normally save? I really don't want to turn devmode off if you get my point 8)
Title: Re: 0.51a quicksave crash
Post by: Alex on March 08, 2012, 08:44:44 AM
The hotfix resolved the issue, so that shouldn't matter either way if you grab it. But yes, it would occasionally crash on save, in devmode only.
Title: Re: 0.51a quicksave crash
Post by: ClosetGoth on March 08, 2012, 01:30:10 PM
Also, as a note, for people who are worried: It isn't that bad because it does save before crashing. Since Alex said it was a "reminder"-type crash, it makes sense that it wouldn't fail to save at all.

EDIT: My point is, don't panic about not hitting the button. It will cost you time to restart SF, but you won't lose progress.