Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: DF Hack Question.  (Read 953 times)

TDSS02

  • Bay Watcher
    • View Profile
DF Hack Question.
« on: January 26, 2015, 07:52:14 pm »

Hello everyone, last time i played was version 34.07, so everything is still a little foggy. I have a question about dfhack. I used to be able to change the starting embark amount of my dwarves. I tried to do it with this version and for some reason i am having a problem. I am using the latest LNP. It has the script but it just doesn't want to work. I type startdwarf 10 into the DFHack command prompt while on the embark selection map and press enter. It doesn't give me any errors or anything so i am assuming it works. But when i get to the embark screen i only have 7 dwarves? Am i missing something?

Thanks in advance. 8)
Logged
Quote from: piecewise on March 14, 2010, 06:22:02 am
  Dwarf Fortress: Beat children with children.

expwnent

  • Bay Watcher
    • View Profile
Re: DF Hack Question.
« Reply #1 on: January 26, 2015, 08:13:36 pm »

The start_dwarf_count global hasn't been located for windows for 0.40.24, so it won't work.
Logged

TDSS02

  • Bay Watcher
    • View Profile
Re: DF Hack Question.
« Reply #2 on: January 26, 2015, 08:17:28 pm »

Ohh i get ya. Thank you, i appreciate it.
Logged
Quote from: piecewise on March 14, 2010, 06:22:02 am
  Dwarf Fortress: Beat children with children.

YAHG

  • Bay Watcher
    • View Profile
Re: DF Hack Question.
« Reply #3 on: February 01, 2015, 02:03:45 pm »

In \hack\Symbols.xml, changing

Code: [Select]
<global-address name='start_dwarf_count'/>
to

Code: [Select]
<global-address name='start_dwarf_count' value='0xB4C833'/>
made startdwarf work for me, thanks scamtank

Its in the windows part of the file.

scamtank

  • Bay Watcher
    • View Profile
Re: DF Hack Question.
« Reply #4 on: February 01, 2015, 02:58:27 pm »

Come on, at least credit the right guy. Lethosor was the one who went "oh shit that one isn't in the current branch yet? quietust found it like 70 years ago, oops". I was just helping Meph through a brain fart.
Logged