Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 114 115 [116] 117 118 ... 192

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

hello_asdf

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1725 on: March 31, 2012, 04:17:57 pm »

I think I found the layout for Linux.  It's my first time finding the offsets for DF so let me know if it works or not:

[info]
checksum=0x61b4fa72
version_name=v0.34.07
complete=true

[addresses]
translation_vector=0x9653ee0
language_vector=0x09653ec8
creature_vector=0x09612b8c
dwarf_race_index=0x095fa500
squad_vector=0x9650a94
current_year=0x095f8000

Thank you!
Logged

daftfad

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1726 on: March 31, 2012, 09:09:59 pm »

I'm on linux 64-bit - these don't work. Can't connect.

I think I found the layout for Linux.  It's my first time finding the offsets for DF so let me know if it works or not:

[info]
checksum=0x61b4fa72
version_name=v0.34.07
complete=true

[addresses]
translation_vector=0x9653ee0
language_vector=0x09653ec8
creature_vector=0x09612b8c
dwarf_race_index=0x095fa500
squad_vector=0x9650a94
current_year=0x095f8000
Logged

Blaises

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1727 on: March 31, 2012, 10:24:15 pm »

Hmm, are you playing DF in graphics mode or are you playing with the original ascii?

I am on 64-bit Arch Linux, so unless there's a difference in the version of the builds we're using I may have to do some extra digging to figure out why it can't connect.
Logged

daftfad

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1728 on: March 31, 2012, 10:57:25 pm »

Ascii. Vanilla DT 0.6.12

Hmm, are you playing DF in graphics mode or are you playing with the original ascii?

I am on 64-bit Arch Linux, so unless there's a difference in the version of the builds we're using I may have to do some extra digging to figure out why it can't connect.
Logged

cousac

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1729 on: April 01, 2012, 12:42:58 am »

I have 64bit openSUSE and worked perfectly...
Logged

"Ahright, lissen up; you malodorous, malformed, putrescent, 'mok-forsaken lil' mini-orcs! I'm here to drink some tea and kick some asses. Either way, sumptin' gonna get tea-bagged tonight!"

Intrinsic

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1730 on: April 01, 2012, 06:00:26 am »

Current Job: Drinking Blood(223)

Not exactly hidden well? :D

Edit: I'll add that DT shows 125 people in my fort, in game 124. I'm guessing this guy up here ^ is one of those roaming vamps that pops in for a quick suck as i can't find him in my units list at all?

Edit 2: nm the guy is my mayor just with a different name. In game he's even showing up as "mayor vampire" and he's currently sucking one of my archer's dry.
« Last Edit: April 01, 2012, 06:46:46 am by Intrinsic »
Logged
Start Duelyst with a bonus 100gold, use referral code: Buttfungus
Enter during signup or ingame under Settings.

Blaises

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1731 on: April 01, 2012, 07:42:48 am »

Does DT mention the checksum when you try to connect, or does it just not show anything?

You may wish to check and see if you added in the rest of the memory layout from the last version entirely.
Logged

starvingpoet

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1732 on: April 01, 2012, 08:48:52 am »

I just did a search and nothing came up, but using the 34.07 graphics offests, I'm having some ghosts show up as living dwarves in DF.  Not too big of a deal now that slabbing has been fixed (Best fix ever); just a heads up.
Logged

Gurgle

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1733 on: April 01, 2012, 11:37:14 am »

Is it just me or is there still something not-quite-right with the 34.07 Windows offsets?
I used DT 0.7 (the March 15th version), and applied Slink's offsets.
Most things are OK, but not all.
DT reports all my dwarves having -1 agility, strength between 1 and 2, they all have the age of the world (even babies).
Digging deeper, the attributes all seem screwy: a dwarf in DF described as 'strong, great kinesthetic sense, iron weel, great feel for surrounding space and good feel for social relationships and poor focus' is described in DT as 'unquestionably weak, totally clumsy, basically unbreakable, indefatigable, possed of amazing recup powers, almost never sick'. Yes, I triple-checked it's the same dwarf. The traits are all ok and match what DF says.
All errors seem to be with data that DT0.7 shows but DT 0.6.12 does not show such as age and some attributes.
Additionally, Vampires are not highlighted correctly.
Tested with IronHand and Phoebus (although I wouldn't think this matters). Tested with both pre-0.7 worlds and newly created ones.
Any thoughts?
 
Logged

Gurgle

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1734 on: April 01, 2012, 12:35:49 pm »

Well, knowing nothing about how DT works I sniffed around a bit, and through a lot of trial-and-error discovered that some of the offsets are indeed wrong.
Setting
physical_attrs=0x03FC
works wonders on those physical attributes on my build. Anyone else have the same symptoms? Does this help on your setup?
I'm off to try the others and crunch some aspirin.
Logged

MonkeyHead

  • Bay Watcher
  • Yma o hyd...
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1735 on: April 01, 2012, 12:51:48 pm »

Slink's offsets are for the official DwarfEngineer build, not the offshots made by others...

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1736 on: April 01, 2012, 02:13:03 pm »

I was doing a scaled %, until I realized how the bin's work for attributes, I'm hoping to use these as a basis for how to calculate % for attributes...

The solution for skill that I hope to code is to get an average or median of dwarf's excluding all 0 skilled dwarf's, this will give a proper % to dwarf's in relation to other dwarf's with skills.  Rather than a dwarf with 1 exp in a skill suddenly getting a 50% rating.

Traits... I still need to collect data on, I don't know how the distributions of traits works yet (hmm, maybe I'll check the wiki).

UPDATE: Their r bins for traits!

Spoiler (click to show/hide)


-    0 Physical    0 Mental    +    ++    %
<150=    <200=    <200=    <450=    <700=    Below 0 %
150=    200=    200=    450=    700=    0.00%
600=    700=    800=    950=    1200=    16.67%
800=    900=    900=    1150=    1400=    33.33%
900=    1000=    1000=    1250=    1500=    50.00%
1000=    1100=    1100=    1350=    1600=    66.67%
1100=    1300=    1300=    1550=    1800=    83.33%
1500=    2000=    2000=    2250=    2500=    100.00%
>1500=    >2000=    >2000=    >2250=    >2500=    Above 100%

« Last Edit: April 01, 2012, 09:29:03 pm by thistleknot »
Logged

Anathema

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1737 on: April 01, 2012, 05:47:13 pm »

I posted a complete Dwarf Therapist updated to 34.07 to DFFD, using the 34.07 .ini slink posted. Just for the convenience of anyone that doesn't want to dig through several pages of posts about statistical distributions in order to find that .ini and edit it in manually .. people are lazy, ya know :P

The license seems to allow me to do this, but let me know if any of you (i.e. those actually involved in developing this version of DT including its config .ini's) have any complaints.
Logged
The good news is that ghosts die of old age.

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1738 on: April 01, 2012, 09:57:34 pm »

Here's some new code that can be tweaked to work inside Dwarf Therapist script editor (this code should run, I haven't tested it though) that I'm proposing to Splinterz for inclusion in dt v10, it uses trait and attribute bins to calculate % rather than a normalcdf function.

Spoiler (click to show/hide)

« Last Edit: April 01, 2012, 10:10:19 pm by thistleknot »
Logged

Rybec

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1739 on: April 01, 2012, 10:52:23 pm »

Updated v0.34.07_graphics.ini for Splinterz's branch v9.
Got lucky, the offsets from .06 seem to still work. Be warned, on my end (win x64, DT9), the physical attribute offset from DF.06 DOES work correctly, whereas the one posted by Gurgle causes me to have the problems he was describing. Maybe this will work for you, maybe not.
Everything seems fully functional so far, but I've only just embarked.

EDIT:Current Job fixed and confirmed working.

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

[addresses]
translation_vector=0x0182f670
language_vector=0x00182f650
creature_vector=0x017eb758
dwarf_race_index=0x01617ebc
squad_vector=0x01829a58
current_year=0x0101e1f0

[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
flags3=0x00e8
sex=0x00F8
mood=0x214
caste=0x00f8
id=0x00FC
recheck_equipment=0x01C0
birth_year=0x0240
current_job=0x0320
physical_attrs=0x3F8
turn_count=0x067c
states=0x06D0
souls=0x0778
likes=0x07B4
labors=0x07A0
squad_ref_id=0x08c0
happiness=0x0840
curse=0x5b8

[soul_details]
skills=0x0200
traits=0x0224
mental_attrs=0x0098

[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_2]
size=0

[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
8\name=a merchant escort
8\value=0x00000080
9\name="Dead, Jim."
9\value=0x00000002

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

[invalid_flags_3]
size=1
1\name=a ghost
1\value=0x00001000
« Last Edit: April 01, 2012, 11:38:08 pm by Rybec »
Logged
Pages: 1 ... 114 115 [116] 117 118 ... 192