Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 42 43 [44]

Author Topic: Dwarf Therapist v41.1.0 | DF 44.12  (Read 104411 times)

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist v41.0.3 | DF 44.12
« Reply #645 on: August 03, 2019, 08:46:32 am »

Yes, I should make a new release soon. The next release for macOS may not work on older versions (older than macOS 10.12, see this post). I'd like to some feedback from thistleknot about the new roles stats first, if it can be merged or if it needs more time.

The one currently available flashes an "update to 41.03" message before immediately quitting.

Is it quitting or crashing? Do you have any kind of crash report? stack trace? It would be better to fix that before the next release.

Maybe you can remind me what those changes were exactly so I can look directly at that part.  I know you shared with me the git repo.  i only cloned what I thought was the first commit and confirmed my build env.

Give me a week.  My nas node was acting up.  Didn't lose anything.  I have all the time in the world.  But I'm still settling in to my new environment.  It's going to take me about another week to get my head into the code.  I have my masters done in Data Science so I am finally qualified to speak on all of this.  But tbh it's not needed.  The s transform function along with the empirical cumulative distribution function was more than enough to meet the games demands (not scientific at all tbh other than the ECDF).  But I forgot what I was doing with it all.  That's what I don't want to lose the work on.  I was working on IMPROVING that.
« Last Edit: August 03, 2019, 08:49:01 am by thistleknot »
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #646 on: August 10, 2019, 09:56:58 am »

New version released: 41.1.0

Changelog:
  • added needs for roles
  • added macOS bundle versions
  • changed log files location
  • added log location shortcut in "file" menu
  • added log rotation for keeping a few log from previous sessions
  • fixed role calculations
  • fixed role goals ratings
  • fixed a crash in the role editor
  • fixed log files being created as root on macOS
  • fixed about dialog colors (for dark styles) and geometry

Windows builds are also available on DFFD (win32, win64).

I am not sure the new macOS build works on system older than 10.12 because the Qt version is too new. But, using an older Qt version (older than Qt 5.12), DT should still be compatible for OS X 10.9 to 10.11. If someone wants to make such a build and share it, I can add a link in the first post.

Log files have moved, here are the new location for each platform, so you can find them for your bug reports (there is also a shortcut in the "file" menu to help you):
  • Windows: C:\Users\<Your User Name>\AppData\Local\Dwarf Therapist\log\dwarftherapist.log
  • macOS: ~/Library/Logs/Dwarf Therapist/dwarftherapist.log
  • Linux: $XDG_CACHE_HOME/dwarftherapist/log/dwarftherapist.log (default for XDG_CACHE_HOME is ~/.cache)
This should finally allow windows version of DT to work from read-only installation directories (e.g. in C:\Program Files).
Logged

Kiloku

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #647 on: August 16, 2019, 06:23:20 am »

I remember a fork of DT that worked in adventurer mode, showing information about the adventurer (and their companions, I think). Is it possible to get that feature in current DT?
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #648 on: August 16, 2019, 08:28:33 am »

It may be possible (I think it is mostly the unit validation that must be adapted). But I am not sure DT UI would be very useful for adventure mode. It is focused on managing labors. A completely different application would be better suited.
Logged

Cespinarve

  • Bay Watcher
  • Lege lege lege relege labora et invenies
    • View Profile
    • The Stone Lanes
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #649 on: August 18, 2019, 01:23:16 pm »

What are the Boolean operators for excluding races and occupations via a filter? For example I want to be able to see only units who are DWARVES and NOT BARDS and NOT PERFORMERS etc.
Logged
Nice one, not sure when I'll be feeling like killing a baby but these things are good to know.
This is why we can't have nice things... someone will just wind up filling it with corpses.
Arrakis teaches the attitude of the knife — chopping off what's incomplete and saying: "Now it's complete because it's ended here."

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #650 on: August 18, 2019, 02:11:43 pm »

Something like:
Code: [Select]
d.get_race_id() == 572 && d.profession() != "Bard" && d.profession() != "Performer"I am not sure there is a practical way to get the race "id" (it is not actually the id, but the index in world.raws.creatures.all). It should be changed to use the string id ("DWARF") instead, that would be easier.

I used
Code: [Select]
:lua for i,c in ipairs(df.global.world.raws.creatures.all) do if c.creature_id == "DWARF" then print(i) end end in dfhack console to find the race index. Try it yourself, the index may be different in your world.
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #651 on: August 19, 2019, 03:20:54 am »

"df.global.ui.race_id" contains the played race id, and so should work even if you've added/removed creatures, or modded non dorfs to become playable.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #652 on: August 19, 2019, 04:50:16 am »

What would be the best to add for filters: the creature id (the identifier used in the raws) or the display name? In some cases it only change the case ("DWARF" vs. "dwarf"), in others there are extra words or a different order ("BIRD_CHICKEN" vs. "chicken", "RAT_DEMON" vs. "demon rat"). The caste name is usually displayed in the UI instead of the race name, so you may have to guess the correct string for both.
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v41.1.0 | DF 44.12
« Reply #653 on: August 19, 2019, 02:09:14 pm »

What would be the best to add for filters: the creature id (the identifier used in the raws) or the display name? In some cases it only change the case ("DWARF" vs. "dwarf"), in others there are extra words or a different order ("BIRD_CHICKEN" vs. "chicken", "RAT_DEMON" vs. "demon rat"). The caste name is usually displayed in the UI instead of the race name, so you may have to guess the correct string for both.
If the filter is free text, I'd try to match against both, and if it's a list you select from I'd use the appropriate name string rather than the Id. If castes have different names (e.g. cow/bull) I'd probably try to match those as well. Whether "bull" would then also pick up "cow" would depend on what the filter is used for.

And, to correct my previous post, the "race_id" field actually contains the race index, not the Id...
Logged
Pages: 1 ... 42 43 [44]