Save file bugged

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Taikei no Yuurei
Yeek
Posts: 11
Joined: Wed Jun 04, 2014 1:33 am

Save file bugged

#1 Post by Taikei no Yuurei »

So, I was playing my character last night, got up this morning, and suddenly the save file has been reverted back to before I played. I went into where things are saved, and it has the info for the areas I went through, and the little preview picture is correct for when I stopped playing last night, but my level, position, and items all went back.

Anyone know anything about this? Is there a way to get back my levels and stuff, or do I just need to trudge along for a few hours again and hope my nightmare run continues to go as well as it was?

Taikei no Yuurei
Yeek
Posts: 11
Joined: Wed Jun 04, 2014 1:33 am

Re: Save file bugged

#2 Post by Taikei no Yuurei »

So, just happened again on a different character. I guess I'm not allowed to save any more? Is anyone else having this problem or have any clue what is causing it?

Taikei no Yuurei
Yeek
Posts: 11
Joined: Wed Jun 04, 2014 1:33 am

Re: Save file bugged

#3 Post by Taikei no Yuurei »

So, just had this happen to me again after having put the better part of a day into a character. Ran through several areas in the west, the armory, the pride, the spider cave, the sand cave, came back to the west, cleared out the backup dungeons, and then quit to take a break, came back and my character is back to before I started for the day, having lost all progress. The save folder shows the info for all the areas I went to and everything, but somehow lost all the progress.

Here is the character:
http://te4.org/characters/33275/tome/11 ... 5cf8c64e6a

Only in my save she is back to level 27 and never left the west.

Am I unique in having this problem? It has seriously bummed me out, because I think the character had a good shot at beating the game, but now I don't even feel like trying again.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Save file bugged

#4 Post by HousePet »

I'm not sure if it does say anything, but have you checked the log file?
I'm guessing something is doing something naughty like duplicating uuids which makes the game unsaveable.
My feedback meter decays into coding. Give me feedback and I make mods.

Taikei no Yuurei
Yeek
Posts: 11
Joined: Wed Jun 04, 2014 1:33 am

Re: Save file bugged

#5 Post by Taikei no Yuurei »

This seems to be the relevant portion of the log as far as I can tell. I don't know how any of that compares to a save that works.

Code: Select all

[PARTY] New member, add after	Feonia	Feonia
Adding entity	2054	after	2054
[MUSIC] stoping	Remembrance.ogg
[MUSIC] loading	weather/dungeon_base.ogg	sound "/data/music/weather/dungeon_base.ogg" : <static>
[MUSIC] playing	weather/dungeon_base.ogg	sound "/data/music/weather/dungeon_base.ogg" : <static>
[MUSIC] loading	Dark Secrets.ogg	sound "/data/music/Dark Secrets.ogg" : <static>
[MUSIC] playing	Dark Secrets.ogg	sound "/data/music/Dark Secrets.ogg" : <static>
[LOG]	#TEAL#You feel mildly anxious, and walk with caution.
Updating zone name	Dreadfell (1)
C Map minimap texture: 3044 (50x50; 64x64)
[SAVEFILE PIPE] new save running in the pipe:	Feonia	zone	::	zone-wilderness.teaz	::	table: 0x30d82070	=>	table: 0x3307a318	(7858)
Loading savefile 	/save/feonia/
checkHit	91.699525082409	67.273321996687
=> chance to hit	77.360569578891
[ONLINE PROFILE] saved character 	11bc624c-4e58-48e5-a091-075cf8c64e6a
Saving JSON	true
[LOG]	Saving game...
[USERCHAT] channel achievement	voltteccer	tome	Level 50 (Roguelike)	true	true
[SAVEFILE PIPE] new save running in the pipe:	Feonia	game	::	game.teag	::	table: 0x11b91e10	=>	table: 0x21941268	(21036)
Loading savefile 	/save/feonia/
[SERIAL] pushed savezip to steam (ret 0) : tome//save/feonia/desc.lua of size 395
[SAVEFILE PIPE] new save running in the pipe:		world	::	world.teaw	::	table: 0x11dd3558	=>	table: 0x44f21a70	(1)
Loading savefile 	/save//
[SAVEFILE PIPE] new save running in the pipe:	party	entity	::	11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball	::	table: 0x322f8a48	=>	table: 0x41c16a30	(636)
Loading savefile 	/save/party/
[SAVEFILE PIPE] unleashing save thread
Saving zipname /save/feonia/zone-wilderness.teaz.tmp
Saved zipname /save/feonia/zone-wilderness.teaz.tmp
[SERIAL] pushed savezip to steam (ret 0) : tome//save/feonia/zone-wilderness.teaz of size 1597111
[SAVEFILE PIPE] Checking save	Feonia	zone	/save/feonia/zone-wilderness.teaz.tmp
Loading savefile 	/save/feonia/
[SAVEFILE] checked validity of type	zone	 => 	all fine
Saved zipname /save/feonia/game.teag.tmp
[SERIAL] pushed savezip to steam (ret 0) : tome//save/feonia/game.teag of size 2208454
[SAVEFILE PIPE] Checking save	Feonia	game	/save/feonia/game.teag.tmp
Loading savefile 	/save/feonia/
Saved zipname /save//world.teaw.tmp
[SAVEFILE] checked validity of type	game	 => 	all fine
[SERIAL] pushed savezip to steam (ret 0) : tome//save//world.teaw of size 7649
[SAVEFILE PIPE] Checking save		world	/save//world.teaw.tmp
Loading savefile 	/save//
Saved zipname /charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball.tmp
[SAVEFILE] checked validity of type	world	 => 	all fine
[SERIAL] pushed savezip to steam (ret 0) : tome//charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball of size 342927
[SAVEFILE PIPE] Checking save	party	entity	/charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball.tmp
Loading savefile 	/save/party/
[SAVEFILE] checked validity of type	entity	 => 	all fine
[ONLINE PROFILE] saved character charball	11bc624c-4e58-48e5-a091-075cf8c64e6a
[LOG]	Saving done.
[SAVEFILE PIPE] on end	saveModuleProfile
[PROFILE] filtering save of 	scores	 to profile 	online
[PROFILE] mounted 	online	on /current-profile
[PROFILE] unmounted 	online	from /current-profile
[SAVEFILE PIPE] on end	saveZone_md5
Save MD5	11bc624c-4e58-48e5-a091-075cf8c64e6a	fa9c5b44e2933df389d74edbbd50f742	zone	/save/feonia/zone-wilderness.teaz
[ONLINE PROFILE] saved character md5	11bc624c-4e58-48e5-a091-075cf8c64e6a	zone-wilderness.teaz	fa9c5b44e2933df389d74edbbd50f742
[SAVEFILE PIPE] on end	saveGame_md5
Save MD5	11bc624c-4e58-48e5-a091-075cf8c64e6a	377a38790864329c68da633bc736b818	game	/save/feonia/game.teag
[ONLINE PROFILE] saved character md5	11bc624c-4e58-48e5-a091-075cf8c64e6a	game.teag	377a38790864329c68da633bc736b818
[SAVEFILE PIPE] on end	saveWorld_md5
[SAVEFILE PIPE] on end	saveEntity_md5
[SAVEFILE PIPE] saving took 15 seconds
[COROUTINE] dead	savefilepipe
[USERCHAT] channel achievement	Dead Sun	tome	Exterminator (Roguelike)	false	false
[USERCHAT] channel talk	taikeinoyuurei	tome	I'll see about updating it then.
[PROFILE] filtering save of 	scores	 to profile 	online
[PROFILE] mounted 	online	on /current-profile
[PROFILE] unmounted 	online	from /current-profile
[SAVEFILE PIPE] Cleaning up steam cloud
[SAVEFILE PIPE] Cloud has 303.39177799225MB available
[COROUTINE] registering	savefilepipe	thread: 0x3fd15068
checkHit	91.699525082409	67.273321996687
=> chance to hit	77.360569578891
[ONLINE PROFILE] saved character 	11bc624c-4e58-48e5-a091-075cf8c64e6a
Saving JSON	true
[LOG]	Saving game...
[ENGINE] Switching to turn based
[SAVEFILE PIPE] force waiting
Make wait background texture 3085 : 1513x1037 (2048, 2048)
[SAVEFILE PIPE] new save running in the pipe:	Feonia	game	::	game.teag	::	table: 0x11b91e10	=>	table: 0x3ce29e00	(21054)
Loading savefile 	/save/feonia/
[SERIAL] pushed savezip to steam (ret 0) : tome//save/feonia/desc.lua of size 395
[SAVEFILE PIPE] new save running in the pipe:		world	::	world.teaw	::	table: 0x11dd3558	=>	table: 0x3eaa5120	(1)
Loading savefile 	/save//
[SAVEFILE PIPE] new save running in the pipe:	party	entity	::	11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball	::	table: 0x431fcf58	=>	table: 0x3dbf56d8	(429)
Loading savefile 	/save/party/
[SAVEFILE PIPE] unleashing save thread
Saving zipname /save/feonia/game.teag.tmp
[USERCHAT] channel achievement	x50413	tome	Pyromancer	false	true
Saved zipname /save/feonia/game.teag.tmp
[SERIAL] pushed savezip to steam (ret 0) : tome//save/feonia/game.teag of size 2208505
[SAVEFILE PIPE] Checking save	Feonia	game	/save/feonia/game.teag.tmp
Loading savefile 	/save/feonia/
Saved zipname /save//world.teaw.tmp
[SAVEFILE] checked validity of type	game	 => 	all fine
[SERIAL] pushed savezip to steam (ret 0) : tome//save//world.teaw of size 7649
[SAVEFILE PIPE] Checking save		world	/save//world.teaw.tmp
Loading savefile 	/save//
[SAVEFILE] checked validity of type	world	 => 	all fine
Saved zipname /charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball.tmp
[SERIAL] pushed savezip to steam (ret 0) : tome//charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball of size 343121
[SAVEFILE PIPE] Checking save	party	entity	/charballs/11bc624c-4e58-48e5-a091-075cf8c64e6a-1.2.5.charball.tmp
Loading savefile 	/save/party/
[SAVEFILE] checked validity of type	entity	 => 	all fine
[ONLINE PROFILE] saved character charball	11bc624c-4e58-48e5-a091-075cf8c64e6a
[LOG]	Saving done.
[SAVEFILE PIPE] on end	saveGame_md5
Save MD5	11bc624c-4e58-48e5-a091-075cf8c64e6a	c2482978e643344e18882e1329b0ed94	game	/save/feonia/game.teag
[ONLINE PROFILE] saved character md5	11bc624c-4e58-48e5-a091-075cf8c64e6a	game.teag	c2482978e643344e18882e1329b0ed94
[SAVEFILE PIPE] on end	saveWorld_md5
[SAVEFILE PIPE] on end	saveEntity_md5
[SAVEFILE PIPE] saving took 6 seconds
Wait finished, counted 4376, 4984 ticks
Played ToME for 27814 seconds
[PROFILE] mounted 	online	on /current-profile
[PROFILE] unmounted 	online	from /current-profile
[MAIN] rebooting lua state: 	nil	nil	nil	nil	nil
stack traceback:
[COROUTINE] error	cannot resume dead coroutine
[COROUTINE] dead	savefilepipe
[ENGINE] Switching to turn based

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Save file bugged

#6 Post by HousePet »

Are you using Steam Cloud saving?
I guess it could be uploading the save and then not retrieving it correctly, resulting in you having the old version of the save file.
My feedback meter decays into coding. Give me feedback and I make mods.

shonen
Cornac
Posts: 38
Joined: Tue Feb 05, 2013 11:09 pm

Re: Save file bugged

#7 Post by shonen »

I've got the same issue, as does this guy: http://forums.te4.org/viewtopic.php?f=42&t=42605

All the save files are there:

-rw------- 1 will staff 564383 Nov 4 02:59 cur.png
-rw------- 1 will staff 374 Nov 5 02:29 desc.lua
-rw------- 1 will staff 561000 Nov 5 02:12 game.teag
-rw------- 1 will staff 80406 Nov 4 00:01 zone-deep-bellow.teaz
-rw------- 1 will staff 258868 Nov 4 00:55 zone-heart-gloom.teaz
-rw------- 1 will staff 194133 Nov 4 00:42 zone-norgos-lair.teaz
-rw------- 1 will staff 336426 Nov 4 02:54 zone-old-forest.teaz
-rw------- 1 will staff 89153 Nov 4 02:09 zone-rhaloren-camp.teaz
-rw------- 1 will staff 73674 Nov 4 01:32 zone-ruins-kor-pul.teaz
-rw------- 1 will staff 119560 Nov 4 02:21 zone-scintillating-caves.teaz
-rw------- 1 will staff 412214 Nov 4 01:40 zone-town-derth.teaz
-rw------- 1 will staff 365868 Nov 4 01:53 zone-town-elvala.teaz
-rw------- 1 will staff 425632 Nov 4 01:49 zone-town-last-hope.teaz
-rw------- 1 will staff 176093 Nov 4 01:41 zone-town-lumberjack-village.teaz
-rw------- 1 will staff 167349 Nov 4 01:17 zone-trollmire.teaz
-rw------- 1 will staff 1253223 Nov 4 02:21 zone-wilderness.teaz

... and it would appear that desc.lua and game.teag are a day "newer" than the others, so perhaps these did come from the Steam cloud.

I can also add that I'm fairly sure I was offline at the beginning of my latest session due to a broadband outage. It seems sort of basic to prefer local data, and to check file dates/metadata before overwriting them.

Are we sure this is a Steam issue rather than a TOME issue? I've not seen a problem like this with any other Steam game. This has been the one thing that has always held TOME back (for me) from being a top tier game. There have been a number of save-breaking issues over the years that have temporarily driven me, and I'm sure others, away. I see guys in IRC offering to fix certain broken saves, which is a great start to taking this sort of issue seriously, but there's no issue that's more frustrating than losing hours or days to broken/corrupt/overwritten saves. It's essentially lost customer data. </rant>

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Save file bugged

#8 Post by HousePet »

It might not be a Steam issue, but ToME4 isn't super buggy either. A faulty interaction between the two wouldn't show up when comparing bugginess statistics. Not that using bugginess statistics is a good way of locating the issue.
My feedback meter decays into coding. Give me feedback and I make mods.

shonen
Cornac
Posts: 38
Joined: Tue Feb 05, 2013 11:09 pm

Re: Save file bugged

#9 Post by shonen »

I am not at all saying that TOME is buggy, it is decidedly not buggy considering all the content and updates, and I'm not really commenting on rate of bugginess anyway. My point is that this type of bug is particularly painful. Through bad luck or whatever, I've lost a few saves over my TOME career, sorry if a bit of frustration with that is coming through. All I'm trying to do is to add a "me too" in hopes that someone will take a serious look at this part of the code. I appreciate your response.

To answer the questions you asked in the other thread, the save I had a problem with was a Dwarf Stone Warden, steam saves, and these addons:

'puristorcpits', 'ashes-urhrok', 'items-vault', 'orcpitsrestoration', 'zomnibus', 'stone-wardens'

... which seems odd, as I have at least one of those orc pit mods manual/off at all times (and will eventually delete the purist version now that I know the story). I'm also running on a Mac Pro, in case that makes a difference.

Let me know if there's anything else I can get. I've left the save as-is, any point in preserving it?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Save file bugged

#10 Post by HousePet »

The only link I can see with the limited data available is the steam cloud saving.
Unfortunately, this is a difficult bug to test, as it doesn't always happen.
You can try turning off the steam cloud saving and tell us how it goes.
My feedback meter decays into coding. Give me feedback and I make mods.

shonen
Cornac
Posts: 38
Joined: Tue Feb 05, 2013 11:09 pm

Re: Save file bugged

#11 Post by shonen »

It also appears that we both likely saved offline at some point. Maybe just an order of operations thing. Do you know where in the source tree we'd find the Steam sync code?

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Save file bugged

#12 Post by HousePet »

Nope, I have no idea.
My feedback meter decays into coding. Give me feedback and I make mods.

personamb
Posts: 2
Joined: Sun Oct 26, 2014 12:56 am

Re: Save file bugged

#13 Post by personamb »

I was the linked-to thread earlier, and this has happened to me again. I can confirm that I have Steam cloud saving on; I'm going to go ahead and disable it, since everybody this seems to be happening to seems to have the same problem

Post Reply