Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 112 113 [114] 115 116 ... 192

Author Topic: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)  (Read 847241 times)

xordae

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1695 on: March 30, 2012, 06:05:23 pm »

Thanks for the .07 values!
Logged

Lockyy

  • Bay Watcher
    • View Profile
    • Tales from the Fortress
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1696 on: March 30, 2012, 06:21:34 pm »

y'know, saying "go to this and this folder and copy the 34.06 file, paste it as a double then rename it as 34.07" would probably have been less work for you.

Personally I think visual instructions like that are better. Especially when some people might be a bit less proficient with this than others.

But whatever floats your boat.
Logged
Tales from the Fortress is my website dedicated to archiving stories from the world of dwarf fortress.

Now updated to include a DF2014 section!

khearn

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1697 on: March 30, 2012, 06:36:54 pm »

I'm having trouble getting DT to work with 34.07. I'm on Unbuntu Linux 10.04, running a version I compiled from the mainline 0.6.12 sources. It used to work with 34.06, but now when I run it I get "ptrace attach: No such process" to stderr. The DT window does open up and give me an empty labor matrix. The "Connect To DF" button is enabled, but clicking it just gives the same message to stderr. I've searched this thread for that message and didn't find it.

FAKEEDIT: Whoops, I just realized that I had two DFs running, one 34.06 and one 34.07. I guess that confused DT. The error message could be clearer. Instead of "no such process" it should realize that there are two processes and do, um, something. My guess it that it checks for processes with the correct name and if it doesn't get exactly one, it gives that error message, assuming it got none. The simplest thing would be give an appropriate error if it sees more than one, but that means DT can't be used if you are running a fort and looking at legends at the same time in a different process. Ideally it would allow the user to choose which process to connect to. But that would be more work to implement.

So. Now I can connect to 34.07, but of course I don't have the correct offsets. Oh well, it's about time to head home. I can play on a Windows machine there, and I see the offsets are already available for Windows. Heck, by the time I get home, someone will probably post the linux offsets, too. :)
Logged
Have them killed. Nothing solves a problem quite as effectively as simply having it killed.

ZeeDubs

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1698 on: March 30, 2012, 08:08:45 pm »

Worked for me, thanks for the information.
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1699 on: March 30, 2012, 08:13:39 pm »

I found a c++ implementation of the Weibull distribution http://www.codecogs.com/code/statistics/distributions/continuous/weibull/cdf.php, which can be applied to skills.  I'm still working on deriving the shape and scale parameter having worked with this http://www.qualitydigest.com/jan99/html/body_weibull.html, it should work with skills!  I used easyfit for a made up sample of skills, and weibull worked well.  I'm still trying to get dwarfexport to export my 255 dwarf skills to an xml and then into easyfit.

Holy Rusted Metal Batman
http://www.codecogs.com/code/statistics/distributions/continuous/logistic/index.php

http://www.codecogs.com/code/statistics/distributions/continuous/burr/index.php

« Last Edit: March 30, 2012, 08:20:04 pm by thistleknot »
Logged

Horizons

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1700 on: March 30, 2012, 08:24:03 pm »

Thank you to both Slink and Lockyy for the contributions, however currently I am seeing that my dwarves are at zero happiness and have no assigned jobs. Could someone please post a pastebin with the contents of the latest file; I seem to be unable to get it working.

Edit: Alright; seems taking the Lazy Newb Pack's DFTherapist files won't make it work either. Still waiting on someone to clarify what is actually going on.

Another Edit: Managed to cobble something together; will not crash DF as far as I can see. Manages to see their happiness too, only issue is current job has a value of -1, if anyone wants to give it a look; here is the pastebin.
Code: [Select]
http://pastebin.com/UqrXd6mW
One More: Slink posted the correct offsets; this post is invalid.
« Last Edit: March 30, 2012, 10:20:53 pm by Horizons »
Logged

shovelmonkey

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1701 on: March 30, 2012, 08:37:10 pm »

Thank you to both Slink and Lockyy for the contributions, however currently I am seeing that my dwarves are at zero happiness and have no assigned jobs. Could someone please post a pastebin with the contents of the latest file; I see to be unable to get it working.

Pretty much the same problem here. Using DwarfEngineer's DT (from the op of this thread) my DF version number only goes through 34.02, using that file as the template it loads names but nothing else and crashes the game when I commit changes. Wish someone could just post a working file to use, would make it so much easier, unless that's some kind of breach of the rules here.
Logged
Reach out and crush someone!

slink

  • Bay Watcher
  • Crazy Cat Dwarf
    • View Profile
    • Slink's Burrow Online
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1702 on: March 30, 2012, 10:14:41 pm »

Put this in a file named v0.34.07_graphics.ini, in the etc\memory_layouts\windows sub-directory under the directory from which you run DT.

Spoiler (click to show/hide)
Logged
There is only one cat, and all cats are that cat.
Almost losing is sometimes fun.

Balin

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1703 on: March 30, 2012, 10:49:35 pm »

Boost is an extension of the C++ STL and it has packages for dealing with distributions (confidence intervals, etc)

http://www.boost.org/doc/libs/1_49_0/libs/math/doc/sf_and_dist/html/math_toolkit/dist/dist_ref/dists/weibull_dist.html

and for generating random numbers with required distributions

http://www.boost.org/doc/libs/1_49_0/doc/html/boost/random/weibull_distribution.html
Logged

diegokilla

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1704 on: March 30, 2012, 11:23:09 pm »

Thanks slink and lockyy for the quickfix :D
I was about to have to call it quits on DF for the night :P
Logged

hello_asdf

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1705 on: March 30, 2012, 11:24:25 pm »

Has anyone had any luck with the Linux memory offsets? I've been trying for the past hour, and I'm completely stuck. I've gotten the language (I think), and the current year. That's it though.
Logged

Schaluck

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1706 on: March 31, 2012, 02:57:26 am »

os x layouts:

Spoiler (click to show/hide)
Logged

Schaluck

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1707 on: March 31, 2012, 03:00:13 am »

and @hello_asdf, if you've got the language vector, you can use the previous .ini file to get the difference of the other offsets to the language offset and then add these to the new language offset to get a complete .ini file.
Logged

Slitherrr

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1708 on: March 31, 2012, 03:27:04 am »

The auto-updater doesn't seem to be pulling any of the layouts--I'm stuck at .02. Are the layouts the same for .03-.07, or alternatively, could someone throw up a zip somewhere?
Logged

Ratherford

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1709 on: March 31, 2012, 05:54:34 am »

The auto-updater doesn't seem to be pulling any of the layouts--I'm stuck at .02. Are the layouts the same for .03-.07, or alternatively, could someone throw up a zip somewhere?

see slink's latest post on this site. worked perfectly for me ;)
Logged
Pages: 1 ... 112 113 [114] 115 116 ... 192