Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 33 34 [35] 36 37 ... 222

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

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.7
« Reply #510 on: February 05, 2014, 06:08:42 am »

Just a random question out of nowhere. Can anyone point me to where I can read more about printing out the information of individual creatures (realtime or not). An XML dump doesn't seem to give that info, so I gather that it'll require reading the memory and since DwarTherapist seems to be specialised in that...

Not RAW stuff, but specifically individual historical figure info like preferences (a la DT), description, family members etc.

Thanks!
preferences are actually stored for the individual units, not historical figure information. you can use df-structures to find any offsets you want to read, and if you're looking to export data it's probably easiest to write a script for DFHack. a good place to start would probably be to convert the dwarf export plugin to a lua/ruby script.

Poonyen

  • Bay Watcher
  • Yarg!
    • View Profile
    • My YouTube page
Re: Dwarf Therapist (Maintained Branch) v.20.7
« Reply #511 on: February 05, 2014, 06:17:37 am »

Just a random question out of nowhere. Can anyone point me to where I can read more about printing out the information of individual creatures (realtime or not). An XML dump doesn't seem to give that info, so I gather that it'll require reading the memory and since DwarTherapist seems to be specialised in that...

Not RAW stuff, but specifically individual historical figure info like preferences (a la DT), description, family members etc.

Thanks!
preferences are actually stored for the individual units, not historical figure information. you can use df-structures to find any offsets you want to read, and if you're looking to export data it's probably easiest to write a script for DFHack. a good place to start would probably be to convert the dwarf export plugin to a lua/ruby script.

Much obliged!
Logged
I like to make music especially for Dwarf Fortress and Soundsense in my spare time (https://www.youtube.com/simonswerwer, http://soundcloud.com/simonswerwer). Also check out Toadese Language Utility to read and write DF dwarven texts (http://www.bay12forums.com/smf/index.php?topic=136098). Bang the tankards!

superglucose

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.7
« Reply #512 on: February 06, 2014, 02:34:24 pm »

As I haven't heard from anyone here's the run.log file:

Code: [Select]
2014-Feb-05 19:41:09.971 INFO core Dwarf Therapist "0.6.12" starting normally. [src\dwarftherapist.cpp:140] (setup_logging)
2014-Feb-05 19:41:10.478 DEBUG core setting up connections for MainWindow [src\mainwindow.cpp:148] (MainWindow)
2014-Feb-05 19:41:10.490 DEBUG core beginning to read settings [src\dwarftherapist.cpp:162] (read_settings)
2014-Feb-05 19:41:10.514 DEBUG core finished reading settings [src\dwarftherapist.cpp:227] (read_settings)
2014-Feb-05 19:41:10.554 DEBUG core attempting connection to running DF game [src\mainwindow.cpp:306] (connect_to_df)
2014-Feb-05 19:41:10.556 DEBUG core adding valid layout "v0.34.11 (graphics)" "0x4fcc9488" [src\dfinstance.cpp:118] (DFInstance)
2014-Feb-05 19:41:10.557 DEBUG core adding valid layout "v0.34.10 (graphics)" "0x4fba073a" [src\dfinstance.cpp:118] (DFInstance)
2014-Feb-05 19:41:10.558 DEBUG core adding valid layout "v0.34.09 (graphics)" "0x4fb4c506" [src\dfinstance.cpp:118] (DFInstance)
2014-Feb-05 19:41:10.559 DEBUG core adding valid layout "v0.34.08 (graphics)" "0x4fb0ccba" [src\dfinstance.cpp:118] (DFInstance)
2014-Feb-05 19:41:10.559 DEBUG core adding valid layout "v0.34.07 (graphics)" "0x4f7592fe" [src\dfinstance.cpp:118] (DFInstance)
2014-Feb-05 19:41:10.560 DEBUG core attempting to find running copy of DF by window handle [src\dfinstancewindows.cpp:189] (find_running_copy)
2014-Feb-05 19:41:10.560 DEBUG core found copy with HWND:  0x1804cc [src\dfinstancewindows.cpp:205] (find_running_copy)
2014-Feb-05 19:41:10.560 DEBUG core PID of process is:  4352 [src\dfinstancewindows.cpp:212] (find_running_copy)
2014-Feb-05 19:41:10.560 DEBUG core PROC HANDLE: 0x1d8 [src\dfinstancewindows.cpp:220] (find_running_copy)
2014-Feb-05 19:41:10.560 DEBUG core PEB is at:  0x7efde000 [src\dfinstancewindows.cpp:226] (find_running_copy)
2014-Feb-05 19:41:10.560 DEBUG core read 12 bytes BASE ADDR is at:  0x13c0000 [src\dfinstancewindows.cpp:239] (find_running_copy)
2014-Feb-05 19:41:10.561 DEBUG core Target EXE was compiled at  "2012-05-21T03:13:30" [src\dfinstancewindows.cpp:70] (calculate_checksum)
2014-Feb-05 19:41:10.561 DEBUG core DF's checksum is: "0x4fba073a" [src\dfinstance.cpp:1366] (get_memory_layout)
2014-Feb-05 19:41:10.561 INFO core Detected Dwarf Fortress version "v0.34.10 (graphics)" using MemoryLayout from "C:/Users/James/Desktop/Games/Dwarf Therapist 20.7.1/etc/memory_layouts/windows/v0.34.10_graphics.ini" [src\dfinstance.cpp:1378] (get_memory_layout)
2014-Feb-05 19:41:10.561 DEBUG core base address: "0x013c0000" [src\dfinstancewindows.cpp:261] (find_running_copy)
2014-Feb-05 19:41:10.561 DEBUG core memory correction: "0x00fc0000" [src\dfinstancewindows.cpp:262] (find_running_copy)
2014-Feb-05 19:41:10.578 DEBUG core MEMORY SEGMENT SUMMARY: accepted 481 rejected 257 total 738 [src\dfinstancewindows.cpp:368] (map_virtual_memory)
2014-Feb-05 19:41:10.578 DEBUG core GetModuleFileNameEx returned:  "C:\Users\James\Desktop\Games\df_34_10_win\Dwarf Fortress.exe" [src\dfinstancewindows.cpp:275] (find_running_copy)
2014-Feb-05 19:41:10.578 INFO core Dwarf fortress path: "C:/Users/James/Desktop/Games/df_34_10_win" [src\dfinstancewindows.cpp:278] (find_running_copy)
2014-Feb-05 19:41:10.580 DEBUG core Connection to DF version "v0.34.10 (graphics)" established. [src\mainwindow.cpp:333] (connect_to_df)
2014-Feb-05 19:41:10.597 DEBUG core MEMORY SEGMENT SUMMARY: accepted 481 rejected 257 total 738 [src\dfinstancewindows.cpp:368] (map_virtual_memory)
2014-Feb-05 19:41:10.597 DEBUG core Loading language translation tables [src\languages.cpp:58] (load_data)
2014-Feb-05 19:41:10.597 DEBUG core Loading generic strings from 282c8e0 [src\languages.cpp:72] (load_data)
2014-Feb-05 19:41:10.600 DEBUG core generic words 2173 [src\languages.cpp:74] (load_data)
2014-Feb-05 19:41:10.778 WARNING core vector at "0x00fbffff" has over 5000 entries! ( 1073717568 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:41:10.820 DEBUG core dwarf race index "0x02614ffc" "0x01654ffc" (UNCORRECTED) [src\dfinstance.cpp:376] (load_game_data)
2014-Feb-05 19:41:10.820 DEBUG core dwarf race: "0x000001d1" [src\dfinstance.cpp:381] (load_game_data)
2014-Feb-05 19:41:10.822 WARNING core vector at "0x2170005b" has over 5000 entries! ( 750780768 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:41:10.822 WARNING core vector at "0x21703263" has over 5000 entries! ( 753904801 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:41:10.823 WARNING core vector at "0x2170646b" has over 5000 entries! ( 58836000 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:43:40.577 WARNING core vector at "0x073bec2f" has over 5000 entries! ( 1027733892 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:43:40.577 WARNING core vector at "0x21709673" has over 5000 entries! ( 750780768 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:43:40.577 WARNING core vector at "0x2170c87b" has over 5000 entries! ( 753904801 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
2014-Feb-05 19:43:40.577 WARNING core vector at "0x073c2237" has over 5000 entries! ( 54622531 ) [src\dfinstancewindows.cpp:87] (enumerate_vector)
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.20.7
« Reply #513 on: February 06, 2014, 06:08:45 pm »

if you're running 34.10 the offsets haven't been updated. you can try copying the offsets from 34.11 (leave the name and checksum though) and it may work.

superglucose

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.20.7
« Reply #514 on: February 06, 2014, 08:56:04 pm »

TY :D
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #515 on: February 07, 2014, 04:56:06 pm »

well i've finally finished up another new version. there are quite a few major changes, so you can probably expect a few bugs. here's a short highlight:

  • equipment columns are now available (see here for examples and details)
  • the attribute changes that syndromes apply are now shown
  • squad changes are now applied like every other change: you need to commit them
  • the linux (and osx?) accent issue has been fixed
  • units without a gender should be shown correctly (untested)

as i don't have access to any osx machines, the offsets have not been updated. if anyone wants to update them, you can use this script from dfhack to export the offsets.

zapa1928

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #517 on: February 14, 2014, 01:19:27 pm »

well i've finally finished up another new version. there are quite a few major changes, so you can probably expect a few bugs. here's a short highlight:

  • equipment columns are now available (see here for examples and details)
  • the attribute changes that syndromes apply are now shown
  • squad changes are now applied like every other change: you need to commit them
  • the linux (and osx?) accent issue has been fixed
  • units without a gender should be shown correctly (untested)


as i don't have access to any osx machines, the offsets have not been updated. if anyone wants to update them, you can use this script from dfhack to export the offsets.

Hi

I tried today new version and there are two bug i`d like to report.

First; DT crashes on reconnecting if DT was opened before DF.
Second; On my dwarf list i see dwarwes from my previous fortresses (not migrated yet to my fortress), and some of them have random arrival dates sth like 5821 and 9070 (it is now 145 ). Plus on different reconnections there are different dwarves on the list (though fixed 86 of dwarves who are pressent at the fortress)
My OS is Win7; I am playing Accelerated Fortress mod (don`t have simmilar world in Vanilla version to try if that is causing the random dwarves problem). 
On DT 20.4 was working fine with this mod.
I`ll try upload save on dffd tomoraw as it have some problems right now.

Beside this; the equipment information is great. I was waiting for this feature.
Keep up the good work.
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #518 on: February 14, 2014, 01:23:22 pm »

thanks for the report. let me know when you've got the save uploaded and i'll take a look.

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #519 on: February 14, 2014, 02:37:14 pm »

Tareq has been kind enough to update the offsets for OSX and package everything up!

Would you mind forwarding this crashlog to Tareq? Happens after DT asks for the admin password.
This seems to be the relevant section:

Code: [Select]
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[5970]: garbage collection is OFF
*** error for object 0x1003a7d70: pointer being freed was not allocated
 

zapa1928

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #520 on: February 15, 2014, 02:57:36 am »

thanks for the report. let me know when you've got the save uploaded and i'll take a look.


Uploaded links to save game and screen shots.
http://dffd.wimbli.com/file.php?id=8421
 http://dffd.wimbli.com/file.php?id=8422

Hope that`ll be helpful.
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #521 on: February 15, 2014, 05:27:30 am »

i understand what's going on with the arrival dates and the crash on reconnect, but i don't know what you mean about the dwarves.

are you saying there are dwarves in DT that shouldn't be there, or just different dwarves in the migration waves each time you refresh when grouped by migration?

zapa1928

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #522 on: February 15, 2014, 06:44:13 am »

On that dwarves it was my mistake, as it was related to

that

http://www.bay12games.com/dwarves/mantisbt/view.php?id=6019


bug.

I recreated this behavior today.
As soon as migrants arrive (luckily it's a few seconds into save), I hit refresh dwarves in DT (while DF is stll paused) and i can see the new arrivals (in DT list), including those listed as friendly in DF, but when the 'X' symbol stops blinking and i refresh DT they dissapear from DT list (and correctly appear again when treated with fixmigrant).

So yesterday i was mistaken that i saw for a moment someone who did`t arrive. Because i saw him in the first refresh and didn't in second, and i forgot to check for wandering migrants near edge map and blamed it on DT.

Apologies :)





« Last Edit: February 15, 2014, 07:32:21 am by zapa1928 »
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.21.2
« Reply #523 on: February 15, 2014, 10:59:07 am »

the incorrect migration waves and the crash when reconnecting should be resolved in this version

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.21.0
« Reply #524 on: February 15, 2014, 01:17:40 pm »

Tareq has been kind enough to update the offsets for OSX and package everything up!

Would you mind forwarding this crashlog to Tareq? Happens after DT asks for the admin password.
This seems to be the relevant section:

Code: [Select]
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[5970]: garbage collection is OFF
*** error for object 0x1003a7d70: pointer being freed was not allocated
 

Tareq has been working on this and it should be resolved. give the new build a try and see how it goes.
Pages: 1 ... 33 34 [35] 36 37 ... 222