Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 148 149 [150] 151 152 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1443961 times)

Warmist

  • Bay Watcher
  • Master of unfinished jobs
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2235 on: August 13, 2012, 02:09:58 pm »

I'm having some trouble figuring out how to pass arguments to lua scripts from DFHack. Here's what I've tried:
<...>
How do I access the arguments other than the first? "quasivariable" doesn't show up in any LUA documentation I can find.
I think it was
Code: [Select]
local stuff={...}
local first=stuff[1]

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2236 on: August 13, 2012, 02:29:09 pm »

Thanks, that worked!
Logged

Snateraar

  • Bay Watcher
  • [INORGANIC:BIRD_CRAZY]
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2237 on: August 15, 2012, 04:59:01 am »

Hello,
I just removed an older version of DFHack from 0.34.10 according to the original post, then installed the latest version.
Yet when I try to use certain commands(such as slayrace) it says the command is not recognized.
Do these commands only work for 34.11, or didn't I uninstall it properly?

I am using 34.10 because the tileset hasn't updated to .11 yet, by the way.
Logged
Urist McSnate likes malachite, copper bars, birds and goblinite for its abundance. When possible, he prefers to consume tea and toast. He absolutely detests elves.

A tall, clumsy creature fond of birds and industry.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2238 on: August 15, 2012, 05:40:38 am »

You're using an older version, yes.

And your tileset probably doesn't need to be upgraded, because it's already compatible.
Logged

MightyDorf

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2239 on: August 15, 2012, 06:59:14 am »

Hello. I have an issue with the dfhack's fonction "reveal/unreveal". I think I saved my game while the "reveal" fonction was on. I closed DF last night and re-opened it today. The map was still revealed, but when I try to revert it, it doesn't work. DFhack says : "there's nothing to revert !", whereas the map is revealed. Is there a way to revert it into its normal state ?
« Last Edit: August 15, 2012, 07:18:23 am by MightyDorf »
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2240 on: August 15, 2012, 07:35:38 am »

You can probably do it with revflood. If you haven't opened up the caverns, it'll be exactly what you want. If you have, it'll also reveal the caverns.
Logged

MightyDorf

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2241 on: August 15, 2012, 08:09:33 am »

It works, thank you very much.  :D
Logged

Altaree

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2242 on: August 15, 2012, 09:11:23 am »

How do you look at the stats of a caste?  I have been able to find the element on a unit where the id of the caste is stored. I can't figure out how to get to the definition of the caste so that I can get things like name and how the caste changes physical/mental attributes.

Thanks!
Logged
Dan Pearson:
This is a game which calculates the volume of blood in every creature it generates so it knows how much alcohol it would have to consume to get drunk, an update which, remarkably, ended up covering people's fortresses in cat vomit.

Iceflame

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2243 on: August 17, 2012, 01:58:13 am »

Is there a way to modify the happyness of my dwarfes?
I need to do some testing, and this would save massive amounts of time.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: DFHack 0.34.11 r1
« Reply #2244 on: August 17, 2012, 06:16:22 am »

Is there a way to modify the happyness of my dwarfes?
I need to do some testing, and this would save massive amounts of time.
Yes - add some happy thoughts or delete their unhappy thoughts. Simply setting the "happiness" value will not work, since that gets recalculated whenever a new thought happens.
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.

Iceflame

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2245 on: August 17, 2012, 07:19:58 am »

Tis exactly looks like what I need. Thanks.
Now I just have to figure out the 'how'
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2246 on: August 17, 2012, 09:29:05 am »

If you're just testing stuff, you could just give them [NOEMOTION].
Logged

vjek

  • Bay Watcher
  • If it didn't work, change the world so it does.
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2247 on: August 17, 2012, 09:44:05 am »

Tis exactly looks like what I need. Thanks.
Now I just have to figure out the 'how'

This works for very happy/stable dwarves:

Spoiler (click to show/hide)

That's a cut/paste out of my brainwash script.

Mapleguy555

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2248 on: August 18, 2012, 10:59:41 pm »

No more df2minecraft?
D:
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.34.11 r1
« Reply #2249 on: August 18, 2012, 11:02:49 pm »

DF2Minecraft needs a complete re-write from the ground up.
Logged
Pages: 1 ... 148 149 [150] 151 152 ... 373