Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 23 24 [25] 26 27 ... 222

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

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #360 on: October 21, 2013, 05:21:03 am »

is there a (highly cheaty) non cursed filter script I can run?

btw, toady truly owes this tool a great acknowledgement (as well as other plugins, falconne's comes to mind) in how much this helps manage the game.
you can use d.curse_name() != "" to check for cursed dwarves. i'll be adding d.is_cursed() for convenience in the upcoming version.

no sir, i think you've got it backwards, it's Toady's creation that deserves all the credit. the community that's gravitated to the game and pours countless hours refining mods and third party tools purely for the benefit of the playerbase only exists because of the awesomeness that is dwarf fortress.

vanatteveldt

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #361 on: October 21, 2013, 09:48:59 am »

I would like to try the new version, but can't get it to (q)make:

Code: [Select]
wva@yuppy:~/splintermind-attributes$ qmake
Project MESSAGE: Release Mode
Project MESSAGE: Setting up for Linux
Project MESSAGE: Setting up for Linux Install
Project MESSAGE: Warning: unknown QT: widgets
wva@yuppy:~/splintermind-attributes$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iinc -Iinc/models -Iinc/grid_view -Iinc/docks -Iui -Ithirdparty/qtcolorpicker-2.6 -Ibin/release -Ibin/release -o bin/release/dfinstancelinux.o src/dfinstancelinux.cpp
src/dfinstancelinux.cpp:23:21: fatal error: QtWidgets: No such file or directory
compilation terminated.
make: *** [bin/release/dfinstancelinux.o] Error 1

I've installed the packages from the BUILDING.txt. Since I saw something about qt5, I've also tried installing a lot of qt5 packages, and even uninstalling a bunch of qt4 packages.

Code: [Select]
wva@yuppy:~/splintermind-attributes$ tail -12 BUILDING.txt
# Install the qt4 dev tools.  You're on your own for non debian/apt systems
> sudo apt-get install qt4-qmake qt4-dev-tools

#Checkout the project
> hg clone https://dwarftherapist.googlecode.com/hg/ dwarftherapist

#Build the project
> cd dwarftherapist
> qmake
> make


wva@yuppy:~/splintermind-attributes$ sudo apt-get install qt4-qmake qt4-dev-tools qt5-qmake | grep version
qt5-qmake is already the newest version.
qt4-dev-tools is already the newest version.
qt4-qmake is already the newest version.
The following packages were automatically installed and are no longer required:


Any hints?
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #362 on: October 21, 2013, 09:53:44 am »

you need to install the qt 5.1.1 libraries and dev tools.

vanatteveldt

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #363 on: October 21, 2013, 05:56:53 pm »

That's what I thought, so I installed quite a number of qt5 packages... see below my list of installed packages with 'qt' in the name:

Spoiler (click to show/hide)
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #364 on: October 21, 2013, 10:46:18 pm »

trying to copy the script editor help text will crash the app

Yanek

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #365 on: October 23, 2013, 08:55:33 am »

Compilation errors for me too...

Code: [Select]
$ qmake
Project MESSAGE: Release Mode
Project MESSAGE: Setting up for Linux
Project MESSAGE: Setting up for Linux Install

$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_SCRIPT_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/opt/Qt5.1.1/5.1.1/gcc_64/mkspecs/linux-g++ -I. -Iinc -Iinc/models -Iinc/grid_view -Iinc/docks -Iui -Ithirdparty/qtcolorpicker-2.6 -I/opt/Qt5.1.1/5.1.1/gcc_64/include -I/opt/Qt5.1.1/5.1.1/gcc_64/include/QtWidgets -I/opt/Qt5.1.1/5.1.1/gcc_64/include/QtScript -I/opt/Qt5.1.1/5.1.1/gcc_64/include/QtNetwork -I/opt/Qt5.1.1/5.1.1/gcc_64/include/QtGui -I/opt/Qt5.1.1/5.1.1/gcc_64/include/QtCore -Ibin/release -Ibin/release -o bin/release/scriptdialog.o src/scriptdialog.cpp
In file included from src/scriptdialog.cpp:25:0:
bin/release/ui_scriptdialog.h:14:25: fatal error: QtGui/QAction : no such file or directory
compilation terminated.
make: *** [bin/release/scriptdialog.o] Error 1

$ find /opt -name QtGui
/opt/Qt5.1.1/5.1.1/gcc_64/include/QtGui
/opt/Qt5.1.1/5.1.1/gcc_64/include/QtGui/QtGui
/opt/Qt5.1.1/5.1.1/gcc_64/include/QtGui/5.1.1/QtGui

$ find /opt -name QAction
/opt/Qt5.1.1/5.1.1/gcc_64/include/QtWidgets/QAction
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #366 on: October 26, 2013, 03:24:11 am »

I want my mtv (modified therapist version)

vanatteveldt

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #367 on: October 26, 2013, 04:23:22 am »

The problem is caused by revision 578, i.e. the Qt5 upgrade:

Code: [Select]
wva@yup:~/splintermind-attributes$ hg up -C 577
128 files updated, 0 files merged, 21 files removed, 0 files unresolved
wva@yup:~/splintermind-attributes$ qmake
Project MESSAGE: Release Mode
Project MESSAGE: Setting up for Linux
Project MESSAGE: Setting up for Linux Install
wva@yup:~/splintermind-attributes$ hg up -C 578
129 files updated, 0 files merged, 0 files removed, 0 files unresolved
wva@yup:~/splintermind-attributes$ qmake
Project MESSAGE: Release Mode
Project MESSAGE: Setting up for Linux
Project MESSAGE: Setting up for Linux Install
Project MESSAGE: Warning: unknown QT: widgets
wva@yup:~/splintermind-attributes$ hg log -r 578
changeset:   578:4294379f597b
user:        joshb
date:        Thu Oct 03 17:39:35 2013 +0200
summary:     v.20.6 ** updated the project to qt 5.1.1 **

I did get a bit further by removing qt4 and installing qt5 and some additional scripts:

Code: [Select]
$ sudo apt-get remove --purge qt4-default qt4-designer qt4-dev-tools qt4-qmake qt4-doc qt4-linguist-tools qtchooser
[..]
$ sudo apt-get install qt5-qmake qt5-default qttools5-dev-tools libqt5script5 libqt5scripttools5 qtscript5-dev
[..]
$ qmake
Project MESSAGE: Release Mode
Project MESSAGE: Setting up for Linux
Project MESSAGE: Setting up for Linux Install
$

Edit: Never mind, I'm being stupid, I never undid the 'hg up -C 578' earlier, so I was building an old version. Will retry with the newest version and post results.

Edit: Victory! The problem was caused by building an old version, stupid me. So, if you uninstall and install the packages mentioned above, remove 'bin' if it exists, and qmake+make, it works (at least on my ubuntu 13.10). 

(probably you can make do with less packages, I simply added stuff until it stopped complaining...)
« Last Edit: October 26, 2013, 05:59:19 am by vanatteveldt »
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #368 on: October 26, 2013, 04:39:13 pm »

the request to add a new column to the grid layouts for gender is a okay with me, as is (after reading a reddit post on adventurer mode), masterwork gets away with certain arcane dwarfs using gender to specify what type of mage they are.

As is, I have no way to find where my mages are inside DT

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #369 on: October 26, 2013, 05:41:34 pm »

As is, I have no way to find where my mages are inside DT
you should be able to find them by grouping by caste.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #370 on: October 26, 2013, 05:47:04 pm »

As is, I have no way to find where my mages are inside DT
you should be able to find them by grouping by caste.

Not so sure on that, but I'll check into it

follow up:

Gem setting vs gem cutting.

I always use gem setting, but turns out a lot of dorfs are gem cutters in mwmod

so what does this mean for me?

well my labor optimizer is set to just exclude gem cutters... which means i'm missing out on gem setters.

my initial guess was to merge a new role that accounted for both labors... but...

I can't pick the higher labor to assign (i.e. matching skill).

Not sure what the problem/solution really is, but I know what the problem is, two skills that do the same thing, and I need to assign the best of two labors...  I guess I just need to half the ratio between the two, and pick the higher of the two?

It's just weird that mw uses only one labor (gem cutter?)

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #371 on: October 26, 2013, 06:39:34 pm »

As is, I have no way to find where my mages are inside DT
you should be able to find them by grouping by caste.

confirmed not the case.  If you want further proof, I could upload

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #372 on: October 26, 2013, 06:42:30 pm »

As is, I have no way to find where my mages are inside DT
you should be able to find them by grouping by caste.

Not so sure on that, but I'll check into it

follow up:

Gem setting vs gem cutting.

I always use gem setting, but turns out a lot of dorfs are gem cutters in mwmod

so what does this mean for me?

well my labor optimizer is set to just exclude gem cutters... which means i'm missing out on gem setters.

my initial guess was to merge a new role that accounted for both labors... but...

I can't pick the higher labor to assign (i.e. matching skill).

Not sure what the problem/solution really is, but I know what the problem is, two skills that do the same thing, and I need to assign the best of two labors...  I guess I just need to half the ratio between the two, and pick the higher of the two?

It's just weird that mw uses only one labor (gem cutter?)

This has come up in the past, but i'm thinking the best solution would be an if check.

checking which labor is higher, then using that labor and carrying it forward to be used for the assignment of what labor should be assigned.  This situation is a conundrum because either labor produces the same results for the gem workshop.  I believe animal dissection and butchery produce the same situation.

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #373 on: October 26, 2013, 07:17:11 pm »

As is, I have no way to find where my mages are inside DT
you should be able to find them by grouping by caste.

confirmed not the case.  If you want further proof, I could upload
yeah i'll need to see it then, as i see arcane, wavekin, etc. caste groupings. maybe that's not the same as mages?
« Last Edit: October 26, 2013, 07:19:16 pm by splinterz »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Dwarf Therapist (Maintained Branch) v.20.6.3 BETA
« Reply #374 on: October 26, 2013, 07:56:19 pm »

I can see them, simply sort by caste. I cannot see the hidden castes, the ones where the name is the same, but the ID is different.

For example
CASTE:MALE
CASTE_NAME:dwarf:dwarves:dwarven

and

CASTE:EVIL_STUFF_WILL_HAPPEN
CASTE_NAME:dwarf:dwarves:dwarven
CAN_DO_INTERACTION:EVIL_STUFF

These two the Therapist will group into one group. I thought you had one that sorts by caste name and one by caste id? One for regular play, the other for testing/bugfixing/cheating. I vaguely remembering talking to you about that, but that was a year ago. ;)

Anyway, I was just told that the Therapist now shows syndromes, which is godsend. Thanks so much for that :)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::
Pages: 1 ... 23 24 [25] 26 27 ... 222