Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 228 229 [230] 231 232 ... 360

Author Topic: DFHack 0.43.03-r1  (Read 1122612 times)

notfood

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3435 on: December 16, 2015, 05:25:47 pm »

sv-esk already got somewhat working 42.03 offsets, compiles with no issues and most stuff works.
Logged

forsaken1111

  • Bay Watcher
    • View Profile
    • TTB Twitch
Re: DFHack 0.40.24-r5
« Reply #3436 on: December 16, 2015, 05:40:22 pm »

sv-esk already got somewhat working 42.03 offsets, compiles with no issues and most stuff works.
Thats what was said about the last unofficial build until it was found that there was a potentially save-corrupting bug. I'll wait.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3437 on: December 16, 2015, 05:43:52 pm »

There are still several broken things, and there may be issues with those offsets that are causing crashes.
(Also, since the only file DFHack uses that sv-esk touched was symbols.xml, there shouldn't be any recompiling involved, so anything that compiled in .02 should still compile.) I would advise against using it for anything besides testing at the moment.

Those are just structures that we've verified are the correct size and/or contain the right fields. It's not completely accurate, and it's usually even less accurate for new minor versions without structure changes (since we don't bother re-checking everything).
You can also get the current version from version.lisp, I think.
There's generally no need to double-check everything in a minor release, but is there a way to color it as "previously checked and almost certainly unchanged"?  Gray or something would give the cheering section interested parties a sense of scale.
It would be somewhat difficult to determine because structures can also be partially verified, which creates new/different lines in the .lst file (example).
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

nomad_delta

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3438 on: December 16, 2015, 05:46:06 pm »

sv-esk already got somewhat working 42.03 offsets, compiles with no issues and most stuff works.
Thats what was said about the last unofficial build until it was found that there was a potentially save-corrupting bug. I'll wait.

Same, I really miss dfhack (workflow and autobutcher in particular, I really love the the unnecessary micromanagement reduction tools which allow me to spend more time micromanaging the parts I find to be fun and enjoyable rather than constantly monitoring stockpile levels and re-queuing repeating jobs in workshops) but I'll happily keep waiting until the official release is out.  Big <3 to all the wonderful peeps who work on dfhack and all the plugins.  Thanks guys!

--nomad_delta
 
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3439 on: December 16, 2015, 05:53:03 pm »

There are still several broken things, and there may be issues with those offsets that are causing crashes.
(Also, since the only file DFHack uses that sv-esk touched was symbols.xml, there shouldn't be any recompiling involved, so anything that compiled in .02 should still compile.) I would advise against using it for anything besides testing at the moment.
And keep a fire extinguisher handy.  Just in case.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3440 on: December 16, 2015, 08:52:52 pm »

I will add that the fact that it compiles means nothing. Even if the structures are dead wrong it can still compile. It is 100% impossible for the compiler to check whether df-structures is correct or not.
Logged

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3441 on: December 16, 2015, 09:01:21 pm »

Maybe we need a test suite then?  Just something automatic that can run and pass/fail would be a nice signal...
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3442 on: December 16, 2015, 09:25:52 pm »

The only thing we could really figure out automatically would be if DFHack crashes when doing something, and checking  a significant number of structures in DF with that technique probably wouldn't be possible (and we can already figure out some size changes without running DF, anyway). DFHack generates its own constructors for all DF objects, so even if the layout for something like "itemst" is completely wrong and would crash if you try to interact with items in DF, items that DFHack creates (df.itemst:new() in Lua, for example) would work just fine, since they'd have the layout DFHack expects.
Also, even if we did manage to get a pass/crash check implemented for some structures, that wouldn't tell us if their layouts were correct. For example, if Toady changes unit flags, there isn't a way to verify that DFHack's "scuttle" flag corresponds to DF's without manually checking.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3443 on: December 16, 2015, 09:35:32 pm »

The only thing we could really figure out automatically would be if DFHack crashes when doing something, and checking  a significant number of structures in DF with that technique probably wouldn't be possible (and we can already figure out some size changes without running DF, anyway). DFHack generates its own constructors for all DF objects, so even if the layout for something like "itemst" is completely wrong and would crash if you try to interact with items in DF, items that DFHack creates (df.itemst:new() in Lua, for example) would work just fine, since they'd have the layout DFHack expects.
Also, even if we did manage to get a pass/crash check implemented for some structures, that wouldn't tell us if their layouts were correct. For example, if Toady changes unit flags, there isn't a way to verify that DFHack's "scuttle" flag corresponds to DF's without manually checking.
I think PE meant something like a long macro that just exercises standard DFHack stuff and tries to do something with it in the game (spawn a cat then exterminate it, add the first clothing item to a uniform, etc.), though I might be wrong.

Such a system would do very basic stuff, leaving the new features for in-depth testing.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

notfood

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3444 on: December 17, 2015, 12:10:09 am »

Okay, forget I mentioned compiling. It works fine, mostly.
Logged

blackjack

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3445 on: December 17, 2015, 01:05:27 pm »

Can you guys give me the link to the new symbols file, please?
Thanks
Logged

Krutzelpuntz

  • Bay Watcher
  • [CHILD:64]
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3446 on: December 17, 2015, 01:07:34 pm »

I'm looking so much forward to the new stable releases, I check in here every day at least once.

I was wondering though, is this the right place to look?
Is this where new updates will be posted? :)
Logged

Brody

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3447 on: December 17, 2015, 01:13:29 pm »

This will indeed be the place to look.
Logged

Nopenope

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3448 on: December 18, 2015, 05:20:09 am »

The right place to look is actually the github repo, if you want nightlies that is.

Can you guys give me the link to the new symbols file, please?
Thanks

As far as I know the only update I'm aware of is at svesk's repo:
http://github.com/sv-esk/df-structures/
Didn't test it though, and seeing as the update wasn't performed by the dfhack team itself a whole handful of salt should be taken this time, and even more care should be taken regarding unstability and secondborn corruption.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.24-r5
« Reply #3449 on: December 18, 2015, 06:46:32 am »

There are a couple minor issues with it, and possibly a couple crashes related to it (although it's unclear if those resulted from his offsets or someone else's). We'll probably add offsets in the next day or two, since Quietust just fixed a lot of issues in .02.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.
Pages: 1 ... 228 229 [230] 231 232 ... 360