Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 97 98 [99] 100 101 ... 360

Author Topic: DFHack 0.43.03-r1  (Read 1122457 times)

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.40.15-r1
« Reply #1470 on: November 19, 2014, 06:33:51 pm »

Oh good I didn't update twbt for 40.16 :) Or will you still release it for some reason?

I don't really care whether it's 40.16 or 40.17 at this point, I just hope it's soon  :D
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: DFHack 0.40.15-r1
« Reply #1471 on: November 19, 2014, 11:59:12 pm »

Oh good I didn't update twbt for 40.16 :) Or will you still release it for some reason?

I don't really care whether it's 40.16 or 40.17 at this point, I just hope it's soon  :D
It sounded like .16 was just about finished, so I hope all that work doesn't go to waste.

Hopefully the automated scanning can happen in .17 while the human expertise polishes .16.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1472 on: November 20, 2014, 12:23:57 am »

New release. 0.40.17-r1 will probably be faster than 0.40.16-r1. Download links are now on github.
Logged

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1473 on: November 20, 2014, 12:43:22 am »

Woohoo!
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1474 on: November 20, 2014, 03:05:10 am »

OSX | DFHack 0.40.16-r1 with Stonesense

UnicodingUnicorn

  • Bay Watcher
  • Competent at Incompetency.
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1475 on: November 20, 2014, 04:54:07 am »

I'm sorry, but DFHack still seems to crash when item-trigger is used like this: modtools/item-trigger -itemType ITEM_SHOES_PIPBUCK -onEquip -command [ modtools/add-syndrome -syndrome "PipBuck" -target \\UNIT_ID ]

If you wish, here is a crash dump.
Logged
I do stuff, I guess

smeeprocket

  • Bay Watcher
  • Collectivist Socialist Feminist Freeloader
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1476 on: November 20, 2014, 05:32:06 am »

is removebadthoughts all the wrong command for what I need or is it just not working,b ecause my dwarves are still unreasonably sad.
Logged
Steam Name: Ratpocalypse
Transpersons and intersex persons mod for Fortress mode of DF: http://dffd.wimbli.com/file.php?id=10204

Twitch: http://www.twitch.tv/princessslaughter/

"I can't wait to throw your corpse on to a jump pad and watch it take to the air like a child's imagination."

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1477 on: November 20, 2014, 05:34:49 am »

Removebadthoughts will need a complete rewrite to work. Not entirely sure why it's still included.

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1478 on: November 20, 2014, 05:40:22 am »

make it just set the stress to -1000000
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1479 on: November 20, 2014, 05:48:39 am »

Heh.

Code: [Select]
if ... then
    for k,v in ipairs(df.global.world.units.active) do
        v.status.current_soul.personality.stress_level=-1000000
    end
else
    dfhack.gui.getSelectedUnit().status.current_soul.personality.stress_level=-1000000
end

There you go. Just type whatever you name that script (put it into a .lua file in hack/scripts, the name of the script is the name of the file) and it'll set the stress of the highlighted unit to -1000000; type any argument ("<name> all", for example) and it'll do it with all units on the map.

EDIT: Wow I just realized that removing bad thoughts won't actually decrease stress levels as of 0.40.14, so this is actually the best alternative. Ain't that a thing.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1480 on: November 20, 2014, 06:01:30 am »

I'm calling this "remove-stress" and adding it to my pack.

Code: (remove-stress.lua) [Select]
-- remove stress from a unit
-- With unit selected, affects that unit.  Use "remove-stress all" to affect all units.

--By Putnam; http://www.bay12forums.com/smf/index.php?topic=139553.msg5820486#msg5820486

if ... then
    for k,v in ipairs(df.global.world.units.active) do
        v.status.current_soul.personality.stress_level=-1000000
    end
else
    dfhack.gui.getSelectedUnit().status.current_soul.personality.stress_level=-1000000
end
« Last Edit: November 20, 2014, 06:31:07 am by PeridexisErrant »
Logged
I maintain the DF Starter Pack - over a million downloads and still counting!
 Donations here.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1481 on: November 20, 2014, 06:03:56 am »

k

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1483 on: November 20, 2014, 06:37:41 am »

I'm sorry, but DFHack still seems to crash when item-trigger is used like this: modtools/item-trigger -itemType ITEM_SHOES_PIPBUCK -onEquip -command [ modtools/add-syndrome -syndrome "PipBuck" -target \\UNIT_ID ]

If you wish, here is a crash dump.
what if you use one slash instead of two

I heard this helps
Logged
._.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.40.16-r1
« Reply #1484 on: November 20, 2014, 06:41:27 am »

OSX | DFHack 0.40.16-r1 with Stonesense
How did you compile Stonesense? I haven't been able to compile it on any platform since the emotion changes in 0.40.14.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.
Pages: 1 ... 97 98 [99] 100 101 ... 360