[1.04] Old Forest --> Damp Cave LUA Crash

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Mandabar
Low Yeek
Posts: 5
Joined: Tue Sep 10, 2013 6:43 am

[1.04] Old Forest --> Damp Cave LUA Crash

#1 Post by Mandabar »

Went to enter Damp Cave on 3rd (I think) section of old forest. There was an empty vault near it with a lore message saying I was too slow to steal from the vault ;-)

Anyways, the game saved in the new area and now I'm stuck unable to play this character. Ugh =)

Here's the log file http://www.sendspace.com/file/2bz8oy.

Search for the line that says "[LOG] Lore found: #0080FF#Mocking Note" This is just before My first attempt to enter the cave, I had to switch back to my alch before I tried again. And then bugged out. Seems the zone doesn't exist?

Hope it helps, and also someone tells me a workaround to get this working again. I do have a save file from 24hrs ago backed up... but rather not use it heh. And at this point if I can't fix it w/o debug, I'll be happy to do debug like someone said to get back out.
Attachments
te4_log.rar
(92.35 KiB) Downloaded 117 times

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#2 Post by Hachem_Muche »

Is the character file unloadable or is there just a problem entering the damp cave? If the character is unloadable, a fix is probably very difficult or impossible.

From scanning the log it looks like there was a problem creating the new zone (with the drakes in it). (This probably has nothing to do with the empty vault you encountered.)

Assuming the character can still be loaded, there could be a problem with the zone file for the damp cave or just a file name mismatch.

This might be correctable as follows:

Go into the character's save file directory and look for the zone file for the drake cave.
The name will be similar to zone-xxxx-dragon-cave-nnnnnn.teaz.
If you can find such a file make sure the last (numbers) bit matches the error in your log file (448270). If it's different, rename (only) the numbers part of the file name to match, and then reload the character and try to enter the cave again.

If the character can then zone in but the game crashes or has a bunch of errors, the zone file is corrupted and it's probably best to just skip this damp cave and move on.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Mandabar
Low Yeek
Posts: 5
Joined: Tue Sep 10, 2013 6:43 am

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#3 Post by Mandabar »

I'm pretty sure the character "loads". I have all the ui elements. I can look at my inventory/stats/skill tree. Just a blank level/zone. I unfortunatly can't NOT go in damp cave. Since the game saved when I entered the zone. So I always start in the zone instead of outside in old forest 3 (which was what I really was hoping for the first time I reloaded the save),

Trying to do your suggested fix, I looked in <user>\T-Engine\4.0\tome\save\bicey and there is no file for a damp cave.

The files I do have are

cur.png (Save Screenshot)
desc.lua
game.teag
level-old-forest-1.teal
level-old-forest-2.teal
level-old-forest-3.teal
zone-maze.teaz
zone-old-forest.teaz
zone-ruins-kor-pul.teaz
zone-town-angolwen-teaz
zone-town-dearth.teaz
zone-trollmire-teaz
zone-wilderness.teaz

There are 4 files related to old forest, and I only entered 3 levels of old forest to my knowledge. The forth one, Zone-old-forest.teaz is perhaps the attempted damp cave?

I'll be here if you need more info from me. Got email alerts on heh

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#4 Post by Hachem_Muche »

zone-old-forest.teaz is the save file for the whole zone. The other old-forest files are temporary files to store the levels. The drake cave zone file is missing, so there's no where for the portal to go.

If you don't mind breaking validation for this character, using the debug menu is the easiest way out. I'd also delete level-old-forest-3.teal since it's likely to be corrupted (or at least has a broken portal). If the zone file is corrupted too, you'll have to delete all of the old-forest files to force recreation of them so you can get to Lake Nur.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Mandabar
Low Yeek
Posts: 5
Joined: Tue Sep 10, 2013 6:43 am

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#5 Post by Mandabar »

Yeah that's along the lines that I thought. I wonder why there was no damp cave created.

How do I do this debug thing so I'd know how to get around this next time?

Thanks for the help.

Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#6 Post by Hachem_Muche »

Enable cheat mode (see http://te4.org/wiki/Debugging for directions). You can tell it's active if there is an option to reboot the game on the first menu.

Load the character and skip any error message windows. Hit ctrl-A to get the debug menu to come up and chose change zone to pick a new zone and level to move your character to. Save the character before making the changes to the save files.
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

Mandabar
Low Yeek
Posts: 5
Joined: Tue Sep 10, 2013 6:43 am

Re: [1.04] Old Forest --> Damp Cave LUA Crash

#7 Post by Mandabar »

Ok, Thanks!

Post Reply