Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 129 130 [131] 132 133 ... 192

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

HammerDave

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1950 on: May 15, 2012, 09:12:21 am »

Linux user here.

After wave 3, DwarfTherapist stopped being able to change professions, not sure what happened. The changes don't happen even though Therapist is showing they did.

Try to save; close Therapist; load; open Therapist.  Sometimes that fixes glitches like this.
I'm into wave 3, but have saved/loaded so can't check on this fort if 3rd wave arrival breaks it for me.  Can check if it's till good after loading though...
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1951 on: May 15, 2012, 10:01:32 am »


If you compile your version of DT you can add the column directly to the default gridview changing the default_gridviews.dtg:
find these lines

I compile mine, you mentioned a dtg file, but what .cpp or .h file do I need to change to add the labor?

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1952 on: May 15, 2012, 10:42:47 am »


If you compile your version of DT you can add the column directly to the default gridview changing the default_gridviews.dtg:
find these lines

I compile mine, you mentioned a dtg file, but what .cpp or .h file do I need to change to add the labor?

there's nothing you need to change in the source files. just game_data.ini and the .dtg file.

i've updated the last build of my branched version to include the new labor columns in both default labor views, the new jobs, layout files for windows and the layout file for linux that was posted.

DOWNLOAD

no source yet as i'm still in the process of merging other changes.

SauliusTheBlack

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1953 on: May 15, 2012, 11:27:58 am »

download link does not work for me(chrome on win7 if it matters)
EDIT: now it does for some reason(Middle Mouse Button maybe)
« Last Edit: May 15, 2012, 11:41:46 am by SauliusTheBlack »
Logged
They died for their fellow Dwarves. They will be remembered, at least until your Dwarves see a particularly nice statue.

expwnent

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1954 on: May 15, 2012, 12:41:58 pm »

Works fine for me.
Logged

Shishimaru

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1955 on: May 15, 2012, 12:47:28 pm »


If you compile your version of DT you can add the column directly to the default gridview changing the default_gridviews.dtg:
find these lines

I compile mine, you mentioned a dtg file, but what .cpp or .h file do I need to change to add the labor?

I should have said this: the default_gridviews.dtg file doesn't shows himself in the IDE, but you can find it in the same folder of the dwarftherapist.pro file
Logged

DemDorfs

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1956 on: May 15, 2012, 06:06:57 pm »

May I ask in general as a layman how you coding dwarves manage to find the memory positions for all the data that programs like Dwarf Therapist edit? This magic is quite fascinating.
Logged

Lich180

  • Bay Watcher
  • Avatar by PlutoniumApe, "Urist McGuyFieri"
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1957 on: May 15, 2012, 06:16:27 pm »

Oh thank you, codedwarves, for making this tool available for us...

So much easier with this utility than without, just because it takes less keystrokes to arrange jobs
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1958 on: May 15, 2012, 07:51:00 pm »

There is a new vehicle hauling labor missing from DT that I don't think can be corrected with an ini upgrade.

The new labor can be added modifiying the game_data.ini and adding a custom gridview based on the labors view.
In the game_data.ini paste these lines after the "Wax working" labor:

Code: [Select]
74/name = Push/Haul Vehicles
74/id = 73
74/skill = -1

then start DT and copy the "Labors" gridview, edit the new gridview and add the column of the new labor.

If you compile your version of DT you can add the column directly to the default gridview changing the default_gridviews.dtg:
find these lines
Spoiler (click to show/hide)

and change them with these:

Spoiler (click to show/hide)

I tried modifying the original dtg file, didn't get a push vehicle labororer

I'd use Splinterz version, but I got my own version with some trait id fixes.  So...

I guess I have to add it to the .ini?

I even tried

74/name = Push/Haul Vehicles
74/id = 73
74/skill = -1

in the gamedata.ini

what am I doing wrong.  I don't see a labor (when I try to add one to my custom gridview) called Push anything, or Vehicle anything, or Haul anything.  I do have Item Hauling (but that's a skill).  Is that it?
« Last Edit: May 15, 2012, 08:03:21 pm by thistleknot »
Logged

GoldenShadow

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1959 on: May 15, 2012, 08:41:31 pm »

Hey splinterz, I am using the version you just posted with the vehicle hauling labors added. Sorting by squad does nothing, just like last time.
Logged

Azated

  • Bay Watcher
  • ohai der
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1960 on: May 15, 2012, 11:30:04 pm »

Oh thank you, codedwarves, for making this tool available for us...

So much easier with this utility than without, just because it takes less keystrokes to arrange jobs

Have a look over the posts during the week or so before the Therapist 2012 compatibility was added. That should give you some idea. :D
Logged
Then it happened. Then I cringed. Then I picked it up and beat him to death with it, and then his buddies, too.
You beat a man to death with his dick?

"I don't feel like myself. Maybe I should have Doc take a look at me" ~ Dreamy
 "You're gonna trust a dwarf that got his medical degree from a pickaxe?" ~ Bossy

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1961 on: May 16, 2012, 05:35:19 am »

The new labor can be added modifiying the game_data.ini and adding a custom gridview based on the labors view.
In the game_data.ini paste these lines after the "Wax working" labor:

Code: [Select]
74/name = Push/Haul Vehicles
74/id = 73
74/skill = -1

then start DT and copy the "Labors" gridview, edit the new gridview and add the column of the new labor.

If you compile your version of DT you can add the column directly to the default gridview changing the default_gridviews.dtg:
find these lines
Spoiler (click to show/hide)

and change them with these:

Spoiler (click to show/hide)

I tried modifying the original dtg file, didn't get a push vehicle labororer

snip

what am I doing wrong.  I don't see a labor (when I try to add one to my custom gridview) called Push anything, or Vehicle anything, or Haul anything.  I do have Item Hauling (but that's a skill).  Is that it?

you're probably forgetting to increase the size of the arrays

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1962 on: May 16, 2012, 07:30:57 am »

That woulld have been nice to have in the instructions, does the array need to be adjusted in the dtg file as well?

So here's my dtg file
Spoiler (click to show/hide)
« Last Edit: May 16, 2012, 08:11:07 am by thistleknot »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1963 on: May 16, 2012, 08:12:48 am »

Spoiler (click to show/hide)

still no push/haul vehicle

Shishimaru

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 5/14/12 see first post)
« Reply #1964 on: May 16, 2012, 08:29:11 am »

That woulld have been nice to have in the instructions, does the array need to be adjusted in the dtg file as well?

Sorry about that, I forgot that point...

Anyway your problem is in this line:
Code: [Select]
3\sets\13\columns\11\width=43\sets\14\name=Other Jobs
It should be:

Code: [Select]
3\sets\13\columns\11\width=4
3\sets\14\name=Other Jobs
Logged
Pages: 1 ... 129 130 [131] 132 133 ... 192