Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 144 145 [146] 147 148 ... 192

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

King Mir

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2175 on: June 08, 2012, 02:57:31 pm »

@splinterz
Can you make labors, attributes and roles use a stable sort like military currently does?
« Last Edit: June 08, 2012, 03:02:04 pm by King Mir »
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2176 on: June 08, 2012, 03:07:59 pm »

@splinterz
Can you make labors, attributes and roles use a stable sort like military currently does?

sorry, you'll have to elaborate for me exactly what you're talking about. i'm unaware of any change in sorting on the military tab.

King Mir

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2177 on: June 08, 2012, 03:17:52 pm »

In the military tab, if I sort by any skill, then sort by another skill, the order of same value skills (in particular 0 value skills) remains unchanged. So If I sort by dodger then by siege operator, all 0 skill siege operators will be sorted by their dodge skill. This is called a stable sort.

I don't know if you're using the STL, but if you are, there is a stable sort algorithm in the standard library.

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2178 on: June 08, 2012, 03:32:07 pm »

In the military tab, if I sort by any skill, then sort by another skill, the order of same value skills (in particular 0 value skills) remains unchanged. So If I sort by dodger then by siege operator, all 0 skill siege operators will be sorted by their dodge skill. This is called a stable sort.

I don't know if you're using the STL, but if you are, there is a stable sort algorithm in the standard library.

yes i'm aware of the stablesort, that's why i'm surprised that's somehow working for the military tab, as i'm fairly certain there's no stable sort used anywhere.

King Mir

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2179 on: June 08, 2012, 03:36:06 pm »

It's definitely stable sorting on the military tab. If I click siege operator multiple times it will move the dwarves with that skill around, but not the dwarves with 0 skill.

And the social tab too.

EDIT: On further inspection, it seems to be working on the labor tab, but if there is a role associated with a skill, it'll use role as a secondary sorting criteria. And since most dwarves have some aptitude for any particular role, this means that the 0 skill dwarves will no longer preserve their old order.

It's a bit of a loss of functionality because I can't for example move all my miners and Engravers to the top at once. I'm sure it has it's benefits though.
« Last Edit: June 08, 2012, 03:54:09 pm by King Mir »
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2180 on: June 08, 2012, 03:50:29 pm »

that was a patch or two ago, it will sort by whether or not the labor is enabled, and then by the role rating. if you turn off showing related roles in labors in the options, it'll be back to the original functionality. i changed it because i figured it would be useful to sort the labors by who was best rated based on the roles, for easy assignment without having to check the roles tab.

King Mir

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2181 on: June 08, 2012, 03:55:00 pm »

Ok I get it now. No change required.

ludsoe

  • Bay Watcher
  • All hail Urst of Urstland
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2182 on: June 09, 2012, 01:32:46 am »

When will it be compatible with 0.34.11? I get cant communicate errors on start up while using the new DF version
Logged
Ludsoe has cancels life: Interrupted by Dwarf Fortress

(Reserved for more stuff)

eataTREE

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2183 on: June 09, 2012, 02:31:39 am »

If anyone's interested, I have working offsets for v0.34.11 on OSX. These are for vanilla Dwarf Therapist; at the moment I can't make Splinterz's version build.

« Last Edit: June 09, 2012, 04:34:43 am by eataTREE »
Logged

yamamushi

  • Bay Watcher
    • View Profile
    • Dwarf Fortress
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2184 on: June 09, 2012, 03:10:17 am »

If anyone's interested, I have working offsets for v0.34.11 on OSX. These are for vanilla Dwarf Therapist; at the moment I can't make Splinterz's version build.



Thank you!!!!! :D :D :D :D
Logged
I'm Digging Deeper... AGAIN... You Should Too!

Dig Deeper GOLD - 475+ items of new content including; new plants, new creatures, new metals, new woods, new gems, new stones, new crafts and much, much more.

Intrinsic

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2185 on: June 09, 2012, 09:51:23 am »

When will it be compatible with 0.34.11? I get cant communicate errors on start up while using the new DF version

It was compatible with 34.11 on the day 34.11 was released...just go back a few pages for the layouts or use the one in the LNP.
Logged
Start Duelyst with a bonus 100gold, use referral code: Buttfungus
Enter during signup or ingame under Settings.

Sebovzeoueb

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2186 on: June 09, 2012, 02:25:18 pm »

I'm on OS X, and Dwarf Therapist doesn't seem to be working for me with 0.34.11 currently. What do I do with the OS X offsets to make it work?
Logged

eataTREE

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2187 on: June 09, 2012, 02:55:18 pm »

I'm on OS X, and Dwarf Therapist doesn't seem to be working for me with 0.34.11 currently. What do I do with the OS X offsets to make it work?
You would have to paste them into your Dwarf Therapist application manually. While not a particularly difficult process, it involves use of the command line. Command-line environments have been found to cause panic and anxiety in the technologically challenged. Proceed at your own risk; consult your local Mac or Linux/Unix guru if symptoms persist:)

First, select the stuff in that 'code' block -- all of it -- and copy it to clipboard with Apple-C. Then open a terminal window (Applications/Launchpad -> Utilities -> Terminal) and, in the terminal window, proceed as follows (text in parenthesis are instructions for you to follow, text outside parenthesis are commands for you to type as shown):

Code: [Select]
cat > v0.34.11.ini
(Now press Apple+V on your keyboard to paste the offset text, then RETURN followed by Control+D. You should get the terminal prompt back at that point.)
cd /Applications/DwarfTherapist.app/Contents/MacOS/etc/memory_layouts/osx
sudo cp ~/v0.34.11.ini .
(It will ask you for your password, type it, your keystrokes will not show up on the screen. Once you hit RETURN and see the terminal prompt again, you're done and can press Control+D to end your terminal session.)

Now launch Dwarf Therapist like you normally would and it should connect to v0.34.11.


Logged

Geleihoofd

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2188 on: June 09, 2012, 04:50:13 pm »

@splinterz

There seems to be a little problem with the info in the mouse-overs sometimes. At least after changing some options and re-read the dwarfs.
The related roles percentages in the cell mouse-over seems to differ until you switch to the roles tab and back. The same for the top 3 roles in the name mouse-over, first there are zero roles, after switching to the roles tab and back there are three again...

Running @ Win7 x64
Logged

Sebovzeoueb

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/23/12 see first post)
« Reply #2189 on: June 09, 2012, 04:59:08 pm »

@eataTREE

Thanks very much, while I wouldn't exactly define myself as 'technologically challenged', I definitely have no idea what I'm doing when it comes to using the command line.

Your step by step guide is very precise and well explained in layman's terms, and Dwarf Therapist now appears to be running correctly with the latest version of DF.

10/10 would follow instructions again.
Logged
Pages: 1 ... 144 145 [146] 147 148 ... 192