v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.34:Exploit"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Quantum stockpiles: Rearranged and refined and updated information)
m
Line 38: Line 38:
 
This can be utilised as part of a minecart transport system, or standalone with no tracks or moving minecarts whatsoever.  The steps below are to create a simple standalone Quantum Stockpile, but the same general principles apply if used in a minecart transport system.
 
This can be utilised as part of a minecart transport system, or standalone with no tracks or moving minecarts whatsoever.  The steps below are to create a simple standalone Quantum Stockpile, but the same general principles apply if used in a minecart transport system.
  
Setup:
+
''Setup:''
 
   rrrr    r receiving stockpile
 
   rrrr    r receiving stockpile
   S      S Track Stop, set to dump south
+
   S      S track stop, set to dump south
 
   d      d distribution stockpile
 
   d      d distribution stockpile
  
# Build a Track Stop {{K|b}} - {{K|C}} - {{K|S}}.  Ensure you set the dumping direction {{K|d}}.
+
# Build a track stop {{K|b}} - {{K|C}} - {{K|S}}.  Ensure you set the dumping direction {{K|d}}.
 
# Designate a 1x1 distribution stockpile {{K|p}} on the square where the stop will dump and define preferences {{K|q}} to make the settings {{K|s}} store only what you want, with no barrels {{K|E}}, bins {{K|C}} or wheelbarrows {{K|w}}.
 
# Designate a 1x1 distribution stockpile {{K|p}} on the square where the stop will dump and define preferences {{K|q}} to make the settings {{K|s}} store only what you want, with no barrels {{K|E}}, bins {{K|C}} or wheelbarrows {{K|w}}.
 
# Designate a receiving stockpile {{K|p}} (can be anywhere, but optimally right next to the constructed track stop) of any size.  The larger it is, the more dwarves will simultaneously collect items.  Define the preferences{{K|q}} of this stockpile to be the same as the distribution stockpile, with the possible exception of the number of wheelbarrows.  If the QSP is for heavy items (eg [[stones]]), you may want to use wheelbarrows in the receiving stockpile to speed up collection.  Wheelbarrows will place a limit of up to three dwarves simulatenously collecting, unless you make multiple receiving stockpiles, each with its own set of wheelbarrows.
 
# Designate a receiving stockpile {{K|p}} (can be anywhere, but optimally right next to the constructed track stop) of any size.  The larger it is, the more dwarves will simultaneously collect items.  Define the preferences{{K|q}} of this stockpile to be the same as the distribution stockpile, with the possible exception of the number of wheelbarrows.  If the QSP is for heavy items (eg [[stones]]), you may want to use wheelbarrows in the receiving stockpile to speed up collection.  Wheelbarrows will place a limit of up to three dwarves simulatenously collecting, unless you make multiple receiving stockpiles, each with its own set of wheelbarrows.
Line 53: Line 53:
 
This technique was [http://www.bay12forums.com/smf/index.php?topic=92241.0 developed] before minecarts were implemented.  While still a valid method, it has been superceded by the Minecart Stop QSP which achieves the same result, is easier to set up and has fewer drawbacks.   
 
This technique was [http://www.bay12forums.com/smf/index.php?topic=92241.0 developed] before minecarts were implemented.  While still a valid method, it has been superceded by the Minecart Stop QSP which achieves the same result, is easier to set up and has fewer drawbacks.   
  
Setup:
+
''Setup:''
 
         H Hatch cover
 
         H Hatch cover
 
   =====  ^ pressure plate, citizens trigger, linked to hatch
 
   =====  ^ pressure plate, citizens trigger, linked to hatch
Line 61: Line 61:
 
The idea is that haulers try to place some item on the right stockpile, step on the pressure plate and make the hatch cover retract. This makes them cancel the hauling job because they can't reach the right stockpile. They then drop the item on the left stockpile, on top of as big of a pile as you want.
 
The idea is that haulers try to place some item on the right stockpile, step on the pressure plate and make the hatch cover retract. This makes them cancel the hauling job because they can't reach the right stockpile. They then drop the item on the left stockpile, on top of as big of a pile as you want.
  
More information on this method can be found on the inventors [[User:Vasiln/Undump|user page]].
+
More information on this method can be found on the inventor's [[User:Vasiln/Undump|user page]].
  
 
Drawbacks to this design:
 
Drawbacks to this design:

Revision as of 12:03, 19 September 2012

This article is about an older version of DF.

An exploit is a quirk of a game that allows players to gain what other players may consider an unfair advantage, usually by making use of a feature that is not working properly or which defies logic. 'Exploiting the game' is distinct from 'cheating' because exploits occur within the game as written and do not need any external utilities or modding. Whether a player chooses to make use of an exploit or not depends on their personal taste; given that Dwarf Fortress is a single-player game, the user alone can decide what liberties to take and what options to shun. Among DF players there is much discussion about what actually should be considered an exploit, going from making sweetpod syrup instead of sugar, growing crops in winter, or even underground, as the one extreme, to justifying 'water wheel batteries' as the other. This page takes a rather relaxed approach in that you considering it an exploit is basically enough to add it, if you don't get too much opposition.

Atom Smasher

Main article: Dwarven atom smasher

A drawbridge, when rapidly triggered on and off, can be used to obliterate some creatures or items beneath it. The drawbridge will be destroyed if it is used to crush a creature of too large a size.

Manager Exercise Program

As a Manager, skill is gained as tasks are approved, not completed. Simply by queuing lots of jobs (j m q) (and providing a meager office), the manager will quickly level to legendary as an Organizer. The tasks can then be removed once approved.

Merchant Swindles

There are a variety of ways to steal cargo from merchants without seizing it; all amount to naked theft. Tearing down the trade depot while the merchants are there is the easiest way.

Also, marking items for dumping, using view creature mode (v), the stocks menu (z), items in room mode (t), or mass dump mode (d)-(b)-(d) then marking the entire depot, lets you relieve merchants of their goods. Just reclaim the items from your garbage dump zone later. You can even take clothing and equipment off merchant and guards this way.

You can make a wall around the merchants (and even the poor animals) and let them starve to death, letting you take what ever you want. Wait quite a while for them to starve. They will become very angry if you do, so never open the door once they are on the brink of death.

However, the merchants will consider any lost goods to be stolen goods regardless of the method used to take possession of them, or used to destroy them.[Verify] See the 40d page and This forum post. So unless you specifically want to take the clothing off the backs of the merchants or steal from your own civ, you might as well just seize the goods anyway.

Quantum stockpiles

A Quantum Stockpile (QSP) allows you to store an infinte number of items in a single square. QSPs can make for super efficient storage, allowing more compact fortresses, shorter hauling routes, more efficient manufacturing flows, stocktaking at a glance with look k and possibly higher FPS.

Simple Quantum Stockpiles

The simplest QSP is created by designating a garbage pit zone instead of a stockpile, allowing you to store an infinite number of objects in a single tile by dumping them, then reclaiming them when you want to use them.

A similar effect may be achieved for stones only by building a wall two tiles in front of a catapult and digging a channel between the wall and catapult. By firing the catapult at the wall, the stone falls into the trench. The stone will pile up in the channel, putting it out of sight and out of mind. Not only does this train siege operators, but it clears the stone that your miners leave everywhere.

Another way to quantum stockpile is to not have appropriate stockpiles to move items back to after you move them to the trading depot. The depot can hold an infinite number of items, and those items will not be removed if there is nowhere else to place them. This is also useful for anything you want to trade anyway.

The Minecart Stop

This method allows the type of items to be stored in the Quantum Stockpile to be completely controlled and to be as broad or specific as required. Collection of items is automatic with no user input required (just like a normal stockpile), and the number of haulers collecting for the stockpile is controlled by the size and number of receiving stockpiles. Distribution is also automatic, with dwarves coming to collect items as needed (just like from a normal stockpile).

This can be utilised as part of a minecart transport system, or standalone with no tracks or moving minecarts whatsoever. The steps below are to create a simple standalone Quantum Stockpile, but the same general principles apply if used in a minecart transport system.

Setup:

 rrrr     r receiving stockpile
  S       S track stop, set to dump south
  d       d distribution stockpile
  1. Build a track stop b - C - S. Ensure you set the dumping direction d.
  2. Designate a 1x1 distribution stockpile p on the square where the stop will dump and define preferences q to make the settings s store only what you want, with no barrels E, bins C or wheelbarrows w.
  3. Designate a receiving stockpile p (can be anywhere, but optimally right next to the constructed track stop) of any size. The larger it is, the more dwarves will simultaneously collect items. Define the preferencesq of this stockpile to be the same as the distribution stockpile, with the possible exception of the number of wheelbarrows. If the QSP is for heavy items (eg stones), you may want to use wheelbarrows in the receiving stockpile to speed up collection. Wheelbarrows will place a limit of up to three dwarves simulatenously collecting, unless you make multiple receiving stockpiles, each with its own set of wheelbarrows.
  4. Construct a new hauling route h, assign a vehicle v, and define a new stop s on your constructed track stop. Enter to define the stop, Enter again to set the desired items to the same as your stockpiles, x to remove all existing conditions, s to make a stockpile link and choose the receiving stockpile/s to tell the minecart track stop to take from them.

It is a little fiddly to initially set up, and if you miss any step it won't work at all, but once in operation it's an extremely efficient storage system, and scales easily with the size of your fortress, number of haulers and number of items to store.

The Undump

This technique was developed before minecarts were implemented. While still a valid method, it has been superceded by the Minecart Stop QSP which achieves the same result, is easier to set up and has fewer drawbacks.

Setup:

        H Hatch cover
 =====  ^ pressure plate, citizens trigger, linked to hatch
 ^sHs=  = Wall
 =====  s Stockpile (same type)

The idea is that haulers try to place some item on the right stockpile, step on the pressure plate and make the hatch cover retract. This makes them cancel the hauling job because they can't reach the right stockpile. They then drop the item on the left stockpile, on top of as big of a pile as you want.

More information on this method can be found on the inventor's user page.

Drawbacks to this design:

  1. It's slow, because the one target stockpile generates only one job at a time. If you have more than one target stockpile they create lag because of pathing issues. You probably want to keep your normal stockpiles and use the undump to clean them up slowly. At which point you could consider just using the normal quantum stockpile dumping. Or you build more undumps.
  2. Job cancellation spam. You can turn that off.
  3. Oftentimes, dwarves drop the item on top of the pressure plate instead of on the stockpile. A feeder stockpile just outside the undump helps here.
  4. You obviously need some materials to build it.
  5. You need to create an open space tile where the hatch cover is (channelling only leaves a ramp), which means digging in the level below.
  6. You want to set the pressure plate to the lowest minimum weight (10000, which gets a zero cut off and displays as 1000). This can get tedious, so getting a macro is advised.
  7. If your stockpile management is exceptional already, the undump may not be of as much use to you.

However, there is a multitude of potential applications that get discussed in this thread.

Building destroyer door

Forbid something a dwarf is carrying as he goes through a door, and he'll drop it. The door won't close and won't stop any normal creature from going through, but building destroyers seem to stop in their tracks, waiting for it to close before moving on. Note: your civilians can pass the creature safely, but attacking it cancels your protection. [Verify]

HFS's back door

There's a convoluted way to dig down through semi-molten rock and evade the head-on encounter with hidden fun stuff. Doing this can enable you to, among other things, mine undiggable slade and duplicate rare minerals. See the page for semi-molten rock for details.

Forgotten beast zoo

Wall off all the passageways into your lowest level at the outermost square of the map - except one, which leads to a little vestibule surrounded by fortifications. Wave hello to the various ungainly "forgotten beasts" which accumulate inside.

Perpetual Motion

A screw pump requires 10 power to move water; a water wheel supplies 100 power if it's got water moving it. Arrange the former to feed the latter, while the latter powers the former, and you can get perpetual motion going - with a surplus of power available. See Water wheel#Perpetual motion for more details.

Urist McAdventurer the Shield-wall

Adventurers are not limited in the number of items they can hold in their hands, allowing them to equip a virtually unlimited number of shields or bucklers with little effect to the adventurer's performance. This offers multiple chances to block attacks (vastly reducing the number that cause damage) and quickly trains up the shield user skill, further increasing the effectiveness of those shields. There is an indirect limit on how many shields you can equip based on how the total weight of your adventurer's items affects your speed, but the tradeoff between wearing a dozen (or more) shields is well worth the minor reduction in speed.

And we'll throw the barrel/bag in for free

On embark buying things which are stored in barrels gets the barrel for free, with at most 10 items per barrel, so, for example, the 15 units of randomly chosen meat which come with the default supplies will get you two free barrels, one completely filled with 10 units of meat and one half filled with 5 units of meat; you get another two free barrels from the 15 units of randomly chosen fish. You can get rid of all of that food, then for the same cost select one unit each of meat from 30 different kinds of animals, giving you 30 free barrels instead of only 4, since each different kind of animal meat is put in its own barrel. Note that different types of meat from the same kind of animal goes into a single barrel, so choosing 1 yak brain + 1 yak eye + 1 yak spleen will get you only one free barrel instead of three.

The same thing goes for things stored in bags. Each unit of sand comes in its own bag, and since each unit of sand costs only 1 embark point while bags cost a minimum of 10 embark points each, you can get bags for ten times cheaper by buying sand, then dumping out the sand after embark.

Infinite Adamantine / Metals

Because one bar of metal produces 25 bolts and a single bolt can be melted to 0.1 bars of metal, you can create unlimited adamantine wafers in your fortress using a clever setup with marksdwarves to seperate the stacks of adamantine bolts into single bolts. See http://www.bay12forums.com/smf/index.php?topic=51423.0

This method is now obsolete with the new ability to split stacks when a trader arrives. You smelt a stack of coins, then trade it to a caravan. You can then buy the stack back in pieces, and each individual smaller stack will melt and produce .1 bars. One bar produces 500 coins, but splitting it into stacks of 1 coin each would create 500 melt jobs, producing 50 bars in return. The process is discussed in greater detail, both with and without use of macros here: http://www.bay12forums.com/smf/index.php?topic=111680.0 While potentially time consuming, this new method both results in far more bars produced per stack (potentially a net profit of 49 bars instead of 1.5), and can duplicate any metal, not just military ones while simultaneously training your broker. Combined with a magma smelter and properly written macros, this method turns a smelter into a free metal generator.

See the Melt item article for the best yields when melting down items made of mundane metals for the current version.

Quick trade goods

Since spiked balls have an extremely high base item value of 126, they can be produced en masse from cheap wood or other materials and sold off to unsuspecting merchants. This makes for quick cash in any fortress that has a skilled carpenter and an excess of wood on hand.

Silk farm

Main article: Giant cave spider

A silk farm can serve as a safe and endless source of expensive web from giant cave spiders. Its essence is a room with a goblin-soldier, separated from a giant cave spider with fortifications. The spider will attempt to kill the goblin, and now and then shoots his infinite web, which flies through the fortifications. Dwarves can collect the cobwebs and sell it, or create expensive clothes and yarn.