Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 33 34 [35] 36 37 ... 244

Author Topic: DFHack 50.13-r5  (Read 870433 times)

Rafal99

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #510 on: December 09, 2017, 08:53:51 am »

I have written a small lua script that wakes up selected sleeping dwarf.
(it is mostly based on siren script but kinda simpler and more verbose)

What is the procedure to have it included in DFHack?
Post it here or make a pull request in https://github.com/dfhack/scripts (if you know how) and we'll take a look. I'm wondering if it would be better as an option in "siren" instead of a separate script, but either way, having that would be useful.

Ok. I will make a PR after I do some more extensive testing.
As for extending siren, siren already uses all its parameters for burrow names so it is not so simple, and also has extra logic for stopping breaks, parties etc. which I didn't want. Also siren has different theme and inflicted thoughts, meant to be used as a global alarm during a siege, while my script is about dwarf having "nightmares" because he sleeps at wrong place and time. :P
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

Rusty_knight

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #511 on: December 09, 2017, 02:00:38 pm »

What is the purpose of "rube-autogen-win.rb" script and how can I run it?
Logged
Crazy-ass weirdo beaver is my totem animal!

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #512 on: December 09, 2017, 02:28:38 pm »

What is the purpose of "rube-autogen-win.rb" script and how can I run it?
It's not something you can run directly, which is why it isn't in the scripts folder. It's auto-generated Ruby code (for Windows, in this case) that deals with DF structures somehow.
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.

YetAnotherLurker

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #513 on: December 10, 2017, 01:42:23 am »

I'm getting an immediate crash when attempting to rename a region folder. Not exactly a major problem, but just so you know. Windows 64-bit 44.02a1.
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #514 on: December 10, 2017, 01:54:56 am »

yo, here's a script that lets you add custom artifacts. It uses anon entries, so it's for testing only at this point, no way am I releasing anything with this until the artifact_record is mapped out better. Assumptions in writing are here; for the most part, it works perfectly. Artifacts can be recovered from sites as expected.
Nice, I was just thinking about wondering if this could be done way back when I started fucking around with artifake.
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #515 on: December 10, 2017, 02:00:23 am »

I'm getting an immediate crash when attempting to rename a region folder. Not exactly a major problem, but just so you know. Windows 64-bit 44.02a1.
How/where exactly are you renaming it?

Edit: if you mean in the "start playing" menu, I found and fixed the issue there.
« Last Edit: December 10, 2017, 02:13:01 am by lethosor »
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.

YetAnotherLurker

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #516 on: December 10, 2017, 02:33:52 am »

Edit: if you mean in the "start playing" menu, I found and fixed the issue there.
Yeah, that's the one.
Logged

Rusty_knight

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #517 on: December 10, 2017, 02:41:57 am »

Is there a way to start another script from within currently running script?
Logged
Crazy-ass weirdo beaver is my totem animal!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #518 on: December 10, 2017, 03:04:54 am »

dfhack.run_script

Rusty_knight

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #519 on: December 10, 2017, 03:41:42 am »

dfhack.run_script

Script to gm-edit map block under cursor, now with a cursor check!
Spoiler (click to show/hide)
« Last Edit: December 10, 2017, 06:19:16 am by Rusty_knight »
Logged
Crazy-ass weirdo beaver is my totem animal!

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #520 on: December 10, 2017, 05:57:34 am »

Well hell that's kinda interesting, though now I wonder if it would be possible to add that in as a my_trg while you've got the actual tile name highlighted instead of the objects/units that might be present...
Logged

Vitellus

  • Bay Watcher
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #521 on: December 11, 2017, 10:08:33 am »

Thanks for the release! Keep up the hard work!
Logged
Perfecting the art of limb removal since U.C. 214

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #522 on: December 11, 2017, 06:15:09 pm »

Wow already out for the new build? That's incredible.

Did Toady end up giving the project some information to make it easier?

I thought he was talking about that stuff a while back.

martinuzz

  • Bay Watcher
  • High dwarf
    • View Profile
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #523 on: December 11, 2017, 07:36:28 pm »

Can I install (replace the DLL) DFHack while DF is running? I want to save two dwarves that got bugged into a water reservoir with a teleport, but obviously can't exit the game.
Logged
Friendly and polite reminder for optimists: Hope is a finite resource

We can ­disagree and still love each other, ­unless your disagreement is rooted in my oppression and denial of my humanity and right to exist - James Baldwin

http://www.bay12forums.com/smf/index.php?topic=73719.msg1830479#msg1830479

mifki

  • Bay Watcher
  • works secretly...
    • View Profile
    • mifki
Re: DFHack 0.43.05-r3.1 | 0.44.02-alpha1 (dev)
« Reply #524 on: December 11, 2017, 08:02:43 pm »

Can I install (replace the DLL) DFHack while DF is running? I want to save two dwarves that got bugged into a water reservoir with a teleport, but obviously can't exit the game.

No, even if you could replace, it wouldn't work.
Pages: 1 ... 33 34 [35] 36 37 ... 244