Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 78 79 [80] 81 82 ... 192

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

Mozleron

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1185 on: February 28, 2012, 03:20:15 am »

I've been playing around with the Script Editor for finding out which of my Dwarves actually have any (useful/non-default) labors enabled, among other filtering tasks, and am wondering where the scripts themselves are stored.  I see that there is probably supposed to be a menu option to edit existing scripts, but that menu appears to be disabled at the moment.  In Lieu of that working, where do the scripts get stored between executions of DT?  I'd like to go back and tinker with one i've already written, but don't exactly recall what all i put into it.

Thanks,

~Moz
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1186 on: February 28, 2012, 11:31:21 am »

I've made a few more updates to the branch I've been playing around with:
  - added all the soul's mental attributes (spatial sense, focus, willpower, etc..)
  - added a new default tab for the added attributes (includes both physical and mental together)
  - added an additional option to draw the header text from bottom to top
  - slightly tweaked the threshold for traits so more of them are visible
  - fixed a bug when applying filters while hiding children/babies
  - included the current year offset so ages show up properly

you can download it here and view the source code here





I've been playing around with the Script Editor for finding out which of my Dwarves actually have any (useful/non-default) labors enabled, among other filtering tasks, and am wondering where the scripts themselves are stored.  I see that there is probably supposed to be a menu option to edit existing scripts, but that menu appears to be disabled at the moment.  In Lieu of that working, where do the scripts get stored between executions of DT?  I'd like to go back and tinker with one i've already written, but don't exactly recall what all i put into it.

Thanks,

~Moz

These are the various base locations for the Dwarf Therapist settings:
Windows - %APPDATA% OR %COMMON_APPDATA%
Linux   - $HOME/Settings OR /etc/xdg
Mac OS X - $HOME/.config OR /etc/xdg

Inside the above location you should see a UDP Software directory, and within that is the settings file.

spook54321

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1187 on: February 28, 2012, 11:34:26 am »

Nooooooo!  latest version broke it again... :'(
Logged
It's the same reason why sharks don't attack lawyers, professional courtesy.

This (small) sig of mine

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1188 on: February 28, 2012, 11:40:27 am »

Nooooooo!  latest version broke it again... :'(

sonofa... i'm going to need more coffee...

Spotty

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1189 on: February 28, 2012, 12:00:45 pm »

Looking forward to a 34.03-compatible update with bated breath.  Profuse thanks in advance.
Logged

DwarfEngineer

  • Bay Watcher
  • Grumble Grumble...
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1190 on: February 28, 2012, 12:11:08 pm »

Looking forward to a 34.03-compatible update with bated breath.  Profuse thanks in advance.
Unfortunately I won't be able to post an update until I get done with work - around 4:30 CST. Hopefully there's no major offset changes.

Splinterz, can you elaborate on how you're finding the offset for current year? If I have a reliable way of finding that, I'll work on incorporating your changes into the official build.

Thanks
-DE
Logged
Current Dwarf Therapist Maintainer - Tips

nightwhips

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1191 on: February 28, 2012, 12:18:49 pm »

Mac Mini is in. Trying to get it setup in headless mode so I can remote VNC instead of having it hooked up all the time. I'm out of town this weekend, but OSX support is a top priority.

Looking forward to this! Keep us posted!
Logged
: Miner dwarves? In my volcano?

:I put childs into danger room...
They die, and their parents care nothing because legendary dining room.

Spotty

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1192 on: February 28, 2012, 12:28:48 pm »

Unfortunately I won't be able to post an update until I get done with work - around 4:30 CST. Hopefully there's no major offset changes.

Hey, no big hurry on my account, I actually am still breathing normally, that was just an idiom.  :P  Thanks for posting, though, it's really nice to know what time to not bother checking before.
Logged

HammerDave

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1193 on: February 28, 2012, 01:44:28 pm »

Here is a POSSIBLE layout for 34.03 Windows Graphics.

Use at your own risk.  I managed to set metalcrafting on one dwarf.  Gotta get ready for work.  Unfortunately I can't just pull a mood and blow it off.   ;)

Code: [Select]
[info]
checksum=0x4f4cd85b
version_name=v0.34.03 (graphics)
complete=true

[addresses]
translation_vector=0x017dd65c
language_vector=0x017dd63c
creature_vector=0x01799748
dwarf_race_index=0x015c5ebc
squad_vector=0x017d7a48

[offsets]
word_table=0x0000003c
string_buffer_offset=0x0000

[word_offsets]
base=0x0000
noun_singular=0x001C
noun_plural=0x0038
adjective=0x0054
verb=0x008C
present_simple_verb=0x00A8
past_simple_verb=0x00C4
past_participle_verb=0x00E0
present_participle_verb=0x00FC

[dwarf_offsets]
first_name=0x0000
nick_name=0x001C
last_name=0x0038
custom_profession=0x006C
profession=0x0088
race=0x008C
flags1=0x00E0
flags2=0x00E4
sex=0x00F8
id=0x00FC
recheck_equipment=0x01C0
birth_year=0x022C
current_job=0x030C
physical_attrs=0x3C4
turn_count=0x0668
states=0x06BC
souls=0x0764
likes=0x07A0
labors=0x078C
squad_ref_id=0x08AC
happiness=0x082C

[soul_details]
skills=0x0200
traits=0x0224

[job_details]
id=0x0008
on_break_flag=0x0011
sub_job_id=0x0040

[squad_offsets]
id=0x0000
name=0x003C
members=0x0088

[position_offsets]
token=0x0000
flags=0x0020
general_name_singular=0x00E8
general_name_plural=0x0104
male_name_singular=0x0158
male_name_plural=0x0174
female_name_singluar=0x0120
female_name_plural=0x013C
custom_color_red=0x0382
custom_color_green=0x0380

[valid_flags_1]
size=1
1\name=Not from around these parts
1\value=0x80000000

[valid_flags_2]
size=1
1\name=Dead. Deceased. An Undwarf!
1\value=0x02000000

[invalid_flags_1]
size=7
1\name=a zombie
1\value=0x00001000
2\name=a skeleton
2\value=0x00002000
3\name=a merchant or diplomat
3\value=0x00000040
4\name=outpost liason
4\value=0x00000800
5\name=an invader or hostile
5\value=0x00020000
6\name=an invader or hostile
6\value=0x00080000
7\name=an invader or hostile
7\value=0x000C0000

[invalid_flags_2]
size=2
1\name="dead, Jim."
1\value=0x00000080
2\name=from the Underworld. SPOOKY!
2\value=0x00040000
Logged

kionmaru

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1194 on: February 28, 2012, 04:31:12 pm »

*yawns* g'morning folks.

ooooh, new df.. Let me see if I can get linux 0.6.12 working with it.

Here we go; this one is working for me:

Code: [Select]
[info]
checksum=0x5502e97b
version_name=v0.34.03
complete=true

[addresses]
translation_vector=0x095cdbfc
language_vector=0x095cdbe4
creature_vector=0x0958c8ac
dwarf_race_index=0x09574240
squad_vector=0x095ca7b4

[offsets]
word_table=0x001C

[word_offsets]
base=0x0000
noun_singular=0x0004
noun_plural=0x0008
adjective=0x000C
verb=0x0014
present_simple_verb=0x0018
past_simple_verb=0x001C
past_participle_verb=0x0020
present_participle_verb=0x0024

[dwarf_offsets]
first_name=0x0000
nick_name=0x0004
last_name=0x0008
custom_profession=0x003c
profession=0x0040
race=0x0044
flags1=0x008C
flags2=0x0090
sex=0x00A6
id=0x00A8
recheck_equipment=0x0148
current_job=0x0274
turn_count=0x052b
states=0x0
souls=0x05e8
labors=0x0604
happiness=0x0694
squad_ref_id=0x06f8

[soul_details]
skills=0x01D4
traits=0x01EC

[job_details]
id=0x0008
on_break_flag=0x0011
sub_job_id=0x0040

[squad_offsets]
id=0x0000
name=0x000C
members=0x0044

[valid_flags_1]
size=1
1\name=Not from around these parts
1\value=0x80000000

[valid_flags_2]
size=1
1\name=Dead. Deceased. An Undwarf!
1\value=0x02000000

[invalid_flags_1]
size=7
1\name=a zombie
1\value=0x00001000
2\name=a skeleton
2\value=0x00002000
3\name=a merchant or diplomat
3\value=0x00000040
4\name=outpost liason
4\value=0x00000800
5\name=an invader or hostile
5\value=0x00020000
6\name=an invader or hostile
6\value=0x00080000
7\name=an invader or hostile
7\value=0x000C0000

[invalid_flags_2]
size=2
1\name="dead, Jim."
1\value=0x00000080
2\name=from the Underworld. SPOOKY!
2\value=0x00040000
« Last Edit: February 28, 2012, 04:46:50 pm by kionmaru »
Logged

SalmonGod

  • Bay Watcher
  • Nyarrr
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1195 on: February 28, 2012, 05:19:21 pm »

I've made a few more updates to the branch I've been playing around with:

This looks fantastic.  Can't wait to try it on 34.03 :)
Logged
In the land of twilight, under the moon
We dance for the idiots
As the end will come so soon
In the land of twilight

Maybe people should love for the sake of loving, and not with all of these optimization conditions.

DwarfEngineer

  • Bay Watcher
  • Grumble Grumble...
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1196 on: February 28, 2012, 05:39:52 pm »

v34.03 is out!

New layouts have been posted for 34.03 (windows). They should download automatically the next time you start therapist with dwarf fortress running.

If you have check for updates turned off or otherwise want to download the layouts manually, they're available here:
Windows v0.34.03 (graphics)
Windows v0.34.03 (legacy)
(Right-click, Save As...)

I have my OSX development environment setup, and it's compiling and running on OSX, so I can begin adding back in all of the necessary functionality. I'm working on it whenever I have a free moment. I'm also prioritizing bugfixes and features for the next full DT release. I'll be interested to see if the vampire issue is fixed in 34.03, or if work still needs to be done in Therapist. Again, I'm looking for saves with weird behavior.

Thanks,
-DE
Logged
Current Dwarf Therapist Maintainer - Tips

Lysabild

  • Bay Watcher
  • Eidora Terminus Imperii Romani
    • View Profile
    • My Steam!
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1197 on: February 28, 2012, 06:08:54 pm »

You're awesome, considering throwing you 5 more dollarhs.
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1198 on: February 28, 2012, 06:29:42 pm »

This is... funky.  First noticed that all attributes show up as "15" which is clearly a bug but I don't use that very much, so meh.

Secondly noticed that it counts 31 dwarves, displays 11, and my population is 15.  The 4 other dwarves are all adults and show no spectacular features, they simply don't show up in Therapist's list.  This was after one migrant wave, where some appeared on Therapist and the 4 others did not.

DwarfEngineer

  • Bay Watcher
  • Grumble Grumble...
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 2/18/12 see first post)
« Reply #1199 on: February 28, 2012, 06:48:38 pm »

This is... funky.  First noticed that all attributes show up as "15" which is clearly a bug but I don't use that very much, so meh.

Secondly noticed that it counts 31 dwarves, displays 11, and my population is 15.  The 4 other dwarves are all adults and show no spectacular features, they simply don't show up in Therapist's list.  This was after one migrant wave, where some appeared on Therapist and the 4 others did not.
Could you post your fort on dffd please? I'll take a look at it tonight when I get a chance. (Haven't had a chance to actually play yet)
Logged
Current Dwarf Therapist Maintainer - Tips
Pages: 1 ... 78 79 [80] 81 82 ... 192