Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 233 234 [235] 236 237 ... 244

Author Topic: DFHack 50.14-r1.1  (Read 875632 times)

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r2 | 50.09-r3rc3 pre-release (with Linux support)
« Reply #3510 on: September 05, 2023, 03:44:22 am »

Absolutely -- and thank you for the bug report. It was an easy fix, and will be in the next release (later this week)
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r2 | 50.09-r3rc3 pre-release (with Linux support)
« Reply #3511 on: September 07, 2023, 12:09:54 pm »

Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3512 on: September 08, 2023, 02:34:25 pm »

Has it started crashing for anyone else with DFHack 50.09-r3? It crashes when I load my fort (Windows, Steam version).

I allowed a debugger (Visual Studio Just-In Time Debugger), which showed me there are problems with seedwatch.plug.dll. When I delete the file, my fort loads without crashing. When I restore the file, Dwarf Fortress crashes upon loading the fort. I don't use the plugin as far as I know, but it still causes the crash somehow.

Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3513 on: September 09, 2023, 12:48:38 am »

We did make a small change to the seedwatch plugin, but I haven't seen any crashes with it. Do you have any mods installed? Could you possibly zip up the savegame that crashes (plus your mods directory) so we can take a look at it?
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3514 on: September 09, 2023, 03:22:25 am »

We did make a small change to the seedwatch plugin, but I haven't seen any crashes with it. Do you have any mods installed? Could you possibly zip up the savegame that crashes (plus your mods directory) so we can take a look at it?

I have uploaded the save file. My mod directory is empty, so no mods here.

https://dffd.bay12games.com/file.php?id=16837
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3515 on: September 09, 2023, 09:33:38 am »

Crash confirmed. Thanks! I'm looking into it.
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3516 on: September 09, 2023, 09:43:13 am »

Ok, this appears to be caused by a bad data migration from earlier versions of seedwatch. You can fix it by editing the dfhack-legacy-data.dat file in the savegame directory and removing all the seedwatch/seed data elements. That is, remove all the elements that look like this:
Code: [Select]
    {
        "i" :
        [
            -1,
            30,
            -1,
            -1,
            -1,
            -1,
            -1
        ],
        "k" : "seedwatch/seed/34",
        "s" : ""
    },

We'll get this fixed properly for the next release. Thank you very much, and sorry for the frustration!
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3517 on: September 09, 2023, 03:33:02 pm »

Thank you myk! Somehow editing the active savefile caused me such error "One of the compressed files on disk has errors in it. Restore from backup if you are able.", but editing older, manual saves (including the one I uploaded), doesn't produce this and works. I'm mentioning this for completeness sake, because the active save was only a minimally never than the other save, so nothing lost, but a bit curious why could that be.
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3518 on: September 09, 2023, 06:04:05 pm »

DF would only give that error if one of the core vanilla files (like world.sav) failed to decompress properly. The dfhack-legacy-data.dat file is completely separate and *shouldn't* have any way of causing that error, even if was corrupted itself. DFHack would show an error, but DF doesn't read it.

So in short, I have no idea what's going on with that, but I am glad that no significant playtime was lost!
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3519 on: September 10, 2023, 11:57:26 am »

Yeah, I thought that maybe it keeps some checksum of files from save listed as active (for some reason) and thus the error, but maybe it's just a one-off corruption or whatever. Anyway, I'm glad it works now :)
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r1
« Reply #3520 on: September 14, 2023, 03:46:30 pm »

DFHack 50.09-r4 released!

Get it here: https://github.com/DFHack/dfhack/releases/tag/50.09-r4

Or install from Steam: https://store.steampowered.com/app/2346660/DFHack

DFHack 50.10-beta1 also available on Steam in the 50.10-beta release branch or at GitHub here: https://github.com/DFHack/dfhack/releases/tag/50.10-beta1
« Last Edit: September 14, 2023, 07:25:54 pm by myk »
Logged

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r3 (with Linux support)
« Reply #3521 on: September 14, 2023, 09:58:15 pm »

So I'm finally thinking about getting back into DF and continuing the modding I was previously doing. I'm trying to catch up on all the changes (amazing work everyone!) But just wanted to check, is the LUA API reference stuff up to date? I use the function wrappers and plugins quite a lot and just wanted to make sure.
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r4 | 50.10-beta1 (pre-release) (with Linux support)
« Reply #3522 on: September 15, 2023, 12:08:30 am »

Welcome back! Yes, we have carefully kept the Lua API docs up to date. The largest changes have been in the gui and gui.widgets namespaces. The bulk of the C++ module APIs have stayed largely the same. Plugins, on the other hand, have seen a lot of changes, and not all of them have been updated for v50 yet.
Logged

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r4 | 50.10-beta1 (pre-release) (with Linux support)
« Reply #3523 on: September 15, 2023, 05:22:47 pm »

Interesting. Do you know if the eventful plugins have been updated for v50?
Logged

myk

  • Bay Watcher
    • View Profile
Re: DFHack 50.09-r4 | 50.10-beta1 (pre-release) (with Linux support)
« Reply #3524 on: September 15, 2023, 06:05:44 pm »

eventful has had some additions, but it hasn't needed any v50-specific changes. I haven't personally verified that the Lua-only events function as expected, though, just the ones from EventManager.
Logged
Pages: 1 ... 233 234 [235] 236 237 ... 244