Bay 12 Games Forum

Dwarf Fortress => DF General Discussion => Topic started by: Jifodus on July 29, 2008, 03:50:03 pm

Title: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Jifodus on July 29, 2008, 03:50:03 pm
"... because of the water on the level above."

This will disable the announcement, pause, and undesignation of warm stone and damp stone.  Former versions, which no longer work with the most recent version of DF was able to independently enable/disable the feature. However, the current version will always disable both, since the previous behavior was really complicated and I didn't want to completely rewrite the patching code for the new version.  Therefore this utility is slightly more dangerous if you've got both magma and water in close proximity, but losing is much more entertaining.

http://www.lorauwar.com/~jifodus/dl/df/justdigitout.zip (2011.01.08.1)

Enjoy!

Source Code: http://code.lorauwar.com/hg/pub/df/file/e009bf808088/AutomatedTools/justdigitout.c
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Fualkner on July 29, 2008, 04:41:43 pm
My firstborn to you, sir.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Christes on July 29, 2008, 04:47:06 pm
Awesome, except for when you're digging into an aquifer from the side...
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Jifodus on July 29, 2008, 05:08:28 pm
Awesome, except for when you're digging into an aquifer from the side...
Obviously you're already supposed to know that what you're digging is safe. ;)
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Alfador on July 29, 2008, 05:35:50 pm
Even better would be to only disable the PAUSE. Then your dwarves would just quickly let you know you've hit damp stone, undesignate, and move on. You'd have a nice line of undesignated spots where you know it's dangerous. Then if you want to breach, just redesignate.

That's actually simple enough for us to want it as an init option: pause on damp/warm stone warning? y/n
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Wirewraith on July 29, 2008, 07:32:13 pm
Even better would be to only disable the PAUSE. Then your dwarves would just quickly let you know you've hit damp stone, undesignate, and move on. You'd have a nice line of undesignated spots where you know it's dangerous. Then if you want to breach, just redesignate.

That's actually simple enough for us to want it as an init option: pause on damp/warm stone warning? y/n

For the record, undesignating can suck when you've planned out a complex shaped room, such as circle shape or whatever. If it auto-undesignates a large portion of the diagonals around the edge, it can be a bitch to reset them properly (many a time I've come across this, re-designated, only to find out lated I had dug out the damn room wrong in some small way).

But I digress, this little utility thing makes me happy in my pants. Kudos sir.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Untelligent on January 25, 2009, 09:41:24 pm
Any chance of getting this working for any of the 40d series?
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Sir Speshkitty on September 14, 2009, 10:48:19 am
Any chance of getting this working for any of the 40d series?
The magma part does, at least.

Edit: It just occured to me how long ago the last post was. Sorry.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Granite26 on September 14, 2009, 11:02:41 am
Even better would be to only disable the PAUSE.

Ideal for me would be to pause BEFORE the dwarf cancelled the job, so you could redesignate and he wouldn't wander off
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: BigFatDwarf on September 16, 2009, 04:05:04 pm
Even better would be to only disable the PAUSE.

Ideal for me would be to pause BEFORE the dwarf cancelled the job, so you could redesignate and he wouldn't wander off

Yeah, that's a great idea. I hate when they always pace back and forth all the time when I dig under my Incinerator channel.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: rom on November 11, 2009, 11:04:41 am
Can someone reupload this please?
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: donmarker on November 11, 2009, 02:21:38 pm
I have to agree with rom, since geocities went down, "just dig it out" went with it and it's driving me nuts playing without it. I'd be grateful if someone could rapidshare it or upload it some other way. Thanks in advance.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: ebbus h. urist on November 11, 2009, 06:11:26 pm
personaly, I'd take the annoyance of canceled designations over the chance of annoying fun of flooding the fortress.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: rom on November 11, 2009, 07:12:14 pm
Doesn't make any sense, when you need to dig bellow your own pool of magma, and getting canceled every tile. Also you can turn it on or off any time.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: InsanityPrelude on November 11, 2009, 08:01:29 pm
I like the undesignate-but-don't-pause option someone mentioned before. It's a pain in the neck trying to dig anything under an underground pool when it's pausing every couple seconds.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Jifodus on November 11, 2009, 11:09:53 pm
The only reason why I hadn't reuploaded this is because it wasn't checked/updated for the dN versions.  I guess now that there is demand for it, I'll update it and reupload it.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: donmarker on November 12, 2009, 03:43:38 am
personaly, I'd take the annoyance of canceled designations over the chance of annoying fun of flooding the fortress.

I always floodgate my tunnels where I know there are damp walls, but having them stopping at every turn is rather annoying. Jifodus' program is a blessing, for me at least.

And thank you kind sir, for updating it :)
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: darkflagrance on November 12, 2009, 01:17:31 pm
THIS IS EXCELLENT

It is now residing on my desktop.

Thanks for the much-appreciated labor!
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Danarca on November 12, 2009, 01:24:07 pm
I'm not sure how much work would go in this, but could you add a button so it would also disable pausing when finding microcline etc., immigrants etc. ...?
Thanks anyways for the tool, will make it a lot easier to play on ocean maps :D
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Shurikane on November 12, 2009, 01:55:51 pm
Expansion on the idea:

Allow the player to toggle pausing when striking nonstandard stone, economic stone, ore, or gemstones.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: donmarker on November 13, 2009, 08:12:44 am
Thank you Jifodus. It's very appreciated :)
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: NRN_R_Sumo1 on January 10, 2010, 06:38:24 am
this makes me so happy, because my magma pipes seem to always have a large random layers around them under or above small ones when I'm trying to take their initial obsidian.
Title: Re: Disable the Annoying "Digging designation canceled,..."
Post by: Sutremaine on January 10, 2010, 04:27:48 pm
The only reason why I hadn't reuploaded this is because it wasn't checked/updated for the dN versions.  I guess now that there is demand for it, I'll update it and reupload it.
And this time next month you'll likely be doing it aaaaall over again. Cheers, it's a nice utility.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: DDR on February 18, 2010, 06:02:46 pm
Jifodus: Thank you from the bottom of my heart! This utility does exactly what I want, which is to just dig the room out.

I owe you one.

Love,
DDR
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Foxbyte on February 19, 2010, 04:35:23 am
Thank you for this two-fold, Jifodus. One layer is the relief of constant pausing and designations. The second is that I took it upon myself to start learning how to code just a few days ago, and your source is a great inspiration!

So thanks-thanks.

Edit: This deserves a sticky somewhere, or a good mention in one.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: lastofthelight on April 03, 2010, 02:23:11 pm
Please, please, update this!
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Volatar on April 03, 2010, 02:32:09 pm
It doesn't NEED to be updated with the new announcements.txt settings  >:(
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Tayron on April 03, 2010, 03:40:38 pm
Indeed, if you go into the Announcement.txt there are two lines.

[DIG_CANCEL_WARM:A_D:D_D:P:R]
[DIG_CANCEL_DAMP:A_D:D_D:P:R]

Just remove the P, which is the part that makes the game pause.  It will still undesignate, but I'd rather have it do that, then have to fiddle with turning on/off a mod all the time.
Especially since if I accidentally dig into the side of an underground river I didn't know was there...well, game over man.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: lastofthelight on April 04, 2010, 12:38:41 am
Actually, it could still use updating. The new settings require you to go into and out of the ini, restarting the game if you want to change anything. Secondly, the game still cancels the digging designation and zooms you onto the area, even if your not pausing.


In terms of ease of use, interface, and sheer 'lack of hassle' this utility was, and remains, far better then what toady made. Sorry toady!
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: n9103 on May 29, 2010, 11:31:28 am
you can cancel the zoom to cancellation if you want, by taking the R out as well in the announcements.txt file, but there's still the need to re-designate all the tiles, so this utility is definitely still in need.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Axecleaver on November 26, 2010, 08:38:47 am
Jifodus, are there any plans to update this?
I saw a recent post in the Nano Fortress thread that you were looking into fixing that...
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Daywalkah on November 27, 2010, 12:39:48 am
Jifodus, are there any plans to update this?
I saw a recent post in the Nano Fortress thread that you were looking into fixing that...

1.Go to the 'Data' folder
2.Go to the 'Init' folder
3.Open the 'Announcements' file
4.Look for these:
[DIG_CANCEL_WARM:A_D:D_D:P:R]
[DIG_CANCEL_DAMP:A_D:D_D:P:R]
5.Remove 'P:R' like so:
[DIG_CANCEL_WARM:A_D:D_D]
[DIG_CANCEL_DAMP:A_D:D_D]

Or just remove the lines all together, either or works. It still undesignates though.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2009.11.11.1)
Post by: Arphahat on January 07, 2011, 11:57:58 pm
Jifodus, are there any plans to update this?
I saw a recent post in the Nano Fortress thread that you were looking into fixing that...

1.Go to the 'Data' folder
2.Go to the 'Init' folder
3.Open the 'Announcements' file
4.Look for these:
[DIG_CANCEL_WARM:A_D:D_D:P:R]
[DIG_CANCEL_DAMP:A_D:D_D:P:R]
5.Remove 'P:R' like so:
[DIG_CANCEL_WARM:A_D:D_D]
[DIG_CANCEL_DAMP:A_D:D_D]

Or just remove the lines all together, either or works. It still undesignates though.

But, the undesignate is my biggest issue.  Is there any thought on updating this?
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Jifodus on January 08, 2011, 03:11:49 pm
Yes, it now works with 0.31.18, but it doesn't support independently disabling water and magma warnings.  Enjoy with caution.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Arphahat on January 12, 2011, 01:59:49 am
Most appreciated!  Thanks!
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Arphahat on February 02, 2011, 01:15:22 am
Just noticed that the link is down.  I grabbed it while it was still available, so you can grab it http://dl.dropbox.com/u/8001374/justdigitout.zip (http://dl.dropbox.com/u/8001374/justdigitout.zip).
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Kipi on February 02, 2011, 08:47:58 am
Okay, how does it work exactly? Anyone up to give a brief explanation how to use it?

If it really works on .18, then Jifodus has just made one happy player.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Arphahat on February 02, 2011, 01:16:59 pm
Okay, how does it work exactly? Anyone up to give a brief explanation how to use it?

If it really works on .18, then Jifodus has just made one happy player.

You run the exe and it will disable the warm / wet stone messages and just have your dwarf keep digging.  Run it again to re-enable the messages.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Robik on April 27, 2012, 02:14:34 pm
I am in your debt.

This utility saved my sanity...
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: daveralph1234 on April 27, 2012, 07:39:59 pm
Dose this work with DF2012 or is there another version avalible somewhere?
Not undesignating would be much apreciated.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: Robik on April 28, 2012, 12:24:32 am
Dose this work with DF2012 or is there another version avalible somewhere?
Not undesignating would be much apreciated.

Yes, the utility downloaded from the Arphahat's dropbox (few posts up in the thread) works in last version (0.34.07), i used it yesterday to dig layer directly under plenty of lakes and job cancelations were driving me mad until i found this gem on forum :)
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: daveralph1234 on April 28, 2012, 07:31:42 am
Would it be possible for someone to turn this into a DFhack plugin? It would be much more convenient than a seperate executable.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: chewie on April 28, 2012, 08:35:17 am
You can customize your announcements settings without third-party utilities:
Quote from: The wiki
Controlling which announcements pause and recenter

You can control which types of announcements do and don't pause and/or recenter the game by editing the announcements.txt file, found at Dwarf Fortress/data/init/announcements.txt. An announcement type containing P will pause when that announcement type is made, and one containing R will re-center when that announcement type is made. For example,
[MIGRANT_ARRIVAL:A_D:D_D:P:R]

means that the game will pause and recenter upon the announcement of migrants arriving. You could change it to
[MIGRANT_ARRIVAL:A_D:D_D:R]

to cause the game to recenter on the arriving migrants, but to not pause the game.
The game will still cancel the designations though.

Edit: Also, reposting something that has been said at least twice in this thread...
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: oldmansutton on November 17, 2015, 05:48:01 pm
Since I spent over 30 minutes trying to find a way to stop the cancellations, and this is STILL the most relevant solution, all these years later, and since it hasn't been asked or answered yet, and there are others who may be wondering, like I was....

This STILL works for DF2014.  (0.40.24) 

... Thank the gods.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: AlBravo on May 18, 2016, 05:55:40 am
This worked for me today on 42_06 with warm stone.  I did not try damp stone.  I also had already manually remove prompt/recenter from announcements.txt.  It also reversed itself with no problem.
Title: Re: Disable the Annoying "Digging designation canceled,..." (2011.01.08.1)
Post by: HellaJeff7312 on July 08, 2016, 06:14:15 pm
Does not work with 43.04 or newer. Sadness.