Closed Coinneas closed 5 years ago
What DFHack tools are you using/have you used?
I (and the others with the issue) have simply been using the Lazy Newb Pack and the default DFhack included in it. In my case, in the save that got glitched, I had used the open-legends command. I had also used the command within the stocks menu that allows you to see the status of bedrooms.
I don't know if it's relevant or not: I had the HFS unleashed at my last embark while using reveal. I checked the map for aquifers, plotted a way past it, and accidentally unpaused without running unreveal, and ran the game for a short time. I got a collapsed message, and fps was ruined at once. I quit the game without saving, so no idea about save corruption, and I don't remember the tiles changing as described. Other command I used at that session was prospect. 42.04-alpha2
This issue have occurred for me twice now. I'm using Dwarf Fortress 40_24 Starter Pack r20. During my fortress gameplay have exported legends to xml using the ingame DFHack open-legends command.
Since the only reports of this so far seem to be related to open-legends, I'll add a warning to that script. It might also be possible to prevent it from being used on saves that have changed after being loaded, or force DF to quit when exiting legends mode to prevent issues (which would still be more convenient than trying to get to legends mode in an existing game in vanilla DF).
Steps to reproduce:
open-legends
d
(export detailed map)cur_season_tick
becomes a multiple of 2000Game clears world.world_data.region_details
on LEGENDS_EXPORT_DETAILED_MAP
key press and then uses that vector when it generates detailed map for export.
Wrong region_details
is an actual reason of massive game glitch.
region_details
contents shold be moved to some safe place right after loading legends screen and moved back right before exiting legends mode.
Repeating https://github.com/DFHack/lethosor-scripts/pull/3#issuecomment-195966083:
It also updates resident counts, inhabitants, cavein_flags[7] and some hf and site links(hf_site_link_home_site_realization_buildingst), (creates realizations)
And I think there may be other things as well that were mentioned on IRC. I'm not sure we can handle everything, so a strong warning is probably the best we can do.
Just had a similar event. and reloaded savefile to see if this I can reproduce this. In my case, all tiles revealed, map regenerated, all construction(walls, floors) disappeared, goblins appeared everywhere on the surface (dwarves are stuck by regenerated blocks) in 44.12 LNPr4.
Edit : Yeah I can reproduce it. and some bards and poets also appear. seems like all dead historical figures are regenerating! I'm uploading it. anyone knows how to save this savefile?
(Essentially, on a certain date the game glitches massively, as described in the title).
This game-breaking bug is currently under discussion on Mantis, and I (and the others involved) believe it to be related to DFHack. See below for more information:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=9052#bugnotes