Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 218 219 [220] 221 222

Author Topic: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06  (Read 962338 times)

jecowa

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3285 on: November 24, 2017, 02:22:23 pm »

Dumb question, but do I need DFHack turned on to use Dwarf Therapist? I haven't played in a while, so not sure if this has changed or not.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3286 on: November 24, 2017, 02:29:03 pm »

No, DFHack is not required.
Logged

MuthSera

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3287 on: November 24, 2017, 04:40:33 pm »

I'm assuming therapist is broken again? >.<

I've got 105 people in my fort, and I'm getting desperate. Lol.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3288 on: November 24, 2017, 04:46:06 pm »

Yeah, won't be getting DT for 44.02 until dfhack can import relevant offsets.

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3289 on: November 24, 2017, 04:51:17 pm »

DT is not broken, but it has not been updated to support the new DF version(s)...

While DT doesn't require DFHack to use, the layouts DT uses to find where to read and write stuff comes from the DFHack mapping effort in practice (at least to a large extent), so the DT layout production is dependent on the early DFHack mapping effort, but not on DFHack itself.
Logged

Benjamin the Rogue

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3290 on: November 24, 2017, 07:47:48 pm »

Yeah, won't be getting DT for 44.02 until dfhack can import relevant offsets.

I started my first fort in 44.02 and then immediately saved the game upon arriving at our new home and am now just waiting for DT to update before continuing. At first I was like, eh, I can manage 7 dwarves for a little bit just to try out the new stuff. Then I remembered how much of a pain in the ass it was trying to assign, reassign, or track who is doing what and I noped out.
Logged

Alpaq

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3291 on: November 24, 2017, 07:55:51 pm »

I got crushed with a second migration wave and now I'm going to have fun with adventurer mode until DT or Dfhack will come around.
Logged

HammerDave

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3292 on: November 25, 2017, 01:15:32 am »

I'm up to summer of the 2nd year, IIRC.
Took me a good 15-20 minutes to remember how to set labors in-game.  Feels like it's been a couple years since I've done that.  Probably has been lol.
Logged

Jazz Cat

  • Bay Watcher
  • Adept stringed instrumentalist
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3293 on: November 25, 2017, 06:20:37 pm »

I'm trying to get DT working on Linux, but it's not connecting - it's telling me a fort has not been loaded even though I have DF running and embarked. I'm running DF 43.05 with DFHack 43.05-r3 on 64-bit Ubuntu, Dwarf Therapist 38.1.0. I've tried running sudo setcap cap_sys_ptrace=eip and it hasn't helped; I can't run the wrapper in the ./dist folder because I get an error:
Code: [Select]
ERROR:  not found.
       
Verify $_DT_BINARY defined in /Path/To/Dwarf-Therapist-38.1.0/dist/dwarftherapist script is set correctly.

Is there a way to get this working? Apologies if I left out some relevant information, I'm very new to linux.
Logged
Give your dwarves a pet
My holiday mod (only offensive to elves)
The check-laundry script

Quote
Just give the Crossbow weapon the [AMMO:CROSSBOW] tag in the raws. You can make a crossbow that shoots crossbows.

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3294 on: November 26, 2017, 03:55:03 am »

Did you try the script that start DF as a child of DT (after the setcap part in the readme).

You could also try changing ptrace_scope. 0 is the most permissive mode. "sysctl kernel.yama.ptrace_scope" to check the current value and "sudo sysctl kernel.yama.ptrace_scope=0" to change it.

PS: Is "/Path/To/..." the real path to DT?
« Last Edit: November 26, 2017, 04:03:50 am by Clément »
Logged

The Grim Sleeper

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3295 on: November 26, 2017, 05:23:55 am »

Code: [Select]
ERROR:  not found.
       
Verify $_DT_BINARY defined in /Path/To/Dwarf-Therapist-38.1.0/dist/dwarftherapist script is set correctly.

I have the same problem with version 37.0.0

Running Dwarf Therapist in a command terminal produces this stackTrace:
Code: [Select]
[    19.666] <I> attempting connection to running DF game (/home/scott/Dwarf-Therapist/src/mainwindow.cpp:403)
[    19.666] <W> No valid layouts found in the following directories: ("/MyDFDirectory/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/share", "/home/lucas/Games/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/../share", "/home/lucas/Games/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/../share/dwarftherapist", "/home/lucas", "/home/lucas/share") (/home/scott/Dwarf-Therapist/src/dfinstance.cpp:119)
[    19.672] <I> Dwarf fortress path: "/MyDFDirectory/Dwarf Fortress/LinuxLNP-0.43.05-r06/df_linux" (/home/scott/Dwarf-Therapist/src/dfinstancelinux.cpp:276)
[    19.723] <I> Setting memory layout for DF checksum "0xaf8cc86c" (/home/scott/Dwarf-Therapist/src/dfinstance.cpp:1032)
[    19.723] <I> Could not find layout for checksum "0xaf8cc86c" (/home/scott/Dwarf-Therapist/src/dfinstance.cpp:1055)
[    19.723] <I> Checking for layout for checksum:  "0xaf8cc86c" (/home/scott/Dwarf-Therapist/src/updater.cpp:136)
[    20.021] <I> downloading layout "v0.43.02.ini" SHA: "efe236ee1921468def7d24f1018afcd912ca5042" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v0.43.03.ini" SHA: "a79c9a734d3af0631e91a2c1aad5285c65ab200f" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.01.ini" SHA: "00f2d47192b17c96b0787205b7b241ae15184233" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.02.ini" SHA: "ec6a3c43d97c096f997bdd22e39921b065326ad9" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.03.ini" SHA: "d81b90aafff9af84b4d6723a600f61099ea32da6" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.04.ini" SHA: "cbce922a4dae18a4e59e5d904da96d01a5be7b2e" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.05.ini" SHA: "9e0f2039f008546517997c08c41f318f98a79d7b" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.022] <I> downloading layout "v042.06.ini" SHA: "10203b4ffa91ab6cc1e479dd6b809ef214cbb0fe" (/home/scott/Dwarf-Therapist/src/updater.cpp:226)
[    20.071] <I> Setting memory layout for DF checksum "0xaf8cc86c" (/home/scott/Dwarf-Therapist/src/dfinstance.cpp:1032)
[    20.071] <I> Could not find layout for checksum "0xaf8cc86c" (/home/scott/Dwarf-Therapist/src/dfinstance.cpp:1055)
[    20.071] <W> lost connection to DF (/home/scott/Dwarf-Therapist/src/mainwindow.cpp:464)
[    20.072] <C> ("No Layouts Found", "No valid memory layouts could be found to attempt connection to Dwarf Fortress.", "View the details below for the directories checked.", "/MyDFDirectory/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/share\n/MyDFDirectory/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/../share\n/MyDFDirectory/Dwarf Fortress/LinuxLNP-0.43.05-r06/LNP/utilities/dwarf_therapist/../share/dwarftherapist\n/home/lucas\n/home/lucas/share") (/home/scott/Dwarf-Therapist/src/mainwindow.cpp:486)
I don't know who Scott is, but he sure isn't getting his own acocunt on my computer

Did you try the script that start DF as a child of DT (after the setcap part in the readme).
Yes. That is producing this error.

You could also try changing ptrace_scope. 0 is the most permissive mode. "sysctl kernel.yama.ptrace_scope" to check the current value and "sudo sysctl kernel.yama.ptrace_scope=0" to change it.
Tried, didn't work.

PS: Is "/Path/To/..." the real path to DT?
It's the puedo-path, personal details ommitted.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3296 on: November 26, 2017, 06:01:25 am »

DT 37.0 does not support DF 43.05.

What is the Ubuntu version? 16.04? It has been a long time since I used DT on a debian-based distribution, I want to test it myself.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3297 on: November 26, 2017, 10:07:00 am »

Tentative untested Therapist INI files for Dwarf Fortress version 0.44.02:

Windows 32-bit:
Spoiler (click to show/hide)

Windows 64-bit:
Spoiler (click to show/hide)

If you decide to try using these, please provide feedback!
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3298 on: November 26, 2017, 10:41:43 am »

Thanks, basic features work with win32. Labor are read correctly with win64 but there are errors when reading strings.
Logged

jecowa

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3299 on: November 26, 2017, 11:15:56 am »

Wow, that was fast. Toady put something in the code that made finding the DT ini codes faster, iirc. Did that help out a lot?
Logged
Pages: 1 ... 218 219 [220] 221 222