View Issue Details

IDProjectCategoryView StatusLast Update
0006471Dwarf FortressDwarf Mode -- Abandonment of Fortpublic2014-04-27 05:10
ReporterDeltaFx Assigned Touser11 
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionno change required 
OSWindowsOS Version7 
Product Version0.34.11 
Summary0006471: Stop of working only if Abanbon, sucumb (or any FUN)
Descriptionwhen I try to abandon or succumb so to a siege or lose
when the game try to save the region (for latter use) it stop of working
I can save and season save without problems

I want to use it to adventure mod and legend mod since this is my first fort to survive this long
Additional Informationmy fort have
141 citizens
76 live stock
631 dead or missing
TagsNo tags attached.

Activities

Quietust

2014-04-24 18:41

reporter   ~0024725

If your game is crashing on abandon, you should probably upload it to DFFD so somebody can examine it - one of the DFHack devs will probably be able to track it down.

user11

2014-04-25 05:54

  ~0024726

Reminder sent to: DeltaFx

On crash reports, we almost always need a save. Please compress (.zip) your DF/data/save/region folder, upload it to http://dffd.wimbli.com, and post a link to it in the bug report. We also need to know if you are using any mods or utilities.

DeltaFx

2014-04-25 07:50

reporter   ~0024730

Sorry my internet was bad yesterday,
so I couldn't upload the save

here is he:

http://dffd.wimbli.com/file.php?id=8538

copy from description of file:

also I'm on 34.11

with dfhack 34.11 r3
for:
soundsence,
autodump,
the bug fix,

and instant "magma flood" FUN (not on this map)

I played other map's and I could abandon , succumb or get FUN without problems
but this one (my most successful I can't)

I did a loot in this one and I wanted to use to legends mode and adventure mode

I don't remember if abused of any feature of dfhack by mistake (possible only the digv and autodump)

Quietust

2014-04-26 08:37

reporter   ~0024731

Last edited: 2014-04-26 10:17

On Z-level 138, there is a dead war Raccoon (unit #16444) which looks very strange - it is marked as an important historical figure (both flags1 bit 0x80000000 and flags2 bit 0x00000040), but its historical figure ID is set to -1 and it does not have a nemesis record associated with it, so the game gets NULL for its nemesis record and then tries to read into it, causing the crash.

Executing the following 2 commands at the DFHack console should fix your problem and allow you to abandon your fortress successfully:


:lua df.unit.find(16444).flags1.important_historical_figure = 0
:lua df.unit.find(16444).flags2.important_historical_figure = 0


This unit also has some very odd properties - it is marked as having a name (but said name is completely blank), flagged as "sparring" and "fortress_guard", has every single labor enabled, and even has Dabbling experience in a few skills (Engraver, Animal Trainer, Armor User, Dodger, and Observer). Have you been using any special DFHack scripts for creating or modifying units?

[edit] Judging from the 4 odd Goblins ("CRUNDLE", "Cuzonis The Globin Cu II", "Cuzonis The Globin Cu", and one unnamed), the unnamed Elf, 8 Lizards (which are supposed to be vermin, not units), and several other oddities in the Dead Units list, it appears likely that some semi-random memory hacking took place in this world without regard to the consequences of corrupting the savegame...

DeltaFx

2014-04-26 10:27

reporter   ~0024732

Last edited: 2014-04-26 10:32

nop, as far I know - I did not,
on the day I get this raccoon the I thinks I put "weather clear"(to the fort not flood close to a siege (wich i almost had FUN, I leave then game runing while I get afk)) but the game has not paused and I did the season save, maybe it corrupted something?

and thanks, now I can explore the hell and then flood the fort with lava and water to use on legend mode :P

may I will leave the fort flood with rain this time


and I did not hack, the fun of the game is losing not wining,
when tings get borring I make a lot of channels, lock the fort and make everyone drown xD

also I know how easy a save can be corrupt with cheats or anything like that

now it's fixed (was the raccon the problem)

user1294

2014-04-27 05:10

  ~0024735

Since it seems that DFHack usage is to blame for the crash, I'll resolve this as no change required.

Issue History

Date Modified Username Field Change
2014-04-24 16:24 DeltaFx New Issue
2014-04-24 18:41 Quietust Note Added: 0024725
2014-04-25 05:54 user11 Note Added: 0024726
2014-04-25 05:54 user11 Assigned To => user11
2014-04-25 05:54 user11 Status new => feedback
2014-04-25 07:50 DeltaFx Note Added: 0024730
2014-04-25 07:50 DeltaFx Status feedback => assigned
2014-04-26 08:37 Quietust Note Added: 0024731
2014-04-26 08:37 Quietust Note Edited: 0024731
2014-04-26 08:37 Quietust Note Edited: 0024731
2014-04-26 08:39 Quietust Note Edited: 0024731
2014-04-26 10:17 Quietust Note Edited: 0024731
2014-04-26 10:27 DeltaFx Note Added: 0024732
2014-04-26 10:27 DeltaFx Note Edited: 0024732
2014-04-26 10:30 DeltaFx Note Edited: 0024732
2014-04-26 10:31 DeltaFx Note Edited: 0024732
2014-04-26 10:32 DeltaFx Note Edited: 0024732
2014-04-27 05:10 user1294 Note Added: 0024735
2014-04-27 05:10 user1294 Status assigned => resolved
2014-04-27 05:10 user1294 Resolution open => no change required