Bay 12 Games Forum

Please login or register.

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

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

kingubu

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

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

Works like a charm, thanks!
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1741 on: April 02, 2012, 07:04:41 am »

whew, seems a lot has gone on over the weekend! as coincidence would have it, i have also been moving over this weekend so i haven't been able to keep up with the new layouts but i'll get around to it as soon as i can for my branched build.

for those who have been wondering where to look for updates/changes on the different branches you can either check the dwarf therapist clones, or if you're specifically looking for my branch, i keep a running change log on the main page here.

thanks again to those finding and posting the offsets  :D

Intrinsic

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1742 on: April 02, 2012, 10:44:35 am »

The offsets for your version are a bit iffy still, phys attributes not working for both those posted previously, and for some reason i'm getting merchants listed as being mine and i can change their jobs etc ;p equipment_recheck is another query as i've seen several different offsets for it.
Logged

vhappylurker

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1743 on: April 02, 2012, 11:37:26 am »

Eh, I hate to sound like a newbie, but does anyone know how to use the "auto-update"? Or at least have a memory lay-out for 34.06?

I seriously cannot figure this out.


Never mind, I'm an idiot.
« Last Edit: April 02, 2012, 11:57:33 am by vhappylurker »
Logged

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1744 on: April 02, 2012, 11:47:58 am »

The offsets for your version are a bit iffy still, phys attributes not working for both those posted previously, and for some reason i'm getting merchants listed as being mine and i can change their jobs etc ;p equipment_recheck is another query as i've seen several different offsets for it.

[ETHIC:ENLIST_MERCHANTS:ACCEPTABLE]

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1745 on: April 02, 2012, 11:52:02 am »

The offsets for your version are a bit iffy still, phys attributes not working for both those posted previously, and for some reason i'm getting merchants listed as being mine and i can change their jobs etc ;p equipment_recheck is another query as i've seen several different offsets for it.

[ETHIC:ENLIST_MERCHANTS:ACCEPTABLE]
Captain Mayday (the overseer of Nist Akath) certainly thought so.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Felgard

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1746 on: April 02, 2012, 12:00:30 pm »

hello FIRST POST for me!

well lets forget that

anyways i was using the ini that rybec posted and noticed that assigning mining to the dorfs did nothing (all other jobs worked fine) and did a little experiment with the "recheck_equipment" line and changed the offset to "0x01D4" (same as .06) and now my dorfs finally realizes that they should get their equipment.

before they got the job assigned but did not pick up their equipment.
« Last Edit: April 02, 2012, 02:23:01 pm by Felgard »
Logged

sekullbe

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1747 on: April 02, 2012, 12:26:18 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:

 I'm running 07 from the Linux Phoebus package on 64 bit Ubuntu 10.04. DT is installed from .deb.

I have only the .05 DT .ini, so I replaced the top of the file with these values. That loaded some info about the dwarves but not everything- looks like their jobs but not skills. (I didn't check this carefully though).  I had the same problem on Windows, probably because I missed changes in .06.  Slink's .07 file fixed it there. So I tried that here, with the Linux values as the first config stanzas. DT now fails to connect at all- says DF isn't running. I've probably missed something- should I force an update through .06 maybe to get the correct file? I haven't seen a full linux .07 ini here.

Logged

Gurgle

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

Following Rybec's solution worked wonders for me, all problems gone.
Thanks!

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.


Logged

Intrinsic

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1749 on: April 02, 2012, 02:03:09 pm »

Unsure why other people's phys attribs work and mine don't. I even did a fresh install of DF .07 and DT, with and without dfhack.

I am using XP but that shouldn't matter at all as i rarely boot into win7 and never had any issue before.
Logged

LoSboccacc

  • Bay Watcher
  • Σὺν Ἀθηνᾷ καὶ χεῖρα κίνει
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1750 on: April 02, 2012, 02:17:35 pm »

I've two dwarves not listed in therapists. Vampires?

Need the save?
Logged

vityav

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1751 on: April 02, 2012, 02:34:08 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:
Thanks! Adding these to DwarfEngineer's 36.06 offsets and my splinterz's 36.06 offsets seems to have it all back up and running for me.

For those looking for the entirety of a splinterz compatible linux ini, this should work (haven't had any curses to test yet, but works for physical and mental attributes):

Logged

Kaos

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

Bug Report: DF 34.06 with DT 34.06 (autoupdate), I embarked near a tower, necros sent an ambush, at least 1 human necro and 2 necro dwarves, the necro dwarves show up on DT even thought they are hostile and cloaked in ambush mode, even after I got one of the necro dwarves caged in one of my traps he still shows in DT  as another dwarf assigned to my last wave, which consists of the babies born in my fortress since the last migration wave.

They also show in DT when discovered and not cloaked.
Logged

asmodai

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1753 on: April 02, 2012, 05:43:05 pm »

Rybec's don't work for me, happiness is wrong, physical attributes are wrong, skills are wrong, jobs are wrong, ergo a lot needs to be changed. Not to mention every dwarf is in a separate wave.

I can confirm the following at least:

Code: [Select]
[dwarf_offsets]
first_name=0x0000
nick_name=0x001C
last_name=0x0038
custom_profession=0x006C
profession=0x0088
sex=0x00F8

Can somebody explain to me why the last_name works even though the memory scan's read of std::string of address+offset for last name gives me nothing?

Also, it seems as if sex is a short and not an int, is that right?
Logged

vityav

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.6.12 3/23/12 see first post)
« Reply #1754 on: April 02, 2012, 06:32:03 pm »

Can somebody explain to me why the last_name works even though the memory scan's read of std::string of address+offset for last name gives me nothing?

Also, it seems as if sex is a short and not an int, is that right?

If you look through the src/dwarf.cpp file, it has pretty straightforward functions for reading everything to give you a clue as to what's happening. Best I can tell though, a dwarf can have many names (think legendary dwarves), so the last name may be in a word_chunk anywhere from the start of the last name offset to 0x18 past it (read_last_name() to read_chunked_name() ).

Sex seems to just be a boolean byte (read_sex() ).
Logged
Pages: 1 ... 115 116 [117] 118 119 ... 192