Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 59 60 [61] 62 63 ... 124

Author Topic: Dwarf Therapist (LATEST 0.5.7 7/13/10 see first post)  (Read 625175 times)

Jimmy

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #900 on: April 13, 2010, 01:56:23 am »

Thanks for the lightning fixes chmod. You should get a little something from me soon for your efforts. Treat yourself an ale for your hard work.
Logged

Mozleron

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #901 on: April 13, 2010, 02:00:18 pm »

Quote from: Malicus
[info]
checksum                = 0x4bc3c470
version_name            = v0.31.03

[addresses]
translation_vector      = 0x016b1058
language_vector         = 0x016b1028
creature_vector         = 0x0166fcfc
dwarf_race_index        = 0x01471fbc

Running 0.4.3, I was able to get most of the values above.  The one that does not show up via the memory scanner is the Creature vector.  If I use the value from .02, DT will simply refuse to cooperate and pop up the "can't connect" message.  If I use the value you have above, i will see the same instability type behavior.

On the plus side, with the values above, i can at least get 0.5.0 to connect and allow me to run the memory scanner.

I've also noticed that the Locate Metal and Locate Stone Vector scanners have not worked for any DF2010 version. 

With all the changes that have been going on to creatures, materials, et al, it's possible that there are other identifiers somewhere that the scanners are not yet built to see.
Logged

Ratbert_CP

  • Bay Watcher
    • View Profile
    • The Enraged Primate
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #902 on: April 13, 2010, 02:27:43 pm »

I just tried 0.5.0 with 0.31.03, and I'm seeing runaway memory allocation...  Already twice what Firefox is using.  Over half a gig.  Then it just dropped, but is back on the rise.  I assume it's a mem-scanner thing.  In which case, bad offsets might cause it to start wandering off and scanning Armok-knows-what chunks of RAM....
Logged
Ratbert #CP#Z
"For FUN and HONOR!"

Master

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #903 on: April 13, 2010, 02:32:32 pm »

I was just about to post those. For me though the program hangs and never loads the GUI. The last log entry states

2010-Apr-14 02:31:10.093 DEBUG   Loading dwarf strings from 1e7366c [src\dwarftherapist.cpp:335]
2010-Apr-14 02:31:10.093 DEBUG   dwarf words 2107 [src\dwarftherapist.cpp:337]

Im going to keep messing with it and see if I can figure it out.
Logged

Master

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #904 on: April 13, 2010, 02:57:51 pm »

Went through the list again and came up with these.

translation_vector = 0x00fd0fef (uncorrected:0x016b1058)
language_vector = 0x00fd0fbf (uncorrected:0x016b1028)
creature_vector =
Dwarf Race = 0x01471fbb (uncorrected:0x01471fbc)

I then input them into the new file and they reran the program and it gave me these.

translation_vector = 0x016b1022 (uncorrected:0x016b1058)
language_vector = 0x016b0ff2 (uncorrected:0x016b1028)
creature_vector = 0x0610aac2 (uncorrected:0x0610aaf8)
Dwarf Race = 0x01471f86 (uncorrected:0x01471fbc)

Those values caused the program to fail to launch. Something strange is going on here.

Forgot to mention, the creature vector is where the problem lies. Inputing it is what is causing the program to hang.
« Last Edit: April 13, 2010, 03:04:09 pm by Master »
Logged

Nabobalis

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #905 on: April 13, 2010, 03:08:30 pm »

Maybe try values from the Dwarf hack program?
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #906 on: April 13, 2010, 03:17:02 pm »

Maybe try values from the Dwarf hack program?
Some of the creature offsets got moved a bit, because Toady added a 'healthbar' feature for undead creatures.

Try this file.

Edit: fixed language vector.
« Last Edit: April 13, 2010, 04:22:14 pm by peterix »
Logged

Master

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #907 on: April 13, 2010, 03:26:51 pm »

/\_____ use that file
« Last Edit: April 13, 2010, 03:35:30 pm by Master »
Logged

Master

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #908 on: April 13, 2010, 03:31:54 pm »

nevermind, his file works perfectly.
« Last Edit: April 13, 2010, 03:35:51 pm by Master »
Logged

chmod

  • Bay Watcher
  • I get by with a little help from my friends
    • View Profile
    • UDP Viper
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #909 on: April 13, 2010, 03:33:42 pm »

Wow you guys are really raring to go here. :)

If you look in game_data.ini there is a value under the [ram_guesser] section called "dwarf_nickname_offset" that is set to 0x001C in recent versions.

That is the value the guesser uses to find the creature vector. If that value is incorrect, then the reported value for the creature vector is incorrect as well. I will take some time tonight to figure this out, but I'm at work right now and can't help.

For sure what you guys are seeing is a bad value for the creature vector appearing to be an array of like 5,000,000 creatures or something, so it runs off to load all of those "dwarfs" up. Blindly reading another process' memory is shady dealings :)
Logged

Nabobalis

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #910 on: April 13, 2010, 03:39:37 pm »

nevermind, his file works perfectly.

Nevermind, I had to add the checksum to the game_data.ini plus change the gamer version in the file posted above.
« Last Edit: April 13, 2010, 03:41:59 pm by Nabobalis »
Logged

chmod

  • Bay Watcher
  • I get by with a little help from my friends
    • View Profile
    • UDP Viper
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #911 on: April 13, 2010, 03:41:17 pm »

nevermind, his file works perfectly.

I can't get it to work. I jsut add that file with the other ones and just connect right?
If the offsets did change per creature, then just having the creature_vector pointer won't be enough, and everything will need to be adjusted.
Logged

Nabobalis

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #912 on: April 13, 2010, 03:43:30 pm »

nevermind, his file works perfectly.

I can't get it to work. I jsut add that file with the other ones and just connect right?
If the offsets did change per creature, then just having the creature_vector pointer won't be enough, and everything will need to be adjusted.

I got it to read. The file above has the incorrect game version 0.31.02 not 0.31.03 plus forgot to add the version checksum to the game_data.ini file.
Logged

Master

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #913 on: April 13, 2010, 03:46:46 pm »

Save the file to your folder at

...\etc\memory_layouts\windows

Then add

0x4bc3c470 = v0.31.03

to your game_data.ini file.

Should work for 31.03. There is a minor error is the version number inside the new file but I dont think the game calls that information in an important way. Might change it just to be safe though.
Logged

Gara-nis

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (LATEST 0.5.0 4/10/10 see first post)
« Reply #914 on: April 13, 2010, 03:56:35 pm »

Some of the creature offsets got moved a bit, because Toady added a 'healthbar' feature for undead creatures.

Try this file.

This works perfectly. Thanks!
Logged
Pages: 1 ... 59 60 [61] 62 63 ... 124