<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SquirrelFarmer</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SquirrelFarmer"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/SquirrelFarmer"/>
	<updated>2026-04-11T11:42:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=33082</id>
		<title>Utility:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=33082"/>
		<updated>2008-08-19T14:39:19Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: updated compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Utilities]]&lt;br /&gt;
[[Image:dfcompanion1.png|thumb|This is a preliminary screenshot of the prototype.]]&lt;br /&gt;
= What? =&lt;br /&gt;
&lt;br /&gt;
This project is about having a helper utility for dwarf fortress, hopefully filling gaps in the user interface. It will also allow some cool cheating, so that it would be possible to play with the engine. For example, you can now mark your nobles as butcherable! Ain't that cool?&lt;br /&gt;
&lt;br /&gt;
For now, a '''PROTOTYPE''' utility is available, for testings. It uses python and requires many dependencies. It will end up as a standard .exe tool once features are ironed out.&lt;br /&gt;
&lt;br /&gt;
It supports versions 33d and later. The latest screenshot is at [http://bartabox.banquise.net/df/screen1.png this place].&lt;br /&gt;
&lt;br /&gt;
= Important warning =&lt;br /&gt;
When fiddling with DF memory, you might get crashes. Here are two important advices:&lt;br /&gt;
* when writing into memory (like updating a creature's data), pause the game, load the data, update it, save it and then unpause the game&lt;br /&gt;
* do not teleport creatures that are hauling&lt;br /&gt;
&lt;br /&gt;
= How =&lt;br /&gt;
You need to install several things first.&lt;br /&gt;
&lt;br /&gt;
* [http://www.python.org/download/ Python] (works with any version, 2.5 is prefered)&lt;br /&gt;
* from [http://sourceforge.net/project/showfiles.php?group_id=98754 this page], the latest &amp;quot;Gtk+/Win32 Runtime Environment Installer&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* For python 2.5 users, just grab the utility at [http://bartabox.banquise.net/df/companion-0.8-python25.zip this place], and unzip it (warning, this is an old version).&lt;br /&gt;
* For users of the -any versions, or python 2.4 users, you must:&lt;br /&gt;
** Install the three modules from [http://www.pygtk.org/downloads.html this page] (PyCairo, PyGObject, PyGTK)&lt;br /&gt;
** Grab the software at [http://bartabox.banquise.net/df/companion-0.13-any.zip this place].&lt;br /&gt;
&lt;br /&gt;
* Double click on &amp;quot;dfcompanion_prototype.py&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
An installer that contains all needed modules can be found here:&lt;br /&gt;
http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html&lt;br /&gt;
&lt;br /&gt;
= Problems? =&lt;br /&gt;
Please run the tool from the command line if you experience problems, and copy/paste errors in the discussion page.&lt;br /&gt;
&lt;br /&gt;
The unit list often gets desynchronised (multiple dwarves appearing). To solve this, just press &amp;quot;refresh&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Usage - what can you do? =&lt;br /&gt;
First run Dwarf Fortress, and load your game. It won't work otherwise.&lt;br /&gt;
&lt;br /&gt;
The general idea is to have the main window open next to your DF windows. It should help you play the game by providing useful hints while playing. Order dwarves using the column &amp;quot;alerts&amp;quot; so that most important stuff is on top : hungry, unhappy, moody, hurt dwarves. You can play with creatures and view detailled views of their attributes by double clicking them. Right now, you can interact by:&lt;br /&gt;
* clicking &amp;quot;heal&amp;quot;, heals creature&lt;br /&gt;
* clicking &amp;quot;hurt&amp;quot;, hurts creature&lt;br /&gt;
* clicking &amp;quot;apply&amp;quot;, saves the following changes:&lt;br /&gt;
** position X,Y,Z&lt;br /&gt;
** strength, agility, toughness&lt;br /&gt;
** all flags (the checkbox stuff), most being unknown, please let us know about their use if you get it!&lt;br /&gt;
** pain, exhaustion, hunger, thirst, drowsiness&lt;br /&gt;
** race (still needs to be tested!)&lt;br /&gt;
** mood type (fey, macabre, ...), and mood skill increased&lt;br /&gt;
&lt;br /&gt;
Interesting effects are [http://mkv25.net/dfma/movie-236-lazydwarvesmustdie butcherable dwarves] and [http://img184.imageshack.us/img184/7919/straydognz6.jpg Corbine's crazy dogs]. Oh, and skeletal legendary miners that turn against your fortress.&lt;br /&gt;
&lt;br /&gt;
= dwarfdbg scripts =&lt;br /&gt;
Here is a collection of scripts that wouldn't fit in DC but might be useful. Copy them in the DC folder and run them.&lt;br /&gt;
* [http://bartabox.banquise.net/df/butchercats.py butchercats.py] : marks all &amp;quot;unintersted&amp;quot; cats and kitten as ready for slaughter.&lt;br /&gt;
* Soon, the &amp;quot;designator&amp;quot;, with a list of cool stuff : [[User:Bartavelle/DesignatorTiles]]&lt;br /&gt;
&lt;br /&gt;
= Changelog =&lt;br /&gt;
* utils.zip : initial test, some bugs with accents&lt;br /&gt;
* utils.0.1.zip : corrected problem with bad characters&lt;br /&gt;
* utils.0.2.zip : corrected problem with long strings&lt;br /&gt;
* utils.0.3.zip : corrected problem with creatures not in legends&lt;br /&gt;
* utils.0.4.zip : quick (untested) upgrade to v0.27.169.33g&lt;br /&gt;
* companion.0.5-any.zip - 07/01/2008&lt;br /&gt;
** Skill edition&lt;br /&gt;
** Removed the dependency on pydbg, should now work with python 2.x&lt;br /&gt;
** Incomplete linux support, for those people who go on holiday with only their linux laptops ...&lt;br /&gt;
** More details in the flags names&lt;br /&gt;
** Disabled the regular refreshes for now&lt;br /&gt;
** Body part name is resolved when showing damages&lt;br /&gt;
** Right-click popup with quick features : heal, hurt, tame, make war animal, rest and restore&lt;br /&gt;
** Civilization altering (steal that merchant swordsman!)&lt;br /&gt;
* companion.0.6-any.zip - 22/01/2008&lt;br /&gt;
** Better error handling for Window users, should help debugging ...&lt;br /&gt;
** Firstname and nickname editor (finally)&lt;br /&gt;
** Money warnings, and money cheat&lt;br /&gt;
** Combat reports in DF mode&lt;br /&gt;
** Bleeding/Paralysis/ ... can be tweaked&lt;br /&gt;
** &amp;quot;Opinion poll&amp;quot;&lt;br /&gt;
** More details&lt;br /&gt;
** Instamood!&lt;br /&gt;
* companion.0.7-any.zip - 07/02/2008&lt;br /&gt;
** Couples list&lt;br /&gt;
** Name editor&lt;br /&gt;
** Right click / zoom now works&lt;br /&gt;
** Support for 38a&lt;br /&gt;
* companion.0.8-any.zip - 13/02/2008&lt;br /&gt;
** Removal of the couple list, should hopefully fix bugs&lt;br /&gt;
** Several scripts for more fun&lt;br /&gt;
** Better support for stuff&lt;br /&gt;
** Should be &amp;quot;final&amp;quot; of the prototype, next step will probably involve working on a standalone .exe, and the occasionnal fun script&lt;br /&gt;
* companion.0.9-any.zip - 18/02/2008&lt;br /&gt;
** Quick update to fix for the new DF version.&lt;br /&gt;
* companion.0.9-any.zip - 26/02/2008&lt;br /&gt;
** Another quick fix for 38b&lt;br /&gt;
* companion.0.12-any.zip - 18/07/2008&lt;br /&gt;
** tons of changes, this specific version just keeps up with DF&lt;br /&gt;
* companion.0.13-any.zip - 18/08/2008&lt;br /&gt;
** compatibility with 39f, should not work with previous versions&lt;br /&gt;
** zoom feature is disabled, because of UI changes&lt;br /&gt;
** added bugged slow reveal script :)&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
* the memory hackers!&lt;br /&gt;
* Phil, for the clever python tricks&lt;br /&gt;
* Corbine, for early testings, bug discovery, and flags discovery&lt;br /&gt;
* sinoth, for early testings, bug discovery&lt;br /&gt;
&lt;br /&gt;
[[Category:Hacking]]&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=33080</id>
		<title>Utility:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility:Dwarf_Companion&amp;diff=33080"/>
		<updated>2008-08-14T12:06:35Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: /* What? */ - updated versions supported&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Utilities]]&lt;br /&gt;
[[Image:dfcompanion1.png|thumb|This is a preliminary screenshot of the prototype.]]&lt;br /&gt;
= What? =&lt;br /&gt;
&lt;br /&gt;
This project is about having a helper utility for dwarf fortress, hopefully filling gaps in the user interface. It will also allow some cool cheating, so that it would be possible to play with the engine. For example, you can now mark your nobles as butcherable! Ain't that cool?&lt;br /&gt;
&lt;br /&gt;
For now, a '''PROTOTYPE''' utility is available, for testings. It uses python and requires many dependencies. It will end up as a standard .exe tool once features are ironed out.&lt;br /&gt;
&lt;br /&gt;
It supports versions 33d through 39e but not 39f. The latest screenshot is at [http://bartabox.banquise.net/df/screen1.png this place].&lt;br /&gt;
&lt;br /&gt;
= Important warning =&lt;br /&gt;
When fiddling with DF memory, you might get crashes. Here are two important advices:&lt;br /&gt;
* when writing into memory (like updating a creature's data), pause the game, load the data, update it, save it and then unpause the game&lt;br /&gt;
* do not teleport creatures that are hauling&lt;br /&gt;
&lt;br /&gt;
= How =&lt;br /&gt;
You need to install several things first.&lt;br /&gt;
&lt;br /&gt;
* [http://www.python.org/download/ Python] (works with any version, 2.5 is prefered)&lt;br /&gt;
* from [http://sourceforge.net/project/showfiles.php?group_id=98754 this page], the latest &amp;quot;Gtk+/Win32 Runtime Environment Installer&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* For python 2.5 users, just grab the utility at [http://bartabox.banquise.net/df/companion-0.8-python25.zip this place], and unzip it (warning, this is an old version).&lt;br /&gt;
* For users of the -any versions, or python 2.4 users, you must:&lt;br /&gt;
** Install the three modules from [http://www.pygtk.org/downloads.html this page] (PyCairo, PyGObject, PyGTK)&lt;br /&gt;
** Grab the software at [http://bartabox.banquise.net/df/companion-0.12-any.zip this place].&lt;br /&gt;
&lt;br /&gt;
* Double click on &amp;quot;dfcompanion_prototype.py&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
An installer that contains all needed modules can be found here:&lt;br /&gt;
http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html&lt;br /&gt;
&lt;br /&gt;
= Problems? =&lt;br /&gt;
Please run the tool from the command line if you experience problems, and copy/paste errors in the discussion page.&lt;br /&gt;
&lt;br /&gt;
The unit list often gets desynchronised (multiple dwarves appearing). To solve this, just press &amp;quot;refresh&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Usage - what can you do? =&lt;br /&gt;
First run Dwarf Fortress, and load your game. It won't work otherwise.&lt;br /&gt;
&lt;br /&gt;
The general idea is to have the main window open next to your DF windows. It should help you play the game by providing useful hints while playing. Order dwarves using the column &amp;quot;alerts&amp;quot; so that most important stuff is on top : hungry, unhappy, moody, hurt dwarves. You can play with creatures and view detailled views of their attributes by double clicking them. Right now, you can interact by:&lt;br /&gt;
* clicking &amp;quot;heal&amp;quot;, heals creature&lt;br /&gt;
* clicking &amp;quot;hurt&amp;quot;, hurts creature&lt;br /&gt;
* clicking &amp;quot;apply&amp;quot;, saves the following changes:&lt;br /&gt;
** position X,Y,Z&lt;br /&gt;
** strength, agility, toughness&lt;br /&gt;
** all flags (the checkbox stuff), most being unknown, please let us know about their use if you get it!&lt;br /&gt;
** pain, exhaustion, hunger, thirst, drowsiness&lt;br /&gt;
** race (still needs to be tested!)&lt;br /&gt;
** mood type (fey, macabre, ...), and mood skill increased&lt;br /&gt;
&lt;br /&gt;
Interesting effects are [http://mkv25.net/dfma/movie-236-lazydwarvesmustdie butcherable dwarves] and [http://img184.imageshack.us/img184/7919/straydognz6.jpg Corbine's crazy dogs]. Oh, and skeletal legendary miners that turn against your fortress.&lt;br /&gt;
&lt;br /&gt;
= dwarfdbg scripts =&lt;br /&gt;
Here is a collection of scripts that wouldn't fit in DC but might be useful. Copy them in the DC folder and run them.&lt;br /&gt;
* [http://bartabox.banquise.net/df/butchercats.py butchercats.py] : marks all &amp;quot;unintersted&amp;quot; cats and kitten as ready for slaughter.&lt;br /&gt;
* Soon, the &amp;quot;designator&amp;quot;, with a list of cool stuff : [[User:Bartavelle/DesignatorTiles]]&lt;br /&gt;
&lt;br /&gt;
= Changelog =&lt;br /&gt;
* utils.zip : initial test, some bugs with accents&lt;br /&gt;
* utils.0.1.zip : corrected problem with bad characters&lt;br /&gt;
* utils.0.2.zip : corrected problem with long strings&lt;br /&gt;
* utils.0.3.zip : corrected problem with creatures not in legends&lt;br /&gt;
* utils.0.4.zip : quick (untested) upgrade to v0.27.169.33g&lt;br /&gt;
* companion.0.5-any.zip - 07/01/2008&lt;br /&gt;
** Skill edition&lt;br /&gt;
** Removed the dependency on pydbg, should now work with python 2.x&lt;br /&gt;
** Incomplete linux support, for those people who go on holiday with only their linux laptops ...&lt;br /&gt;
** More details in the flags names&lt;br /&gt;
** Disabled the regular refreshes for now&lt;br /&gt;
** Body part name is resolved when showing damages&lt;br /&gt;
** Right-click popup with quick features : heal, hurt, tame, make war animal, rest and restore&lt;br /&gt;
** Civilization altering (steal that merchant swordsman!)&lt;br /&gt;
* companion.0.6-any.zip - 22/01/2008&lt;br /&gt;
** Better error handling for Window users, should help debugging ...&lt;br /&gt;
** Firstname and nickname editor (finally)&lt;br /&gt;
** Money warnings, and money cheat&lt;br /&gt;
** Combat reports in DF mode&lt;br /&gt;
** Bleeding/Paralysis/ ... can be tweaked&lt;br /&gt;
** &amp;quot;Opinion poll&amp;quot;&lt;br /&gt;
** More details&lt;br /&gt;
** Instamood!&lt;br /&gt;
* companion.0.7-any.zip - 07/02/2008&lt;br /&gt;
** Couples list&lt;br /&gt;
** Name editor&lt;br /&gt;
** Right click / zoom now works&lt;br /&gt;
** Support for 38a&lt;br /&gt;
* companion.0.8-any.zip - 13/02/2008&lt;br /&gt;
** Removal of the couple list, should hopefully fix bugs&lt;br /&gt;
** Several scripts for more fun&lt;br /&gt;
** Better support for stuff&lt;br /&gt;
** Should be &amp;quot;final&amp;quot; of the prototype, next step will probably involve working on a standalone .exe, and the occasionnal fun script&lt;br /&gt;
* companion.0.9-any.zip - 18/02/2008&lt;br /&gt;
** Quick update to fix for the new DF version.&lt;br /&gt;
* companion.0.9-any.zip - 26/02/2008&lt;br /&gt;
** Another quick fix for 38b&lt;br /&gt;
* companion.0.12-any.zip - 18/07/2008&lt;br /&gt;
** tons of changes, this specific version just keeps up with DF&lt;br /&gt;
&lt;br /&gt;
= thanks =&lt;br /&gt;
* the memory hackers!&lt;br /&gt;
* Phil, for the clever python tricks&lt;br /&gt;
* Corbine, for early testings, bug discovery, and flags discovery&lt;br /&gt;
* sinoth, for early testings, bug discovery&lt;br /&gt;
&lt;br /&gt;
[[Category:Hacking]]&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33276</id>
		<title>Utility Talk:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33276"/>
		<updated>2008-08-14T10:16:20Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: /* .39f Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Things I've noticed with tinkering around in 33g.&lt;br /&gt;
*&amp;quot;invade?&amp;quot; tag toggles prone position for the target.&lt;br /&gt;
*0x1.7(4th row) places and removes the target from the royal guard.&lt;br /&gt;
*0x2.7(4th row) places and removes the target from the fortress guard.&lt;br /&gt;
*0x4000 second row seems to dictate if the creature has a job or place to go to. Turning it off seems to do nothing, it just turns right back on again, unless the creature is moved in the process of applying.&lt;br /&gt;
*0x84, 0x800 and 0x4.5(7th row) make the dwarf friendly oriented instead of a fortress-dweller, much like a merchant.&lt;br /&gt;
*0x8 Is only present on dwarves legendary through making an artifact. It could be what keeps them from having another mood.&lt;br /&gt;
*0x2000 and 0x2.7(last row) seem to be related to lung-related injuries. Both make a &amp;quot;winded&amp;quot; effect appear on the dwarf. 0x2.7 seems to wear off after a short time.&lt;br /&gt;
*0x100(2nd row) does something peculiar. It removes the dwarf from the unit list, and then the dwarf just completely vanishes. Several tags are reset and the dwarf, for all purposes, seems to no longer exist. So far nothing I can find will bring the dwarf back, and several tags used on the dwarf will cause DF to lock up.&lt;br /&gt;
*0x400 makes the target invisible to the unit list only, does not seem to have any adverse effects.&lt;br /&gt;
*0x8.5(7th row) makes the unit a &amp;quot;visitor&amp;quot; on the unit list. Behaves friendly, not sure what it does otherwise.&lt;br /&gt;
&lt;br /&gt;
Some interesting notes too. Setting a dwarf to hostile, waiting until a nearby soldier is charging to attack, then making them friendly again causes something really interesting. The soldier will kill the now-friendly dwarf, and then that soldier will become a target to all nearby soldiers, despite still being controllable and interactable.&lt;br /&gt;
Also, that &amp;quot;staring off into the distance&amp;quot; mood is interesting. I want to see it in action but I can't find a way to actually trigger the mood to act. [[User:Lightning4|Lightning4]] 09:23, 27 December 2007 (EST)&lt;br /&gt;
:Thanks for this update! I'll include them in the next revision. AFAIK 0x8 triggers the &amp;quot;creator of&amp;quot; text, and works on any dwarf. It's quite possible to trigger a mood, i'll try soon triggering an artifical mood. [[User:Bartavelle|Bartavelle]] 11:54, 27 December        2007 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hey. It seems that when I give a dwarf a mood, he goes to the meeting area and does nothing. Also, when I change a dwarves mood to NONE, I get an error and the game crashes. [[User:Zonhin|Zonhin]] 21:12, 20 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature requests! ==&lt;br /&gt;
&lt;br /&gt;
You suggested we put feature requests in the wiki discussion page, so here they are!&lt;br /&gt;
* From sphir: &amp;quot;Any plans on map-related modules? e.g.&lt;br /&gt;
**one button designate cut tree after recording the regions.&lt;br /&gt;
:: I do not get this one? What is exactly suggested? Designate ALL trees at once? [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
**additional &amp;quot;bookmarks&amp;quot;, jump to creature (esp dead creatures, which cannot be done in game)&lt;br /&gt;
:: I'll add that soon, as it doesn't seem too hard [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
**add foreman.exe-like macro job management by profession?&amp;quot;&lt;br /&gt;
:: This is planned too [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
* and mine: &amp;quot;alert me when my hunters run out of bolts so I can draft them to reset their job state and get them to pick up a fresh batch of ammo. It's such a hassle to have to constantly watch hunters just so they don't do something dumb like put their head inside a cougar's mouth. Or even a way to look at the items in a dwarf's inventory would be lovely.&amp;quot;&lt;br /&gt;
: This one could be a bit tricky, as inventory is not reversed yet, and i haven't been looking at it, so i have no clue on how hard it is [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
I guess others should just add their requests below. Awesome application, thanks Bartavelle! [[User:Chrominance|Chrominance]] 20:06, 27 December 2007 (EST)&lt;br /&gt;
:How about the ability to change what the dwarf likes and hates? Just so my Mayor won't mandate the construction of adamantine items.  --[[User:Corbine|Corbine]] 08:01, 28 December 2007 (EST)&lt;br /&gt;
::Likes and recent &amp;quot;events&amp;quot; are next on my list of stuff to reverse. I would especially like to display a summary of all &amp;quot;bad mood stuff&amp;quot; that recently happened to dwarves. [[User:Bartavelle|Bartavelle]] 11:14, 28 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:Ability to see which item a particular dwarf is tasking to haul and zoom to it?  Ability to zoom to items in general would also be great (the game seems to want to support this, as it has the 'zoom to' option on the bottom in say, the inventory screen, but you can't actually zoom to anything from the inventory page as far as I can tell). --[[User:Squirrelloid|Squirrelloid]] 01:11, 23 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
If you happen to see this before the thread on the forums, I posted the bug I'm getting 50% of the time while traveling in adventure mode with the new version of DC in [38a].&lt;br /&gt;
--[[User:KaelGotRice|KaelGotRice]] 10:26, 10 February 2008&lt;br /&gt;
&lt;br /&gt;
Occasionally when you heal/hurt or modify something of a dwarf or creature, the exhaustion amount will be maxed out, causing the target to pass out for QUITE awhile.  --[[User:Corbine|Corbine]] 08:15, 28 December 2007 (EST)&lt;br /&gt;
:That's what's making them do that? Aha! --[[User:Penguinofhonor|Penguinofhonor]] 18:55, 3 February 2008 (EST)&lt;br /&gt;
::Just check the exaustion field to make sure it's 0 or something low, as opposed to the 65535 that it will ocassionally fill in with. Not sure what causes it to go for max value instead of the minimum. --[[User:N9103|Edward]] 19:33, 3 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Getting an error when trying to start program. It couldn't get the DLLs at first so I just copied them into the folder, which seemed to work, but now it gives this:&lt;br /&gt;
http://80.60.190.55/pics/dfcbug.jpg&lt;br /&gt;
It closes (or crashes) the dwarf fortress application in the process, no error messages pop up.&lt;br /&gt;
:thanks for the info, i'm trying right now to reduce the number of required components, so it should be better soon ... [[User:Bartavelle|Bartavelle]] 18:10, 1 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
When I first tried to use DF Companion, it gave me an error message that stated Libglib-2.0-0.dll was missing. So I went and downloaded it, put it in the right place. Then it said I needed iconv.dll, so I went and downloaded it. Then it made me get intl.dll. Now, it's saying &amp;quot;The procedure entry point g_Assert_Warning could not be located in the dynamic link library libglib-2.0-0.dll&amp;quot;--[[User:Demosthenes|Demosthenes]] 17:22, 19 February 2008 (EST)&lt;br /&gt;
: It sounds like you did not install the latest &amp;quot;gtk runtime environment&amp;quot; [[User:Bartavelle|Bartavelle]] 01:34, 20 February 2008 (EST)&lt;br /&gt;
:: I did. D= Several times.--[[User:Demosthenes|Demosthenes]] 19:24, 20 February 2008 (EST)&lt;br /&gt;
::: Then I have no clue :( [[User:Bartavelle|Bartavelle]] 01:46, 21 February 2008 (EST)&lt;br /&gt;
::: When I run it with the command line, it gives this. http://img301.imageshack.us/img301/5550/errorao1.jpg --[[User:Demosthenes|Demosthenes]] 21:03, 28 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 0x4000 ==&lt;br /&gt;
&lt;br /&gt;
0x4000 is nauseous. [[User:Nate879|Nate879]] 19:10, 10 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Better give it some Compazine, then.  *rimshot*--[[User:Maximus|Maximus]] 23:21, 10 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How exactly do I run this?==&lt;br /&gt;
What do I run here? The .glade file? Because if I open that, it gets me a tiny window with 2 things I can choose, skilledit and creatureedit. If I choose them, they are completely blank. I've tried cmd.exe but I get the same thing. --[[User:Penguinofhonor|Penguinofhonor]] 21:23, 21 January 2008 (EST)&lt;br /&gt;
: you should run dfcomapnion_prototype.py, as stated in the main page!&lt;br /&gt;
:: Hey, he added that because of this question, okay? --[[User:Penguinofhonor|Penguinofhonor]] 17:48, 27 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Unable to run on win2000===&lt;br /&gt;
I'm still using win2000, and I'm unable to run the program, it gives an error requesting the instruction GetProcessImageFileNameA, which is only available on XP and Server2003.&lt;br /&gt;
: Ok i'm gonna try to find an alternative ASAP [[User:Bartavelle|Bartavelle]] 07:35, 28 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Tracebacks for version .7==&lt;br /&gt;
&lt;br /&gt;
F:\Python25\GTK&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
version v0.27.169.88a, pid 3676, player 0&lt;br /&gt;
0 words loaded&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfcompanion_prototype.py&amp;quot;, line 390, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfcompanion_prototype.py&amp;quot;, line 336, in __init__&lt;br /&gt;
    self.dd = dwarfdbg()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 92, in __init__&lt;br /&gt;
    self.getWords()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 208, in getWords&lt;br /&gt;
    lptr = self.getLong(vec2[1]+race*4)&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 104, in getLong&lt;br /&gt;
    return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
    raise WinError()&lt;br /&gt;
WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory&lt;br /&gt;
 request was completed.&lt;br /&gt;
&lt;br /&gt;
:you must load your game [[User:Bartavelle|Bartavelle]] 10:45, 7 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Terrain Replication==&lt;br /&gt;
You stated on the forums that you would/could make a script that would allow a person to copy the information from a tile and replicate it elsewhere, and then in Nist Akath, Captain Mayday claimed that he used said script. Where is this? It's useful-sounding. --[[User:Penguinofhonor|Penguinofhonor]] 19:45, 10 February 2008 (EST)&lt;br /&gt;
: Try the secret link [http://bartabox.banquise.net/df/companion-0.8-any.zip here], but i will replace this file as soon as I &amp;quot;officially&amp;quot; release it. [[User:Bartavelle|Bartavelle]] 01:49, 11 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dwarf Companion - Cheating Fun in Adventure Mode! ==&lt;br /&gt;
&lt;br /&gt;
I was tinkering about with the Dwarf Companion program earlier today, when a thought came to my mind. &amp;quot;What if you could do stuff with this program in Adventure mode?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Well, it turns out that you can. By turning on the program and hitting the &amp;quot;All Creatures&amp;quot; box, you can access any loaded creature as well as your own adventurer. By doing this, you can make him as strong and legendary as you want, and effectively kill anything within the sector. You can also change your character into any creature in the game, including demons, goblins, etc. (NOTE: 'Shapeshifting' like this renders the tile where you changed un-passable, and you tend to teleport when you do so. Also, when I changed into a dragon, the game crashed.) Moods are also able to toggle, though I've only tested them upon my own adventurer. Going beserk in a human town triggered the mayor to start attacking me, but when I turned it off, he became friendly once again.&lt;br /&gt;
&lt;br /&gt;
Here's a movie of some of my exploits with a fresh adventurer dwarf: http://mkv25.net/dfma/movie-348-dwarfcompanioninadventuremode17338a&lt;br /&gt;
&lt;br /&gt;
I hope this strikes as interesting / useful for the future!&lt;br /&gt;
&lt;br /&gt;
== Won't Run ==&lt;br /&gt;
Just recently had a little... accident at my fortress and I wanted to rectify it, since it was just a result of my own stupidity. Squashed some poor bastard with a drawbridge. Unfortunately trying to run Companion results in this:&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 5740, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 814, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 480, in getCreature&lt;br /&gt;
      c.events = self.getEvents(c)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 154, in getEvents&lt;br /&gt;
      events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 212&lt;br /&gt;
[[User:Lightning4|Lightning4]] 19:23, 23 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Update: I've tested again with the new version, as well as tried another fortress. The initial fortress I tried it on still fails to run with the same error. However, another, older fortress works just fine.[[User:Lightning4|Lightning4]] 14:04, 26 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
::Issue resolved. A fix was provided for this error at the bottom of the page. [[User:Lightning4|Lightning4]] 13:10, 9 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== 176.38a not work ==&lt;br /&gt;
D:\games\1non company made\dwarf\utility\companion 0.10&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 5352, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 446, in fresh getCreature&lt;br /&gt;
      slist = self.getSkills(c)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 328, in getSkills&lt;br /&gt;
      skptr = self.getLong(skillptr)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 125, in getLong&lt;br /&gt;
      return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
      raise WinError()&lt;br /&gt;
  WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
Yes I am in dwarf fortunse mode and I have vista and I in new fortuness that generated on new map. [[User:Omagaalpha|Omagaalpha]] 12:14, 27 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 176.38b not running ==&lt;br /&gt;
&lt;br /&gt;
Using version 0.9-any with Python 2.5 and all modules installed. Works fine in 176.38a, as shown:&lt;br /&gt;
&lt;br /&gt;
  C:\Spill\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
  version generic version, pid 2828, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
&lt;br /&gt;
When trying to run in 176.38b I get:&lt;br /&gt;
&lt;br /&gt;
  C:\Spill\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
  version generic version, pid 544, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
    self.initList()&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
    list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 814, in getCreatures&lt;br /&gt;
    col = self.getCreature(c)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 446, in getCreature&lt;br /&gt;
    bpname = self.getBodyPart(c, i)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 322, in getBodyPart&lt;br /&gt;
    bpv = self.getVec(c.bpNames)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 119, in getVec&lt;br /&gt;
    return struct.unpack(&amp;quot;LLLL&amp;quot;, self.dbg.read(ptr, 16))&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
    raise WinError()&lt;br /&gt;
  WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another problem from someone else:&lt;br /&gt;
&lt;br /&gt;
Err, nevermind; was using 0.8 version of companion; my bad.  I get the same as above with 0.9.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 23:11, 24 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Version 0.10-any ==&lt;br /&gt;
&lt;br /&gt;
Companion 0.10-any works with 176.38c for me. However, I had to copy the &amp;quot;pygtk&amp;quot; subdirectory of an older version (0.8-python25) into the 0.10 installation and run dfcompanion_prototype.py from the command line. Just the thing to cope with those ambushes (they're a bit overpowered, don't you think?) Zombie frogmen! MUHAHAHAHAHA!!! [[User:RP|RP]] 07:32, 28 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 176.38b stopped working ==&lt;br /&gt;
&lt;br /&gt;
The companion used to work for me in 176.38b but at some point it stopped working (after a few goblin ambushes).  Here's what it does:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 2732, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 502, in getCreature&lt;br /&gt;
      c.events = self.getEvents(c)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 170, in getEvents&lt;br /&gt;
      events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 214&lt;br /&gt;
&lt;br /&gt;
I don't know much about the internal structure of the companion, but couldn't you use eventName.get(p, &amp;quot;Unknown&amp;quot;) as a failsafe to stop these from happening?  That way new events wouldn't break everything.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 13:26, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Actually, I just made this modification and another error popped up immediately after:&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 2732, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 837, in getCreatures&lt;br /&gt;
      self.eventList[ event[0] ][1] += 50/event[2]&lt;br /&gt;
  IndexError: list index out of range&lt;br /&gt;
&lt;br /&gt;
I managed to make the error go away, but it's a total hack, since I don't know the structure of companion.&lt;br /&gt;
&lt;br /&gt;
I changed lines 820-822, which are:&lt;br /&gt;
&lt;br /&gt;
  self.eventList = range(212)&lt;br /&gt;
      for i in range(212):&lt;br /&gt;
      self.eventList[i] = [i,0,[],eventName[i]]&lt;br /&gt;
&lt;br /&gt;
Into this:&lt;br /&gt;
&lt;br /&gt;
  self.eventList = [[i,0,[],eventName.get(i, &amp;quot;??&amp;quot;)]&lt;br /&gt;
                    for i in xrange(215)]&lt;br /&gt;
&lt;br /&gt;
The companion appears to work now for me, but as I said, it's a total hack.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 13:39, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Error ocurring (something with gdk and cairo and a .dll) ==&lt;br /&gt;
&lt;br /&gt;
After installing python (2.5.2 - also tried 2.5.1 and 2.4.something) the gdk runtime environment (2.8.20) &amp;lt;br /&amp;gt;&lt;br /&gt;
and those 3 packets (pygobject-2.12.3-1; pycairo-1.2.6-1; pygtk-2.10.6-1 - these 3 arent necessary for the reproduktion fo the error)&lt;br /&gt;
&lt;br /&gt;
starting the &amp;quot;dfcompanion_prototype.py&amp;quot; from the any or the py2.5 package returns the following error:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Der Prozedureinsprungpunkt &amp;quot;gdk_cairo_set_source_pixmap&amp;quot; wurde in der DLL &amp;quot;libgdk-win32-2.0-0.dll&amp;quot; nicht gefunden&amp;quot;&lt;br /&gt;
read:&amp;quot;could't find the routine entry point [...] in the dll[...]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
downloading a .dll from the net changes the error slightly,&lt;br /&gt;
now &amp;quot;gdk_cairo_create&amp;quot; is missing instead of &amp;quot;gdk_cairo_set_source_pixmap&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-since i've absolutely no clue what he actually wants, i hope someone can solute this X_x&lt;br /&gt;
&lt;br /&gt;
Q&lt;br /&gt;
&lt;br /&gt;
:Valdemar put up a link to a exe version of companion on the forums for those of us who don't have the patience to fiddle around with python. It's in the DF companion thread near the end. [[User:VengefulDonut|VengefulDonut]] 18:02, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have the exact same problem as the one above me...&lt;br /&gt;
--[[User:AtomicTroop|AtomicTroop]] 12:52, 23 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::As do I! And I'm dying to make a legendary miner/mason/brewer/grower/weaponsmith/armorsmith/swordsdwarf/seige engineer/seige operator. Honestly, that would be awesome.&lt;br /&gt;
&lt;br /&gt;
And in case your computer speaks in English, the error is this:&lt;br /&gt;
&lt;br /&gt;
The procedure entry point gdk_cairo_set_source_pixmap could not be located in the dynamic link library libgdk-win32-2.0-0.dll.&lt;br /&gt;
&lt;br /&gt;
So, if you could could please explain how we can fix this, that would be great because your program looks awesome.--[[User:Smoking Gnu|Smoking Gnu]] 00:59, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem is the link telling you to download GTK is broken, it has you download version 2.8.20 when you need 2.10.11. Go here: http://sourceforge.net/project/showfiles.php?group_id=98754&amp;amp;package_id=121281 and get the right version. --[[User:xzzy|xzzy]]&lt;br /&gt;
&lt;br /&gt;
== Import Error: No module named ctypes - 0.8 and 1.0  ==&lt;br /&gt;
&lt;br /&gt;
Err, just tried upgrading to the newer version of companion, and can't get it to work. I'm using the latest version of DF (incompatable?). Doesn't look like a DF problem though. I installed all of the modules, I think I'm using python version 2.4. I'll be on IRC in #bay12games if you want to try get hold of me... --[[User:Markavian|Markavian]]&lt;br /&gt;
:You must have the 2.5 version. ctypes is a module that is only in Python 2.5. You should either upgrade Python to 2.5 or download the [http://bartabox.banquise.net/df/companion-0.10-any.zip -any version]. (0.10 works fine for me in the latest DF version and I have 2.4 too)--[[User:Valdemar|Valdemar]] 20:39, 15 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== DwarfCompanion Fails to load (inexplicably) 0.10 ==&lt;br /&gt;
I've been able to run DwarfCompanion just fine for a week or so now.  However, starting tonight with a fort that has been able to be modified before, I now get this as the error that displays-&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 1960, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
    self.initList()&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
    list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
    col = self.getCreature(c)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 502, in getCreature&lt;br /&gt;
    c.events = self.getEvents(c)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 170, in getEvents&lt;br /&gt;
    events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 213&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is an error due to lack of sanity checking on the events list.  Put this in instead of events.append( [p, eventName[p], id] )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                        try:&lt;br /&gt;
                                events.append( [p, eventName[p], id] )&lt;br /&gt;
                        except KeyError:&lt;br /&gt;
                                print &amp;quot;No such event %s known&amp;quot; % p&lt;br /&gt;
&lt;br /&gt;
[[User:Qmarx|Qmarx]] 20:36, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::Bingo. This fixed my problem as well. Thanks! [[User:Lightning4|Lightning4]] 13:09, 9 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Easy Python/PyGTK installer ==&lt;br /&gt;
&lt;br /&gt;
I was having some trouble getting all the Python dependencies to work properly together, but after some research I found a nice all-in-one PyGTK installer that works perfectly with companion 0.10. http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html Hope this helps!&lt;br /&gt;
&lt;br /&gt;
== Error -- entry point g_timeout_add_seconds_full ==&lt;br /&gt;
&lt;br /&gt;
The procedure entry point g_timeout_add_seconds_full could not be located in the dynamic link library libglib-2.0-0.dll&lt;br /&gt;
&lt;br /&gt;
I installed these modules&lt;br /&gt;
&lt;br /&gt;
    *  Python (works with any version, 2.5 is prefered)&lt;br /&gt;
    *  &amp;quot;Gtk+/Win32 Runtime Environment Installer&amp;quot;&lt;br /&gt;
    * For python 2.5 users, just grab the utility at this place.&lt;br /&gt;
    * Install the three modules from this page (PyCairo, PyGObject, PyGTK) &lt;br /&gt;
&lt;br /&gt;
After trying to run it I received that erro.&lt;br /&gt;
&lt;br /&gt;
I also tried companion-0.11-any.zip and it didn't work.&lt;br /&gt;
&lt;br /&gt;
Edit: I uninstalled all the components and reinstalled with that all-in-one python installer and it works now.--[[User:Richards|Richards]] 15:46, 23 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Adding Additional Ingredients to Artifacts ==&lt;br /&gt;
A nifty little trick.  You have to micromanage a little, though.  Anyway, as soon as your moody dwarf has claimed a workshop, hopefully he'll leave to grab the first item.  As soon as he starts walking to get it, fire up companion and change the first required object.  The moody dwarf will complete the fetching duty for the original first item, then go to get the new first item.  Repeat until you have enough items stored in the workshop for your satisfaction, then let your poor moody dwarf finally collect everything he needs.  All of the collected items will be used as artifact components.[[User:QMarx|QMarx]] 10:24, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Feature request: custom wounds==&lt;br /&gt;
&lt;br /&gt;
It would be nice if we could directly edit the wound levels of creatures, instead of being forced to either heal them entirely or make them bleed to death.  Someone with a mangled leg could, for instance, be manually healed to a broken leg; this would allow us &amp;quot;strict&amp;quot; players to have mangled dwarves heal, until Toady corrects the &amp;quot;phantom pains&amp;quot; issue and allows mangled injuries to heal over to permanent debilitations. --[[User:JT|JT]] 18:22, 11 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Command Line? ==&lt;br /&gt;
&lt;br /&gt;
I have everything installed (2.5 and then the runtime) but Dwarf Companion crashes on me. How do I run it from a command line so I can see the errors? I'm on Media Center/XP. All I have time to read before it crashes is something about an invalid access to memory location.&lt;br /&gt;
&lt;br /&gt;
== Unable to run ==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to load it, it won't run, I ran the game and downloaded everything. This is all that happens:&lt;br /&gt;
&lt;br /&gt;
 version v0.27.169.88a, pid 2760, player 0&lt;br /&gt;
 0 words loaded&lt;br /&gt;
&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfcompanion_prototype.py&amp;quot;, line 390, in &amp;lt;module&amp;gt;&lt;br /&gt;
   DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfcompanion_prototype.py&amp;quot;, line 336, in __init__&lt;br /&gt;
   self.dd = dwarfdbg()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 102, in __init__&lt;br /&gt;
   self.getWords()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 218, in getWords&lt;br /&gt;
   kptr = self.getLong(vec2[1]+race*4)&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 114, in getLong&lt;br /&gt;
   return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
   raise WinError()&lt;br /&gt;
 WindowsError: [Error 998] Invalid access to memory location.&lt;br /&gt;
&lt;br /&gt;
--[[User:0todd0|0todd0]] 01:05, 27 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
It doesn't recognize your df version ... do you have debug privileges on the dwarf fortress process? Is it the latest version?&lt;br /&gt;
[[User:Bartavelle|Bartavelle]] 08:51, 27 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
yes, it's the latest version. What do you mean by &amp;quot;debug privileges?&amp;quot; --[[User:0todd0|0todd0]] 23:23, 3 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I had this exact error too, until I right-clicked on dfcompanion_prototype.py and went to &amp;quot;open with&amp;quot; to find two python options, the second one worked. Have you got python previously installed and if so can you try uninstalling all versions and re-installing the latest one again? This could be a stab in the dark however... --[[User:Mrchinchin25|Mrchinchin25]] 23:48, 3 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: I recently downloaded this: what's been said so far to fix this problem isn't doing anything at all. Again, what do you mean &amp;quot;debug privileges?&amp;quot; --[[User:Pseu|Pseu]] 19:35, 4 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::I was a moder for Elder Scrolls 4 and it required both python 2.4 and 2.5 to mod. Though t see if this would work, i uninstalled python 2.4 but it didn't, i'll try what you said Mrchinchin...  --[[User:0todd0|0todd0]] 20:32, 4 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::In regards to debug privileges in Win XP.  Start-&amp;gt;Control Panel-&amp;gt;Administrative Tools-&amp;gt;Local security Settings-&amp;gt;local policies-&amp;gt;user rights assignment-&amp;gt;debug programs (on the right pane)--[[User:kirk|kirk]] 11:58, 10 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::I'm having the same issue with DF 0.27.176.38c and the newest version of Companion (downloaded it today). Also, kirk's info above isn't useful to anyone who is using XP Home - Local Security Settings isn't there. --[[User:Tyranic-Moron|Tyranic-Moron]] 22:06, 14 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Moogie's Problem ==&lt;br /&gt;
&lt;br /&gt;
I'm getting this:&lt;br /&gt;
&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
   File &amp;quot;C:\Documents and Settings\Moogie\My Documents\Dwarven Fortress\companion&lt;br /&gt;
 \dfcompanion_prototype.py&amp;quot;, line 3, in &amp;lt;module&amp;gt;&lt;br /&gt;
    import gtk&lt;br /&gt;
 ImportError: No module named gtk&lt;br /&gt;
&lt;br /&gt;
I have Gtk 2.10.11-1 installed in the Companion folder. I have Python 2.5.1 installed from ages ago when I used to play Oblivion.&lt;br /&gt;
&lt;br /&gt;
Why isn't it seeing Gtk there?&lt;br /&gt;
&lt;br /&gt;
Wow, I have no idea what I'm doing. The above comment is from me (Moogie). I don't know how to add a title or anything, sorry.&lt;br /&gt;
&lt;br /&gt;
: Don't worry, I'm sure you'll get it eventually. I've shifted your error into it's own section anyway, hopefully it's more noticeable this way. --[[User:Tyranic-Moron|Tyranic-Moron]] 18:52, 15 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Not running on Windows X64 either ==&lt;br /&gt;
&lt;br /&gt;
Okay since it doesn't run on Win2000, I bought a new PC just to get some better FPS on Dwarf Fortress, but this tool won't run on it either.&lt;br /&gt;
&lt;br /&gt;
I get the following error:&lt;br /&gt;
&lt;br /&gt;
WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
&lt;br /&gt;
Tried Python 2.4 and 2.5 and different versions of this utility but all are giving the same error.&lt;br /&gt;
&lt;br /&gt;
== Missing DLL file ==&lt;br /&gt;
&lt;br /&gt;
I have the latest version of Python. I downloaded all the required files. When I run DFcompanion_prototype.py, I get &amp;quot;This application has failed to start because libglib-2.0-0.dll was not found. Re-installing the application may fix this problem.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Why is it giving me this message if I've already installed all the required files?&lt;br /&gt;
&lt;br /&gt;
== Install Questions ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;For python 2.5 users, just grab the utility at this place, and unzip it (warning, this is an old version). &amp;quot;&lt;br /&gt;
It's an old version of dwarf companion?  If that's the case, where is the most recent version? I don't see it on your page. ([[User:Slitherrr|Slitherrr]] 11:58, 30 July 2008 (EDT))&lt;br /&gt;
&lt;br /&gt;
==.39f is incompatible==&lt;br /&gt;
 D:\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 346, in __in&lt;br /&gt;
 it__&lt;br /&gt;
     self.dd = dwarfdbg()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 105, in __init__&lt;br /&gt;
     self.configoffsets()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 49, in configoffsets&lt;br /&gt;
     tmp = os.getPatternPos( r'\x68' + stock + r'\xb8....\xc7.........\x89.....'+ os.call + r'\x38' )[0]+0x21&lt;br /&gt;
 IndexError: list index out of range&lt;br /&gt;
&lt;br /&gt;
This is the same problem I'm having too. I have all the correct packages installed. It looks like Dwarf Companion just doesn't work with 39f. - SquirrelFarmer&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33275</id>
		<title>Utility Talk:Dwarf Companion</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33275"/>
		<updated>2008-08-13T23:10:51Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: /* .39f Problem */ - me too&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Things I've noticed with tinkering around in 33g.&lt;br /&gt;
*&amp;quot;invade?&amp;quot; tag toggles prone position for the target.&lt;br /&gt;
*0x1.7(4th row) places and removes the target from the royal guard.&lt;br /&gt;
*0x2.7(4th row) places and removes the target from the fortress guard.&lt;br /&gt;
*0x4000 second row seems to dictate if the creature has a job or place to go to. Turning it off seems to do nothing, it just turns right back on again, unless the creature is moved in the process of applying.&lt;br /&gt;
*0x84, 0x800 and 0x4.5(7th row) make the dwarf friendly oriented instead of a fortress-dweller, much like a merchant.&lt;br /&gt;
*0x8 Is only present on dwarves legendary through making an artifact. It could be what keeps them from having another mood.&lt;br /&gt;
*0x2000 and 0x2.7(last row) seem to be related to lung-related injuries. Both make a &amp;quot;winded&amp;quot; effect appear on the dwarf. 0x2.7 seems to wear off after a short time.&lt;br /&gt;
*0x100(2nd row) does something peculiar. It removes the dwarf from the unit list, and then the dwarf just completely vanishes. Several tags are reset and the dwarf, for all purposes, seems to no longer exist. So far nothing I can find will bring the dwarf back, and several tags used on the dwarf will cause DF to lock up.&lt;br /&gt;
*0x400 makes the target invisible to the unit list only, does not seem to have any adverse effects.&lt;br /&gt;
*0x8.5(7th row) makes the unit a &amp;quot;visitor&amp;quot; on the unit list. Behaves friendly, not sure what it does otherwise.&lt;br /&gt;
&lt;br /&gt;
Some interesting notes too. Setting a dwarf to hostile, waiting until a nearby soldier is charging to attack, then making them friendly again causes something really interesting. The soldier will kill the now-friendly dwarf, and then that soldier will become a target to all nearby soldiers, despite still being controllable and interactable.&lt;br /&gt;
Also, that &amp;quot;staring off into the distance&amp;quot; mood is interesting. I want to see it in action but I can't find a way to actually trigger the mood to act. [[User:Lightning4|Lightning4]] 09:23, 27 December 2007 (EST)&lt;br /&gt;
:Thanks for this update! I'll include them in the next revision. AFAIK 0x8 triggers the &amp;quot;creator of&amp;quot; text, and works on any dwarf. It's quite possible to trigger a mood, i'll try soon triggering an artifical mood. [[User:Bartavelle|Bartavelle]] 11:54, 27 December        2007 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hey. It seems that when I give a dwarf a mood, he goes to the meeting area and does nothing. Also, when I change a dwarves mood to NONE, I get an error and the game crashes. [[User:Zonhin|Zonhin]] 21:12, 20 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature requests! ==&lt;br /&gt;
&lt;br /&gt;
You suggested we put feature requests in the wiki discussion page, so here they are!&lt;br /&gt;
* From sphir: &amp;quot;Any plans on map-related modules? e.g.&lt;br /&gt;
**one button designate cut tree after recording the regions.&lt;br /&gt;
:: I do not get this one? What is exactly suggested? Designate ALL trees at once? [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
**additional &amp;quot;bookmarks&amp;quot;, jump to creature (esp dead creatures, which cannot be done in game)&lt;br /&gt;
:: I'll add that soon, as it doesn't seem too hard [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
**add foreman.exe-like macro job management by profession?&amp;quot;&lt;br /&gt;
:: This is planned too [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
* and mine: &amp;quot;alert me when my hunters run out of bolts so I can draft them to reset their job state and get them to pick up a fresh batch of ammo. It's such a hassle to have to constantly watch hunters just so they don't do something dumb like put their head inside a cougar's mouth. Or even a way to look at the items in a dwarf's inventory would be lovely.&amp;quot;&lt;br /&gt;
: This one could be a bit tricky, as inventory is not reversed yet, and i haven't been looking at it, so i have no clue on how hard it is [[User:Bartavelle|Bartavelle]] 06:34, 28 December 2007 (EST)&lt;br /&gt;
I guess others should just add their requests below. Awesome application, thanks Bartavelle! [[User:Chrominance|Chrominance]] 20:06, 27 December 2007 (EST)&lt;br /&gt;
:How about the ability to change what the dwarf likes and hates? Just so my Mayor won't mandate the construction of adamantine items.  --[[User:Corbine|Corbine]] 08:01, 28 December 2007 (EST)&lt;br /&gt;
::Likes and recent &amp;quot;events&amp;quot; are next on my list of stuff to reverse. I would especially like to display a summary of all &amp;quot;bad mood stuff&amp;quot; that recently happened to dwarves. [[User:Bartavelle|Bartavelle]] 11:14, 28 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:Ability to see which item a particular dwarf is tasking to haul and zoom to it?  Ability to zoom to items in general would also be great (the game seems to want to support this, as it has the 'zoom to' option on the bottom in say, the inventory screen, but you can't actually zoom to anything from the inventory page as far as I can tell). --[[User:Squirrelloid|Squirrelloid]] 01:11, 23 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
&lt;br /&gt;
If you happen to see this before the thread on the forums, I posted the bug I'm getting 50% of the time while traveling in adventure mode with the new version of DC in [38a].&lt;br /&gt;
--[[User:KaelGotRice|KaelGotRice]] 10:26, 10 February 2008&lt;br /&gt;
&lt;br /&gt;
Occasionally when you heal/hurt or modify something of a dwarf or creature, the exhaustion amount will be maxed out, causing the target to pass out for QUITE awhile.  --[[User:Corbine|Corbine]] 08:15, 28 December 2007 (EST)&lt;br /&gt;
:That's what's making them do that? Aha! --[[User:Penguinofhonor|Penguinofhonor]] 18:55, 3 February 2008 (EST)&lt;br /&gt;
::Just check the exaustion field to make sure it's 0 or something low, as opposed to the 65535 that it will ocassionally fill in with. Not sure what causes it to go for max value instead of the minimum. --[[User:N9103|Edward]] 19:33, 3 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Getting an error when trying to start program. It couldn't get the DLLs at first so I just copied them into the folder, which seemed to work, but now it gives this:&lt;br /&gt;
http://80.60.190.55/pics/dfcbug.jpg&lt;br /&gt;
It closes (or crashes) the dwarf fortress application in the process, no error messages pop up.&lt;br /&gt;
:thanks for the info, i'm trying right now to reduce the number of required components, so it should be better soon ... [[User:Bartavelle|Bartavelle]] 18:10, 1 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
When I first tried to use DF Companion, it gave me an error message that stated Libglib-2.0-0.dll was missing. So I went and downloaded it, put it in the right place. Then it said I needed iconv.dll, so I went and downloaded it. Then it made me get intl.dll. Now, it's saying &amp;quot;The procedure entry point g_Assert_Warning could not be located in the dynamic link library libglib-2.0-0.dll&amp;quot;--[[User:Demosthenes|Demosthenes]] 17:22, 19 February 2008 (EST)&lt;br /&gt;
: It sounds like you did not install the latest &amp;quot;gtk runtime environment&amp;quot; [[User:Bartavelle|Bartavelle]] 01:34, 20 February 2008 (EST)&lt;br /&gt;
:: I did. D= Several times.--[[User:Demosthenes|Demosthenes]] 19:24, 20 February 2008 (EST)&lt;br /&gt;
::: Then I have no clue :( [[User:Bartavelle|Bartavelle]] 01:46, 21 February 2008 (EST)&lt;br /&gt;
::: When I run it with the command line, it gives this. http://img301.imageshack.us/img301/5550/errorao1.jpg --[[User:Demosthenes|Demosthenes]] 21:03, 28 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 0x4000 ==&lt;br /&gt;
&lt;br /&gt;
0x4000 is nauseous. [[User:Nate879|Nate879]] 19:10, 10 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Better give it some Compazine, then.  *rimshot*--[[User:Maximus|Maximus]] 23:21, 10 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How exactly do I run this?==&lt;br /&gt;
What do I run here? The .glade file? Because if I open that, it gets me a tiny window with 2 things I can choose, skilledit and creatureedit. If I choose them, they are completely blank. I've tried cmd.exe but I get the same thing. --[[User:Penguinofhonor|Penguinofhonor]] 21:23, 21 January 2008 (EST)&lt;br /&gt;
: you should run dfcomapnion_prototype.py, as stated in the main page!&lt;br /&gt;
:: Hey, he added that because of this question, okay? --[[User:Penguinofhonor|Penguinofhonor]] 17:48, 27 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Unable to run on win2000===&lt;br /&gt;
I'm still using win2000, and I'm unable to run the program, it gives an error requesting the instruction GetProcessImageFileNameA, which is only available on XP and Server2003.&lt;br /&gt;
: Ok i'm gonna try to find an alternative ASAP [[User:Bartavelle|Bartavelle]] 07:35, 28 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Tracebacks for version .7==&lt;br /&gt;
&lt;br /&gt;
F:\Python25\GTK&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
version v0.27.169.88a, pid 3676, player 0&lt;br /&gt;
0 words loaded&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfcompanion_prototype.py&amp;quot;, line 390, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfcompanion_prototype.py&amp;quot;, line 336, in __init__&lt;br /&gt;
    self.dd = dwarfdbg()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 92, in __init__&lt;br /&gt;
    self.getWords()&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 208, in getWords&lt;br /&gt;
    lptr = self.getLong(vec2[1]+race*4)&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dwarfdbg.py&amp;quot;, line 104, in getLong&lt;br /&gt;
    return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
  File &amp;quot;F:\Python25\GTK\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
    raise WinError()&lt;br /&gt;
WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory&lt;br /&gt;
 request was completed.&lt;br /&gt;
&lt;br /&gt;
:you must load your game [[User:Bartavelle|Bartavelle]] 10:45, 7 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
==Terrain Replication==&lt;br /&gt;
You stated on the forums that you would/could make a script that would allow a person to copy the information from a tile and replicate it elsewhere, and then in Nist Akath, Captain Mayday claimed that he used said script. Where is this? It's useful-sounding. --[[User:Penguinofhonor|Penguinofhonor]] 19:45, 10 February 2008 (EST)&lt;br /&gt;
: Try the secret link [http://bartabox.banquise.net/df/companion-0.8-any.zip here], but i will replace this file as soon as I &amp;quot;officially&amp;quot; release it. [[User:Bartavelle|Bartavelle]] 01:49, 11 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Dwarf Companion - Cheating Fun in Adventure Mode! ==&lt;br /&gt;
&lt;br /&gt;
I was tinkering about with the Dwarf Companion program earlier today, when a thought came to my mind. &amp;quot;What if you could do stuff with this program in Adventure mode?&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Well, it turns out that you can. By turning on the program and hitting the &amp;quot;All Creatures&amp;quot; box, you can access any loaded creature as well as your own adventurer. By doing this, you can make him as strong and legendary as you want, and effectively kill anything within the sector. You can also change your character into any creature in the game, including demons, goblins, etc. (NOTE: 'Shapeshifting' like this renders the tile where you changed un-passable, and you tend to teleport when you do so. Also, when I changed into a dragon, the game crashed.) Moods are also able to toggle, though I've only tested them upon my own adventurer. Going beserk in a human town triggered the mayor to start attacking me, but when I turned it off, he became friendly once again.&lt;br /&gt;
&lt;br /&gt;
Here's a movie of some of my exploits with a fresh adventurer dwarf: http://mkv25.net/dfma/movie-348-dwarfcompanioninadventuremode17338a&lt;br /&gt;
&lt;br /&gt;
I hope this strikes as interesting / useful for the future!&lt;br /&gt;
&lt;br /&gt;
== Won't Run ==&lt;br /&gt;
Just recently had a little... accident at my fortress and I wanted to rectify it, since it was just a result of my own stupidity. Squashed some poor bastard with a drawbridge. Unfortunately trying to run Companion results in this:&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 5740, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;C:\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 814, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 480, in getCreature&lt;br /&gt;
      c.events = self.getEvents(c)&lt;br /&gt;
    File &amp;quot;C:\companion\dwarfdbg.py&amp;quot;, line 154, in getEvents&lt;br /&gt;
      events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 212&lt;br /&gt;
[[User:Lightning4|Lightning4]] 19:23, 23 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Update: I've tested again with the new version, as well as tried another fortress. The initial fortress I tried it on still fails to run with the same error. However, another, older fortress works just fine.[[User:Lightning4|Lightning4]] 14:04, 26 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
::Issue resolved. A fix was provided for this error at the bottom of the page. [[User:Lightning4|Lightning4]] 13:10, 9 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== 176.38a not work ==&lt;br /&gt;
D:\games\1non company made\dwarf\utility\companion 0.10&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 5352, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 446, in fresh getCreature&lt;br /&gt;
      slist = self.getSkills(c)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 328, in getSkills&lt;br /&gt;
      skptr = self.getLong(skillptr)&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dwarfdbg.py&amp;quot;, line 125, in getLong&lt;br /&gt;
      return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
    File &amp;quot;D:\games\1non company made\dwarf\utility\companion 0.10\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
      raise WinError()&lt;br /&gt;
  WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
Yes I am in dwarf fortunse mode and I have vista and I in new fortuness that generated on new map. [[User:Omagaalpha|Omagaalpha]] 12:14, 27 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 176.38b not running ==&lt;br /&gt;
&lt;br /&gt;
Using version 0.9-any with Python 2.5 and all modules installed. Works fine in 176.38a, as shown:&lt;br /&gt;
&lt;br /&gt;
  C:\Spill\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
  version generic version, pid 2828, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
&lt;br /&gt;
When trying to run in 176.38b I get:&lt;br /&gt;
&lt;br /&gt;
  C:\Spill\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
  version generic version, pid 544, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
    self.initList()&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
    list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 814, in getCreatures&lt;br /&gt;
    col = self.getCreature(c)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 446, in getCreature&lt;br /&gt;
    bpname = self.getBodyPart(c, i)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 322, in getBodyPart&lt;br /&gt;
    bpv = self.getVec(c.bpNames)&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 119, in getVec&lt;br /&gt;
    return struct.unpack(&amp;quot;LLLL&amp;quot;, self.dbg.read(ptr, 16))&lt;br /&gt;
  File &amp;quot;C:\Spill\Dwarf Fortress\companion\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
    raise WinError()&lt;br /&gt;
  WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Another problem from someone else:&lt;br /&gt;
&lt;br /&gt;
Err, nevermind; was using 0.8 version of companion; my bad.  I get the same as above with 0.9.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 23:11, 24 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Version 0.10-any ==&lt;br /&gt;
&lt;br /&gt;
Companion 0.10-any works with 176.38c for me. However, I had to copy the &amp;quot;pygtk&amp;quot; subdirectory of an older version (0.8-python25) into the 0.10 installation and run dfcompanion_prototype.py from the command line. Just the thing to cope with those ambushes (they're a bit overpowered, don't you think?) Zombie frogmen! MUHAHAHAHAHA!!! [[User:RP|RP]] 07:32, 28 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== 176.38b stopped working ==&lt;br /&gt;
&lt;br /&gt;
The companion used to work for me in 176.38b but at some point it stopped working (after a few goblin ambushes).  Here's what it does:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 2732, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
      col = self.getCreature(c)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 502, in getCreature&lt;br /&gt;
      c.events = self.getEvents(c)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 170, in getEvents&lt;br /&gt;
      events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 214&lt;br /&gt;
&lt;br /&gt;
I don't know much about the internal structure of the companion, but couldn't you use eventName.get(p, &amp;quot;Unknown&amp;quot;) as a failsafe to stop these from happening?  That way new events wouldn't break everything.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 13:26, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Actually, I just made this modification and another error popped up immediately after:&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 2732, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
      DFcmp = DFcompanion()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
      self.initList()&lt;br /&gt;
    File &amp;quot;dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
      list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
    File &amp;quot;C:\Documents and Settings\Yourself\Desktop\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 837, in getCreatures&lt;br /&gt;
      self.eventList[ event[0] ][1] += 50/event[2]&lt;br /&gt;
  IndexError: list index out of range&lt;br /&gt;
&lt;br /&gt;
I managed to make the error go away, but it's a total hack, since I don't know the structure of companion.&lt;br /&gt;
&lt;br /&gt;
I changed lines 820-822, which are:&lt;br /&gt;
&lt;br /&gt;
  self.eventList = range(212)&lt;br /&gt;
      for i in range(212):&lt;br /&gt;
      self.eventList[i] = [i,0,[],eventName[i]]&lt;br /&gt;
&lt;br /&gt;
Into this:&lt;br /&gt;
&lt;br /&gt;
  self.eventList = [[i,0,[],eventName.get(i, &amp;quot;??&amp;quot;)]&lt;br /&gt;
                    for i in xrange(215)]&lt;br /&gt;
&lt;br /&gt;
The companion appears to work now for me, but as I said, it's a total hack.&lt;br /&gt;
&lt;br /&gt;
--[[User:Yourself|Yourself]] 13:39, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Error ocurring (something with gdk and cairo and a .dll) ==&lt;br /&gt;
&lt;br /&gt;
After installing python (2.5.2 - also tried 2.5.1 and 2.4.something) the gdk runtime environment (2.8.20) &amp;lt;br /&amp;gt;&lt;br /&gt;
and those 3 packets (pygobject-2.12.3-1; pycairo-1.2.6-1; pygtk-2.10.6-1 - these 3 arent necessary for the reproduktion fo the error)&lt;br /&gt;
&lt;br /&gt;
starting the &amp;quot;dfcompanion_prototype.py&amp;quot; from the any or the py2.5 package returns the following error:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Der Prozedureinsprungpunkt &amp;quot;gdk_cairo_set_source_pixmap&amp;quot; wurde in der DLL &amp;quot;libgdk-win32-2.0-0.dll&amp;quot; nicht gefunden&amp;quot;&lt;br /&gt;
read:&amp;quot;could't find the routine entry point [...] in the dll[...]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
downloading a .dll from the net changes the error slightly,&lt;br /&gt;
now &amp;quot;gdk_cairo_create&amp;quot; is missing instead of &amp;quot;gdk_cairo_set_source_pixmap&amp;quot;&lt;br /&gt;
&lt;br /&gt;
-since i've absolutely no clue what he actually wants, i hope someone can solute this X_x&lt;br /&gt;
&lt;br /&gt;
Q&lt;br /&gt;
&lt;br /&gt;
:Valdemar put up a link to a exe version of companion on the forums for those of us who don't have the patience to fiddle around with python. It's in the DF companion thread near the end. [[User:VengefulDonut|VengefulDonut]] 18:02, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I have the exact same problem as the one above me...&lt;br /&gt;
--[[User:AtomicTroop|AtomicTroop]] 12:52, 23 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::As do I! And I'm dying to make a legendary miner/mason/brewer/grower/weaponsmith/armorsmith/swordsdwarf/seige engineer/seige operator. Honestly, that would be awesome.&lt;br /&gt;
&lt;br /&gt;
And in case your computer speaks in English, the error is this:&lt;br /&gt;
&lt;br /&gt;
The procedure entry point gdk_cairo_set_source_pixmap could not be located in the dynamic link library libgdk-win32-2.0-0.dll.&lt;br /&gt;
&lt;br /&gt;
So, if you could could please explain how we can fix this, that would be great because your program looks awesome.--[[User:Smoking Gnu|Smoking Gnu]] 00:59, 24 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem is the link telling you to download GTK is broken, it has you download version 2.8.20 when you need 2.10.11. Go here: http://sourceforge.net/project/showfiles.php?group_id=98754&amp;amp;package_id=121281 and get the right version. --[[User:xzzy|xzzy]]&lt;br /&gt;
&lt;br /&gt;
== Import Error: No module named ctypes - 0.8 and 1.0  ==&lt;br /&gt;
&lt;br /&gt;
Err, just tried upgrading to the newer version of companion, and can't get it to work. I'm using the latest version of DF (incompatable?). Doesn't look like a DF problem though. I installed all of the modules, I think I'm using python version 2.4. I'll be on IRC in #bay12games if you want to try get hold of me... --[[User:Markavian|Markavian]]&lt;br /&gt;
:You must have the 2.5 version. ctypes is a module that is only in Python 2.5. You should either upgrade Python to 2.5 or download the [http://bartabox.banquise.net/df/companion-0.10-any.zip -any version]. (0.10 works fine for me in the latest DF version and I have 2.4 too)--[[User:Valdemar|Valdemar]] 20:39, 15 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== DwarfCompanion Fails to load (inexplicably) 0.10 ==&lt;br /&gt;
I've been able to run DwarfCompanion just fine for a week or so now.  However, starting tonight with a fort that has been able to be modified before, I now get this as the error that displays-&lt;br /&gt;
&lt;br /&gt;
  version generic version, pid 1960, player a6&lt;br /&gt;
  2103 words loaded&lt;br /&gt;
  race 0 loaded&lt;br /&gt;
  race 1 loaded&lt;br /&gt;
  race 2 loaded&lt;br /&gt;
  race 3 loaded&lt;br /&gt;
  Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 396, in __init__&lt;br /&gt;
    self.initList()&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dfcompanion_prototype.py&amp;quot;, line 123, in initList&lt;br /&gt;
    list = self.dd.getCreatures(self.showmode,dead=self.showdead)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 835, in getCreatures&lt;br /&gt;
    col = self.getCreature(c)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 502, in getCreature&lt;br /&gt;
    c.events = self.getEvents(c)&lt;br /&gt;
  File &amp;quot;C:\DF Utils\companion-0.10-any\companion\dwarfdbg.py&amp;quot;, line 170, in getEvents&lt;br /&gt;
    events.append( [p, eventName[p], id] )&lt;br /&gt;
  KeyError: 213&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is an error due to lack of sanity checking on the events list.  Put this in instead of events.append( [p, eventName[p], id] )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                        try:&lt;br /&gt;
                                events.append( [p, eventName[p], id] )&lt;br /&gt;
                        except KeyError:&lt;br /&gt;
                                print &amp;quot;No such event %s known&amp;quot; % p&lt;br /&gt;
&lt;br /&gt;
[[User:Qmarx|Qmarx]] 20:36, 3 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::Bingo. This fixed my problem as well. Thanks! [[User:Lightning4|Lightning4]] 13:09, 9 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Easy Python/PyGTK installer ==&lt;br /&gt;
&lt;br /&gt;
I was having some trouble getting all the Python dependencies to work properly together, but after some research I found a nice all-in-one PyGTK installer that works perfectly with companion 0.10. http://aruiz.typepad.com/siliconisland/2006/12/allinone_win32_.html Hope this helps!&lt;br /&gt;
&lt;br /&gt;
== Error -- entry point g_timeout_add_seconds_full ==&lt;br /&gt;
&lt;br /&gt;
The procedure entry point g_timeout_add_seconds_full could not be located in the dynamic link library libglib-2.0-0.dll&lt;br /&gt;
&lt;br /&gt;
I installed these modules&lt;br /&gt;
&lt;br /&gt;
    *  Python (works with any version, 2.5 is prefered)&lt;br /&gt;
    *  &amp;quot;Gtk+/Win32 Runtime Environment Installer&amp;quot;&lt;br /&gt;
    * For python 2.5 users, just grab the utility at this place.&lt;br /&gt;
    * Install the three modules from this page (PyCairo, PyGObject, PyGTK) &lt;br /&gt;
&lt;br /&gt;
After trying to run it I received that erro.&lt;br /&gt;
&lt;br /&gt;
I also tried companion-0.11-any.zip and it didn't work.&lt;br /&gt;
&lt;br /&gt;
Edit: I uninstalled all the components and reinstalled with that all-in-one python installer and it works now.--[[User:Richards|Richards]] 15:46, 23 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Adding Additional Ingredients to Artifacts ==&lt;br /&gt;
A nifty little trick.  You have to micromanage a little, though.  Anyway, as soon as your moody dwarf has claimed a workshop, hopefully he'll leave to grab the first item.  As soon as he starts walking to get it, fire up companion and change the first required object.  The moody dwarf will complete the fetching duty for the original first item, then go to get the new first item.  Repeat until you have enough items stored in the workshop for your satisfaction, then let your poor moody dwarf finally collect everything he needs.  All of the collected items will be used as artifact components.[[User:QMarx|QMarx]] 10:24, 7 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
==Feature request: custom wounds==&lt;br /&gt;
&lt;br /&gt;
It would be nice if we could directly edit the wound levels of creatures, instead of being forced to either heal them entirely or make them bleed to death.  Someone with a mangled leg could, for instance, be manually healed to a broken leg; this would allow us &amp;quot;strict&amp;quot; players to have mangled dwarves heal, until Toady corrects the &amp;quot;phantom pains&amp;quot; issue and allows mangled injuries to heal over to permanent debilitations. --[[User:JT|JT]] 18:22, 11 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Command Line? ==&lt;br /&gt;
&lt;br /&gt;
I have everything installed (2.5 and then the runtime) but Dwarf Companion crashes on me. How do I run it from a command line so I can see the errors? I'm on Media Center/XP. All I have time to read before it crashes is something about an invalid access to memory location.&lt;br /&gt;
&lt;br /&gt;
== Unable to run ==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to load it, it won't run, I ran the game and downloaded everything. This is all that happens:&lt;br /&gt;
&lt;br /&gt;
 version v0.27.169.88a, pid 2760, player 0&lt;br /&gt;
 0 words loaded&lt;br /&gt;
&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfcompanion_prototype.py&amp;quot;, line 390, in &amp;lt;module&amp;gt;&lt;br /&gt;
   DFcmp = DFcompanion()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfcompanion_prototype.py&amp;quot;, line 336, in __init__&lt;br /&gt;
   self.dd = dwarfdbg()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 102, in __init__&lt;br /&gt;
   self.getWords()&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 218, in getWords&lt;br /&gt;
   kptr = self.getLong(vec2[1]+race*4)&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfdbg.py&amp;quot;, line 114, in getLong&lt;br /&gt;
   return struct.unpack(&amp;quot;L&amp;quot;, self.dbg.read(ptr, 4))[0]&lt;br /&gt;
  File &amp;quot;C:\Users\Todd\Downloads\DF STUFF\companion\dfwin32.py&amp;quot;, line 81, in read&lt;br /&gt;
   raise WinError()&lt;br /&gt;
 WindowsError: [Error 998] Invalid access to memory location.&lt;br /&gt;
&lt;br /&gt;
--[[User:0todd0|0todd0]] 01:05, 27 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
It doesn't recognize your df version ... do you have debug privileges on the dwarf fortress process? Is it the latest version?&lt;br /&gt;
[[User:Bartavelle|Bartavelle]] 08:51, 27 May 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
yes, it's the latest version. What do you mean by &amp;quot;debug privileges?&amp;quot; --[[User:0todd0|0todd0]] 23:23, 3 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I had this exact error too, until I right-clicked on dfcompanion_prototype.py and went to &amp;quot;open with&amp;quot; to find two python options, the second one worked. Have you got python previously installed and if so can you try uninstalling all versions and re-installing the latest one again? This could be a stab in the dark however... --[[User:Mrchinchin25|Mrchinchin25]] 23:48, 3 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: I recently downloaded this: what's been said so far to fix this problem isn't doing anything at all. Again, what do you mean &amp;quot;debug privileges?&amp;quot; --[[User:Pseu|Pseu]] 19:35, 4 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::I was a moder for Elder Scrolls 4 and it required both python 2.4 and 2.5 to mod. Though t see if this would work, i uninstalled python 2.4 but it didn't, i'll try what you said Mrchinchin...  --[[User:0todd0|0todd0]] 20:32, 4 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::In regards to debug privileges in Win XP.  Start-&amp;gt;Control Panel-&amp;gt;Administrative Tools-&amp;gt;Local security Settings-&amp;gt;local policies-&amp;gt;user rights assignment-&amp;gt;debug programs (on the right pane)--[[User:kirk|kirk]] 11:58, 10 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::I'm having the same issue with DF 0.27.176.38c and the newest version of Companion (downloaded it today). Also, kirk's info above isn't useful to anyone who is using XP Home - Local Security Settings isn't there. --[[User:Tyranic-Moron|Tyranic-Moron]] 22:06, 14 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Moogie's Problem ==&lt;br /&gt;
&lt;br /&gt;
I'm getting this:&lt;br /&gt;
&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
   File &amp;quot;C:\Documents and Settings\Moogie\My Documents\Dwarven Fortress\companion&lt;br /&gt;
 \dfcompanion_prototype.py&amp;quot;, line 3, in &amp;lt;module&amp;gt;&lt;br /&gt;
    import gtk&lt;br /&gt;
 ImportError: No module named gtk&lt;br /&gt;
&lt;br /&gt;
I have Gtk 2.10.11-1 installed in the Companion folder. I have Python 2.5.1 installed from ages ago when I used to play Oblivion.&lt;br /&gt;
&lt;br /&gt;
Why isn't it seeing Gtk there?&lt;br /&gt;
&lt;br /&gt;
Wow, I have no idea what I'm doing. The above comment is from me (Moogie). I don't know how to add a title or anything, sorry.&lt;br /&gt;
&lt;br /&gt;
: Don't worry, I'm sure you'll get it eventually. I've shifted your error into it's own section anyway, hopefully it's more noticeable this way. --[[User:Tyranic-Moron|Tyranic-Moron]] 18:52, 15 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Not running on Windows X64 either ==&lt;br /&gt;
&lt;br /&gt;
Okay since it doesn't run on Win2000, I bought a new PC just to get some better FPS on Dwarf Fortress, but this tool won't run on it either.&lt;br /&gt;
&lt;br /&gt;
I get the following error:&lt;br /&gt;
&lt;br /&gt;
WindowsError: [Error 299] Only part of a ReadProcessMemory or WriteProcessMemory request was completed.&lt;br /&gt;
&lt;br /&gt;
Tried Python 2.4 and 2.5 and different versions of this utility but all are giving the same error.&lt;br /&gt;
&lt;br /&gt;
== Missing DLL file ==&lt;br /&gt;
&lt;br /&gt;
I have the latest version of Python. I downloaded all the required files. When I run DFcompanion_prototype.py, I get &amp;quot;This application has failed to start because libglib-2.0-0.dll was not found. Re-installing the application may fix this problem.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Why is it giving me this message if I've already installed all the required files?&lt;br /&gt;
&lt;br /&gt;
== Install Questions ==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;For python 2.5 users, just grab the utility at this place, and unzip it (warning, this is an old version). &amp;quot;&lt;br /&gt;
It's an old version of dwarf companion?  If that's the case, where is the most recent version? I don't see it on your page. ([[User:Slitherrr|Slitherrr]] 11:58, 30 July 2008 (EDT))&lt;br /&gt;
&lt;br /&gt;
==.39f Problem==&lt;br /&gt;
 D:\Dwarf Fortress\companion&amp;gt;dfcompanion_prototype.py&lt;br /&gt;
 Traceback (most recent call last):&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 402, in &amp;lt;module&amp;gt;&lt;br /&gt;
    DFcmp = DFcompanion()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dfcompanion_prototype.py&amp;quot;, line 346, in __in&lt;br /&gt;
 it__&lt;br /&gt;
     self.dd = dwarfdbg()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 105, in __init__&lt;br /&gt;
     self.configoffsets()&lt;br /&gt;
   File &amp;quot;D:\Dwarf Fortress\companion\dwarfdbg.py&amp;quot;, line 49, in configoffsets&lt;br /&gt;
     tmp = os.getPatternPos( r'\x68' + stock + r'\xb8....\xc7.........\x89.....'+ os.call + r'\x38' )[0]+0x21&lt;br /&gt;
 IndexError: list index out of range&lt;br /&gt;
&lt;br /&gt;
This is the same problem I'm having too. I have all the correct packages installed. It looks like Dwarf Companion just doesn't work with 39f. - SquirrelFarmer&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Main_Page/Quote&amp;diff=36567</id>
		<title>Main Page/Quote</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Main_Page/Quote&amp;diff=36567"/>
		<updated>2008-07-23T02:24:29Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Choose|c={{#if: {{{1|}}}|{{rand|37}}|{{#expr: ({{rand2|10}}+27)}} }}&lt;br /&gt;
|&amp;lt;!--1--&amp;gt;I think I'll stick to drowning dwarves and cooking puppies.&lt;br /&gt;
|&amp;lt;!--2--&amp;gt;Toady has created a masterpiece!&lt;br /&gt;
|&amp;lt;!--3--&amp;gt;I can't put my finger on it. Something about this [[Fire|‼]]Cat tallow roast[[Fire|‼]] tastes funny.&lt;br /&gt;
|&amp;lt;!--4--&amp;gt;Toady withdraws from society. Toady has begun a [[Strange_mood|mysterious]] construction!&lt;br /&gt;
|&amp;lt;!--5--&amp;gt;Let us never forget the last words of Inod the Stoker, [http://archive.dwarffortresswiki.net/index.php/Fortress_Paintrag#1056 &amp;quot;Aaah! Gorillas!&amp;quot;]&lt;br /&gt;
|&amp;lt;!--6--&amp;gt;[[Children|Newborn]] Zuglar Baldnessgranite prefers to consume Gorilla. A sure sign of his unparalleled strength!&lt;br /&gt;
|&amp;lt;!--7--&amp;gt;[http://www.somethingawful.com/d/video-game-article/duke-nukem-image.php In an unrelated article] - I had no idea elephants could bounce that high!&lt;br /&gt;
|&amp;lt;!--8--&amp;gt;[[Toady]] looses a roaring laughter, [[Fey|fell]] and terrible! Toady has butchered a spammer!&lt;br /&gt;
|&amp;lt;!--9--&amp;gt;[[Elephant]]s are like huge, wrinkly [[ambusher|ninjas]].&lt;br /&gt;
|&amp;lt;!--10--&amp;gt;The critical question is this''':''' do elf bones yield more crossbow bolts than the average number of bolts necessary to kill an elf?&lt;br /&gt;
|&amp;lt;!--11--&amp;gt;“Dwarf Fortress&amp;quot; ... &amp;quot;Like chess, only with short people that can catch on [[fire]] like [[clothing|rags]] soaked in tar, and lots of [[booze]].&amp;quot; ... &amp;quot;Like chess.”&lt;br /&gt;
|&amp;lt;!--12--&amp;gt;Dwarf Fortress has taught me that all the world's problems would be substantially reduced had our parent civilizations never minted more than four stacks of [[coins]].&lt;br /&gt;
|&amp;lt;!--13--&amp;gt;&amp;quot;Tosid Idenarzes likes tentacle demons for their corrupt intentions.&amp;quot; There! Now we've covered all of the seven deadly sins.&lt;br /&gt;
|&amp;lt;!--14--&amp;gt;Booze does all the work in forts. Dwarves are just booze exoskeletons.&lt;br /&gt;
|&amp;lt;!--15--&amp;gt;My unconscious and bleeding [[mayor]] just mandated the construction of some goods.&lt;br /&gt;
|&amp;lt;!--16--&amp;gt;I can just imagine a wagon throwing a tantrum and tossing all its contents at people.&lt;br /&gt;
|&amp;lt;!--17--&amp;gt;Döbesh Udosdeb has been ecstatic lately. He was forced to eat a friend to survive. He enjoyed a truly decadent meal.&lt;br /&gt;
|&amp;lt;!--18--&amp;gt;Iron [[screw pump]] exercise equipment. Pump iron and get superdwarvenly strong!&lt;br /&gt;
|&amp;lt;!--19--&amp;gt;Only you can prevent fortress fires.&lt;br /&gt;
|&amp;lt;!--20--&amp;gt;The violence, aggression, pain, madness, sadness of the ASCII characters never ceases to amaze me...&lt;br /&gt;
|&amp;lt;!--21--&amp;gt;Mill their bones to make some bread.&lt;br /&gt;
|&amp;lt;!--22--&amp;gt;Wait, you're MAKING animals?&amp;lt;br&amp;gt;&amp;amp;mdash;''Torak''&amp;lt;br&amp;gt;At this moment, yes, I am smelting cows.&amp;lt;br&amp;gt;&amp;amp;mdash;''Spiders Everywhere''&lt;br /&gt;
|&amp;lt;!--23--&amp;gt;&amp;quot;Didn't you read the manual? He he he he... the manual... ...&amp;quot;&amp;lt;br&amp;gt;--[[Toady One]]&lt;br /&gt;
|&amp;lt;!--24--&amp;gt;(Compared to real-world years) Dwarven years are shorter.&amp;lt;br&amp;gt;--Sowelu&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Very fitting to dwarves, I must add.&amp;lt;br&amp;gt;--Sean Mirrsen&lt;br /&gt;
|&amp;lt;!--25--&amp;gt;[[Magma]] is not a [[water]] source. Dwarves can't drink it or supply it to their wounded.&amp;lt;br&amp;gt;--[[User:AlienChickenPie|AlienChickenPie]]&lt;br /&gt;
|&amp;lt;!--26--&amp;gt;&amp;quot;&amp;lt;nowiki&amp;gt;[B]&amp;lt;/nowiki&amp;gt;oats are the enemy of tiles. And tiles are the enemy of boats.&amp;quot;&amp;lt;br&amp;gt;--[[Toady One]]&lt;br /&gt;
|&amp;lt;!--27--&amp;gt;&amp;quot;I went through and fixed a few places where forbidden/on fire weren't being respected for next time. Burning milkable creatures were still a problem for example.&amp;quot;&amp;lt;br&amp;gt;--[[Toady One]]&lt;br /&gt;
|&amp;lt;!--28--&amp;gt;&amp;quot;You have been processed! Go forth, now, and edit!&amp;quot;&amp;lt;br&amp;gt;--[[User:Savok|Savok]]&lt;br /&gt;
|&amp;lt;!--29--&amp;gt;&amp;quot;What happened in 1048?&amp;quot; &amp;quot;Jreengus occurred.&amp;quot;&lt;br /&gt;
|&amp;lt;!--30--&amp;gt;Making rock instruments isn't nearly as awesome as it sounds --Shandrunn&lt;br /&gt;
|&amp;lt;!--31--&amp;gt;So this pit has had 5/7 water in it for over a month now. How freaking deep do I need to make it to drown that damn kitten?&lt;br /&gt;
|&amp;lt;!--32--&amp;gt;Maybe Babies are like Pokemon for [[goblin|Goblins]]... You gotta snatch em all --Neonivek&lt;br /&gt;
|&amp;lt;!--33--&amp;gt;The cyclops I was quested to kill had a thousand year history of badassery, and all of that without the leg it lost in the Year 3 (a dwarf bit it off... I should probably deal with that). --[[Toady One]]&lt;br /&gt;
|&amp;lt;!--34--&amp;gt;[FIREIMMUNE] makes them think that [[magma]] is safe but doesn't actually make them fireproof. This can lead to some rather interesting results.&lt;br /&gt;
|&amp;lt;!--35--&amp;gt;I can't say what happened at Site 76. Ask the government. --[[Toady One]]&lt;br /&gt;
|&amp;lt;!--36--&amp;gt;Endok Cerolneth has begun a mysterious construction!&lt;br /&gt;
Endok Cerolneth, Planter has given birth to a girl.&lt;br /&gt;
|&amp;lt;!--37--&amp;gt;&amp;quot;Incendia est vestri socius, vestri telum, vires Mons-montis Domus.&amp;quot; &amp;quot;Magma is your ally, your weapon, the strength of the Mountain-Home.&amp;quot; --Eita&lt;br /&gt;
|&amp;lt;!--38--&amp;gt;&amp;quot;stopped people from giving quests to kill themselves.&amp;quot; --[[Toady One]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Statue&amp;diff=4122</id>
		<title>40d:Statue</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Statue&amp;diff=4122"/>
		<updated>2008-01-29T16:13:55Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Statues are [[buildings]] which can be built from the {{k|b}}uild menu under {{k|s}}tatue. They can be made from [[stone]], [[glass]], or [[metal]] [[bar]]s. &amp;lt;br /&amp;gt;&lt;br /&gt;
A statue raises the value of the [[room]] it is placed in. The amount that the room value is raised depends on the craftsmanship of the statue.  Statues also are more valuable than other furniture made with the same material and [[quality]] level.  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Statues may be built using one stone at the [[mason's workshop]] using the [[masonry]] [[labor]].  Statues may also be built using three metal bars of the same type at a [[metalsmith's forge]] using the [[Blacksmith|blacksmithing]] labor.&lt;br /&gt;
&lt;br /&gt;
You can create a [[sculpture garden]] from a statue's {{k|q}} menu. Dwarves will spend time at a statue garden appreciating the statues and may even organize parties there.&lt;br /&gt;
&lt;br /&gt;
Be careful when placing statues, because dwarves cannot move on the same square they occupy. A poorly placed statue can potentially seal off parts of your fortress. Also note that the floor under the statue cannot be smoothed or engraved after the statue has been placed. &lt;br /&gt;
[[Category:Buildings]]&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Utilities&amp;diff=11805</id>
		<title>40d Talk:Utilities</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Utilities&amp;diff=11805"/>
		<updated>2008-01-29T14:50:42Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: /* Lavasquare */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== AutoHotKey ==&lt;br /&gt;
&lt;br /&gt;
Should autohotkey be added as a utility tool for dwarf fortress? I know a few forum users have used it to do repetitive tasks like room designations, maybe it could have its own page and a few dwarf fortress specific script?--[[User:Thehunterunseen|Thehunterunseen]] 20:43, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Ive been looking for a macro program that works within dwarf fortress and thats free. Havent found a good program thats the combination of both. What do you use? --[[User:Mizipzor|Mizipzor]] 20:51, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
::autohotkey &amp;lt;sup&amp;gt;[http://www.autohotkey.com/]&amp;lt;/sup&amp;gt; is a program like that --[[User:Thehunterunseen|Thehunterunseen]] 21:13, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::That was the program I used. Wierd. For me, when I inputed &amp;quot;6&amp;quot; for moving one step right... it moved like 8 steps right or something. Couldnt figure out why. Any ideas? --[[User:Mizipzor|Mizipzor]] 22:57, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::I know that {{k|shift}} + {{k|→}} = 10&amp;amp;times;{{k|→}}. Could that have something to do with it? --[[User:Savok|Savok]] 23:17, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::::I use &amp;quot;Send {LeftArrow}{Enter}{Enter}&amp;quot;, as a test to simply have the wall/floor im building to be placed one step to the right instead of where the cursor actually is. As previously said, however, it didnt work. --[[User:Mizipzor|Mizipzor]] 07:05, 1 November 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
::::::That might be because the {LeftArrow} part isn't right. It's supposed to be just {Left}. I've downloaded the program myself and am not having any issues with it in DF.. I'm running XP, and use it in fullscreen mode, if that helps any. --[[User:Hesitris|Hesitris]] 18:53, 12 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
: So could some people who actually know some autohotkey scripts make an article and  submit some? --[[User:Thehunterunseen|Thehunterunseen]] 13:37, 6 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
::I use it and more or less know how it works but as soon as I use it inside DF it bugs out completely and I have no idea why. --[[User:Mizipzor|Mizipzor]] 17:56, 6 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:::I have a number of scripts that I use, but they randomly bug out for no apparent reason.  They will work fine in notepad (ie, output everything exactly as I expect), but be only partially executing and then failing in DF.  Again, sometimes they work fine.  I could post them and how they work if someone wants.  FYI, I am on Vista and that may be an issue.  --[[User:Geofferic|Geofferic]] 02:39, 19 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
::::I'm not sure how CPU cycles and the buffer interact in Vista.  Is your FPS low?  Perhaps a key is dropping out of the buffer but DF isn't recognizing it due to lag?  Or lag might be making the buffer overflow.  It might depend on how autohotkey sends keystrokes, I don't know if it simulates a key press or directly input ssomething into the buffer.  You could try a small sleep(50), or the equivalent, in autohotkey and see if that helps.  Also, make sure it isn't losing focus for some reason due to background programs (although that would be strange) -Gotthard&lt;br /&gt;
&lt;br /&gt;
:::::I think it's a lag issue in DF.  I've yet to figure out exactly what is causing lag for me.  I think it's pathing with too many dwarfs and too complex of a hallway system over too many Z levels.  Also, I think playing very large maps causes me to lag, as well, but I think that's related to the pathing problem and all those other creatures trying to path.  It definitely got better in this version, tho.  I will hold off on trying to say definitively what's up with AuthoHotkey until after the next patch.  --[[User:Geofferic|Geofferic]] 03:50, 21 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
::::::AHK does tend to do wierd stuff in DF, but most of it is predictable. A lot of wierd errors that make no sense can be fixed by explicitely telling the script to focus on the Dwarf Fortress window, as well as generous Sleep statements. I found while rewalling a 30x30 outline, sleep 100 worked fine for the first two sides but posted about half of the second two. Sleep 150 placed the second two somewhat erraticly. Sleep 200 got the second two just fine. --[[User:Knivesu|Knivesu]] 10:22, 23 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
== Dwarf Foreman ==&lt;br /&gt;
&lt;br /&gt;
:Foreman is looking at the wrong address for the units... which is not a good sign, since I've seen it in the address it seems to be looking at.  I've also seen it bounce around.  Definitely not a good sign if the list location isn't static.  Or we're just looking at the wrong one completely. --[[User:AzureLightning|AzureLightning]]&lt;br /&gt;
&lt;br /&gt;
It's pretty easy to find the addresses for this for new versions. Running the program in the directory with the new version gives you the check= value, and the others are moderately easy to suss. Also, I don't know exactly how it works or why it works, but from C-&amp;gt;D-&amp;gt;E start and pos were incremented 0x1000 each version, so laziness dictates trying that in future. [[User:Qalnor|Qalnor]] 16:37, 9 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
== Yourfilehost ==&lt;br /&gt;
&lt;br /&gt;
Yourfilehost.com has kind of a lousy reputation, and I can confirm it's blocked on certain college networks.  Could someone upload these utilities to a more reputable host? -- Mzbundifund 15:55, 04 November 2007 (EDT)&lt;br /&gt;
: Such as? --[[User:Rick|Rick]] 18:03, 4 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==heal.exe==&lt;br /&gt;
&lt;br /&gt;
heal.exe does not regrow missing limbs.  However, &amp;quot;heal -hurt&amp;quot; on the command line brings missing limbs to red status, and &amp;quot;heal&amp;quot; thereafter restores the being to full health.&lt;br /&gt;
&lt;br /&gt;
I propose a -regrow parameter so we don't have to do this workaround, since if it's possible to bring missing limbs from dark grey to red status it's also possible to grow them back.&lt;br /&gt;
&lt;br /&gt;
Also, when using the -hurt parameter, it still says &amp;quot;059E7210 had 31 body parts '''healed'''&amp;quot;, when it should probably say &amp;quot;wounded&amp;quot;. --[[User:JT|JT]] 17:58, 10 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
: Hmm, if it does heal missing limbs then I just need to change my logic slightly for healing. --[[User:Rick|Rick]] 19:01, 10 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==reveal.exe==&lt;br /&gt;
&lt;br /&gt;
From what I've tested, reveal for 33a does not work for 33b. --[[User:Sparksol|Sparksol]] 13:39, 17 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:Correct.  It uses hardcoded offsets, which will change every time new code is added to DF.&lt;br /&gt;
:I have a version hacked for .33b, which I will not distribute out of respect for Rick.&lt;br /&gt;
:However, if you are skilled with a hex editor, here's what to do: change the first 5 occurances of the pattern 85 45 01 to the pattern 95 45 01.  (The 6th occurance of the pattern is a coincidental match and should not be changed.)  Then change the pattern 8C 33 89 00 to the pattern 8C 43 89 00.&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 02:31, 19 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:Actually, as it happens, it looks like Rick has produced updated versions of his tools for .33b.  They were built on the 16th.  However he hasn't linked to them.  I don't know why.  The URL they're at requests that no links be made to them, so I'm not going to tell you. Sorry, you'll just have to do the hexedit.&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 02:45, 19 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:I just havn't mirrored them yet, that's all. --[[User:Rick|Rick]] 03:10, 19 November 2007 (EST)&lt;br /&gt;
::Hey, I'm curious why the file sizes ballooned.  Reveal went from 52k to 101k, a doubling in size.  Heal grew even more.  Maybe you didn't strip debugging info?&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 15:42, 19 November 2007 (EST)&lt;br /&gt;
:::Usage of std libraries mostly. I made a library for working with DF so I wouldn't have to keep duplicating code through projects, and when writing it I figured I might as well make it more friendly for me to code in, hence usage of std:: stuff. --[[User:Rick|Rick]] 19:00, 19 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:Whenever I try to open reveal.exe, the window will open up for a millisecond and then immedietely close. Is this a problem with the program or my windows? I am assuming its windows since everyone else seems to be able to use it. Has anyone else had this problem?--[[User:Varsashi|Varsashi]] 17:59, 26 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
::It hasn't been updated to work with 33c, and doesn't. Hopefully it will be updated soon. If you're using 33b, it should open and close quickly but reveal all allocated squares. To allocate all squares for revealing, I'll repeat the advice I've seen elsewhere: go to the lowest level and designate the entire level for digging, then remove the dig designation and run the reveal utility. --[[User:Janus|Janus]] 20:08, 26 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
So how do people feel about deleting this section, and probably the heal.exe section above too?&amp;lt;br/&amp;gt;&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 00:56, 23 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==How to use warp.exe?==&lt;br /&gt;
How do you use warp.exe? There's no information on how to use these on the page.--[[User:Demosthenes|Demosthenes]] 02:10, 21 November 2007 (EST)&lt;br /&gt;
: &amp;lt;code&amp;gt;warp.exe&amp;lt;/code&amp;gt; by itself will list your current cursor position. After you have the position you want to warp a creature to, you do &amp;lt;code&amp;gt;warp.exe &amp;lt;x&amp;gt; &amp;lt;y&amp;gt; &amp;lt;z&amp;gt;&amp;lt;/code&amp;gt; as arguments, and it will warp the selected creature (selected with 'V'iew) to that destination, if it can. --[[User:Rick|Rick]] 18:10, 21 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==StartProfile==&lt;br /&gt;
Perhaps, I don't understand how to use this correctly.  I'm using 33e, and the StartProfile linked in the Utils section.  I'm supposed to use this util at the Prepare for the Journey screen, correct?  I tried testing the export function with the first dwarf, with no skills assigned.  startprofile.exe -x 0 test.txt What I got back was:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
Mining: 1348403210&amp;lt;br/&amp;gt;&lt;br /&gt;
Wood Cutter: 1565676876&amp;lt;br/&amp;gt;&lt;br /&gt;
Carpenter: 3801123&amp;lt;br/&amp;gt;&lt;br /&gt;
Engraving: 34079120&amp;lt;br/&amp;gt;&lt;br /&gt;
Record Keepe: 2293770&amp;lt;br/&amp;gt;&lt;br /&gt;
Liar: 34341293&amp;lt;br/&amp;gt;&lt;br /&gt;
Intimidator: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
Conversationalist: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
Comedian: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
Flatterer: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
Consoler: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
Pacifier: 16843009&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
When I try to set a dwarf's skills using StartProfile I end up with huge amounts of either negative or positive points available, with no changes being made to the dwarf's skills.  &amp;lt;br/ &amp;gt;--[[User:Stu72|Stu72]] 09:23, 11 December 2007 (EST)&lt;br /&gt;
: The offset for the skills must have changed. I guess I should've actually checked that, and not have assumed that just because the other values were correct, the skills were still correct. I'll check it out and post the appropriate fix. -- [[User:Jifodus|Jifodus]]&lt;br /&gt;
: The appropriate fix is redownloading it, when I hex edited the exe I messed it up field. -- [[User:Jifodus|Jifodus]]&lt;br /&gt;
:: Thanks, works beautifully.  It's a terrific time saver. --[[User:Stu72|Stu72]] 15:30, 14 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
How does one use this? The readme isn't very helpful. --[[User:Jackard|Jackard]] 01:08, 27 November 2007 (EST)&lt;br /&gt;
: Not knowing exactly what you're having trouble understanding, I'll give examples (the one thing I forgot to add in the readme).&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;startprofile 0 Miner.txt&amp;lt;/code&amp;gt; - This will set the skill profile of the first Dwarf, in the list of units, to the skills in Miner.txt&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;startprofile 1 Jeweler.txt&amp;lt;/code&amp;gt; - This will set the skills on the second Dwarf, in the list of units, to the skills in Jeweler.txt&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;startprofile -x 3 Customprofile.txt&amp;lt;/code&amp;gt; - This will save the set of skills on the fourth Dwarf to Customprofile.txt&amp;lt;br /&amp;gt;&amp;lt;code&amp;gt;startprofile -v0.27.169.33b 0 Miner.txt&amp;lt;/code&amp;gt; Same as the first example, except it'll work on the previous version of Dwarf Fortress.&amp;lt;br /&amp;gt;-- [[User:Jifodus|Jifodus]] 03:28, 27 November 2007 (EST)&lt;br /&gt;
::Thanks, I'll try that out. --[[User:Jackard|Jackard]] 21:21, 27 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
If you wish to edit the executable, you can modify it so that it works with 0.27.169.33d by making the following changes with a hex editor:&lt;br /&gt;
 Offset   Overwrite With&lt;br /&gt;
 ----------------------------&lt;br /&gt;
  2A530 | 98 16 25 01 04 00 00 00 DC 00 00 00 F0 08 00 00 70 00 00 00 C0 01 00 00&lt;br /&gt;
  2A6A6 | 30 2E 32 37 2E 31 36 39 2E 33 33 64&lt;br /&gt;
  2A77C | 02&lt;br /&gt;
-- [[User:Jifodus|Jifodus]] 20:14, 3 December 2007 (EST)&lt;br /&gt;
:CBW; PUSH SS; AND EAX, 00000401h; ADD AH, BL; ADD [EAX], AL; ...  &lt;br /&gt;
:That makes no sense.  Must be missing something off the head end.&lt;br /&gt;
:3 unknown bytes; ADD [EAX+EAX], EAX; ...  No better.  Worse, even.&lt;br /&gt;
:4 unknown bytes; ADD AL, 00h; ADD [EAX], AL; ...  Unh uh.  Don't think so.&lt;br /&gt;
:8 unknown bytes; ESC-4(00); ...  Floating point?  Really?  No way.&lt;br /&gt;
:12 unknown bytes; LOCK OR [EAX], AL ...  Insane.&lt;br /&gt;
:I don't know what those bytes are, but they're not code.&amp;amp;mdash;[[User:0x517A5D|0x517A5D]] 23:23, 3 December 2007 (EST)&lt;br /&gt;
::You're right, they're data. First Row is (left to right, 5 dwords): [[User:Jifodus/Memory research#Addresses_3|Start Address]], Offset from address at start address, Dwarf List begin offset, Starting points offset, Skills offset, remaining skill points points. Second row is a character string (15 chars max). Third row is a dword indicating which data index is default.&lt;br /&gt;
:: &amp;lt;tt&amp;gt;//Start Addr, O, Lizt, Ponts, Skll, Remain&amp;lt;/tt&amp;gt; &lt;br /&gt;
:: &amp;lt;tt&amp;gt;{ 0x01251698, 4, 0xDC, 0x8F0, 0x70, 0x1C0 }&amp;lt;/tt&amp;gt; - The read/write locations and whatnot&lt;br /&gt;
:: &amp;lt;tt&amp;gt;&amp;quot;0.27.169.33d&amp;quot;&amp;lt;/tt&amp;gt; - Used for string comparison (-v flag)&lt;br /&gt;
:: &amp;lt;tt&amp;gt;2&amp;lt;/tt&amp;gt; - The default version to use is the third in the list (what the above just added).&lt;br /&gt;
:: Configuration data can be found between 'DATA_SET' and 'TES_ATAD'. The list has enough space for 16 versions (3 are now in use). I'll just say I didn't want to have to recompile it for all the versions -- [[User:Jifodus|Jifodus]] 21:52, 6 December 2007 (EST)&lt;br /&gt;
If you wish to edit the executable, you can modify it so that it works with 0.27.169.33e by making the following changes with a hex editor:&lt;br /&gt;
 Offset   Overwrite With&lt;br /&gt;
 ----------------------------&lt;br /&gt;
  2A550 |&amp;quot;98 26 25 01&amp;quot;04 00 00 00 DC 00 00 00 F0 08 00 00 70 00 00 00 C0 01 00 00&lt;br /&gt;
  2A6B5 | 30 2E 32 37 2E 31 36 39 2E 33 33&amp;quot;65&amp;quot;&lt;br /&gt;
  2A77C |&amp;quot;03&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Patching Lavasquare ==&lt;br /&gt;
&lt;br /&gt;
Due to someone being interested in running lavasquare on version 33g, I determined how to patch the exe to work with later versions. With a hex editor, open lavasquare.exe and find and replace with appropriate values (replace the X's with the values underneath for the version you want). I only tested it for 33f, but I'm assuming that the values for 33g are correct (since I got them off the wiki).&lt;br /&gt;
&lt;br /&gt;
 (CursorX)&lt;br /&gt;
 FIND:		EE 57 68 88 E2 8F 00 FF 35&lt;br /&gt;
 REPLACE:	EE 57 68 XX XX XX 0X FF 35&lt;br /&gt;
 33f		         88 F2 8F  0&lt;br /&gt;
 33g		         88 62 90  0&lt;br /&gt;
&lt;br /&gt;
 (CursorY)&lt;br /&gt;
 FIND:		EC 57 68 8C E2 8F 00 FF 35&lt;br /&gt;
 REPLACE:	EC 57 68 XX XX XX 0X FF 35&lt;br /&gt;
 33f		         8C F2 8F  0&lt;br /&gt;
 33g		         8C 62 90  0&lt;br /&gt;
&lt;br /&gt;
 (CursorZ)&lt;br /&gt;
 FIND:		E6 57 68 90 E2 8F 00 FF 35&lt;br /&gt;
 REPLACE:	E6 57 68 XX XX XX 0X FF 35&lt;br /&gt;
 33f		         90 F2 8F  0&lt;br /&gt;
 33g		         90 62 90  0&lt;br /&gt;
&lt;br /&gt;
 (MapBlocks)&lt;br /&gt;
 FIND:		FC 57 68 60 15 46 01 FF 35&lt;br /&gt;
 REPLACE:	FC 57 68 XX XX XX 0X FF 35&lt;br /&gt;
 33f		         68 25 46  1&lt;br /&gt;
 33g		         80 96 46  1&lt;br /&gt;
&lt;br /&gt;
 (To exit immediately after writing, since I don't want to&lt;br /&gt;
 verify the other offsets)&lt;br /&gt;
 FIND:		FF 35 5C 80 40 00 E8 88 61 00 00 0F BF 7D&lt;br /&gt;
 		F8 57 0F BF 7D FA 57 8B 7D FC 81 C7 60 06&lt;br /&gt;
 		00 00&lt;br /&gt;
 REPLACE:	FF 35 5C 80 40 00 E8 88 61 00 00 6A FF FF&lt;br /&gt;
 		25 6C B1 40 00 CC CC CC CC CC CC CC CC CC&lt;br /&gt;
 		CC CC&lt;br /&gt;
-- [[User:Jifodus|Jifodus]] 02:05, 25 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
To modify the above for the same behavior as water:&lt;br /&gt;
 FIND:		07 00 20 00&lt;br /&gt;
 REPLACE:	07 00 00 00&lt;br /&gt;
-- [[User:Jifodus|Jifodus]] 17:09, 29 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
== Lavasquare Popup? ==&lt;br /&gt;
&lt;br /&gt;
How do I remove the prompt? It is a painful thing for large projects. The macro below helps some, though. --[[User:Jackard|Jackard]] 08:05, 4 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
 #Persistent&lt;br /&gt;
 SetTimer, CloseLava, 100&lt;br /&gt;
 return&lt;br /&gt;
 &lt;br /&gt;
 CloseLava:&lt;br /&gt;
 WinClose, lcc runtime&lt;br /&gt;
 return&lt;br /&gt;
 &lt;br /&gt;
 del::&lt;br /&gt;
 IfWinActive Dwarf Fortress&lt;br /&gt;
 {&lt;br /&gt;
   send {down}&lt;br /&gt;
   run C:\Program Files\Dwarf Fortress\Utilities\lavasquare 33g.exe&lt;br /&gt;
   return&lt;br /&gt;
 }&lt;br /&gt;
 else&lt;br /&gt;
 {&lt;br /&gt;
   send {del}&lt;br /&gt;
   return&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== Lavasquare ==&lt;br /&gt;
&lt;br /&gt;
Why does it seemingly stop working after a while? It runs but summons no magma/lava. --[[User:Spelguru|Spelguru]] 12:28, 18 January 2008 (EST)&lt;br /&gt;
:No idea, never run into the problem though I've used it quite thoroughly. --[[User:Jackard|Jackard]] 17:52, 18 January 2008 (EST)&lt;br /&gt;
:I've run into this once. Restarting DF fixed the problem. --[[User:SquirrelFarmer|SquirrelFarmer]] 09:50, 29 January 2008 (EST)&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8068</id>
		<title>40d:Cheating</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8068"/>
		<updated>2008-01-24T17:41:08Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: /* Easy Adamantine */ - clarifying&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Easy Adamantine==&lt;br /&gt;
Add this:&lt;br /&gt;
&lt;br /&gt;
[REACTION:ADAMANTINE_WAFERS]&lt;br /&gt;
&lt;br /&gt;
[NAME:make adamantine wafers]&lt;br /&gt;
&lt;br /&gt;
[SMELTER]&lt;br /&gt;
&lt;br /&gt;
[REAGENT]&lt;br /&gt;
&lt;br /&gt;
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ADAMANTINE]&lt;br /&gt;
&lt;br /&gt;
Into reaction_standard.txt. The next time you make a world your dwarves will be capable of creating adamantine from nothing.&lt;br /&gt;
&lt;br /&gt;
==Make stone into logs==&lt;br /&gt;
&lt;br /&gt;
[REACTION:FREE_WOOD]&lt;br /&gt;
&lt;br /&gt;
[NAME:stone to wood]&lt;br /&gt;
&lt;br /&gt;
[SMELTER]&lt;br /&gt;
&lt;br /&gt;
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]&lt;br /&gt;
&lt;br /&gt;
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Same as above, just add this to reaction_standard.txt. As with any mod, you must delete your saves and generate a new seed.&lt;br /&gt;
&lt;br /&gt;
==River freeze==&lt;br /&gt;
By turning temperature to NO in the .init file, a frozen river will remain frozen(even during summer), allowing you to do anything you need to do before unfreezing it. This is especially useful for retrieving items or digging tunnels straight up to water sources without them flooding.&lt;br /&gt;
&lt;br /&gt;
==Savescumming==&lt;br /&gt;
&lt;br /&gt;
Savescumming refers to the practice of regularly backing up your saves so you can revert to one if your fortress crumbles to the last. This can be toggled to be done automatically in the init file, so some might not consider this to be cheating.&lt;br /&gt;
&lt;br /&gt;
Another method to save scum is open up task manager (ctrl+alt+delete) and open the Processes tab, and then selecting dwarfort.exe and clicking on end task. This will cause dwarf fortress to close, without overwriting the last saved game. WARNING: closing the game in this manner has been known to cause inflate errors, especially in [[adventurer mode]].&lt;br /&gt;
&lt;br /&gt;
==Memory Editing==&lt;br /&gt;
&lt;br /&gt;
''[[:Memory editing|Main article: Memory editing]]''&lt;br /&gt;
&lt;br /&gt;
Memory editing refers to using an external program to modify numbers within the game. This is at its most useful when choosing what to take with you, as you can give yourself an unlimited number of points. What doesn't work in the new version is giving your starting dwarves tons of prof skills, since there now is a limit in how many skills they can start with. You can still start your dwarves with all proficient skills, but you need to change the skill limit value first on every dwarf you want to do this with. &lt;br /&gt;
&lt;br /&gt;
The [[utilities]] page has several tools that do specific memory hacks, such as to teleport a creature.&lt;br /&gt;
&lt;br /&gt;
Don't forget, Cheat-O-Matic is a very easy to use tool for memory hacking, use it to change starting points, the dwarf skill limits, etc.&lt;br /&gt;
&lt;br /&gt;
Editing the memory of a game has a possibility to cause the game to crash or misbehave, including corrupting of saves.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WARNING: There is a chance that WPE contains a virus.  {Who reported this, and on what forum?  What scanner flagged it?  What was the reported problem?  Links?  More info?  You can't just drop a bomb like this without some verification.} {WPE is ''flagged'' as a virus because the DLL it injects can be used to steal sensitive information as it is transmitted over the internet.}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 100%; background: #ddd; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;color: #fff; background: #999; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb; padding: 0.2em 0.5em; text-align: center&amp;quot; | '''Links'''&lt;br /&gt;
|- &lt;br /&gt;
! style=&amp;quot;text-align: left; padding: 0.1em 0.5em&amp;quot; | Various Memory Hacking Tools:&lt;br /&gt;
| [http://wpepro.net/index.php?categoryid=9&amp;amp;p13_sectionid=1&amp;amp;p13_fileid=79?&amp;amp;category=3 WPE Pro/PermEdit/Tsearch],  [http://www.artmoney.ru/?threadid=2669677 ARTMONEY], [http://www.developerfusion.co.uk/show/2426/?t=38984 Cheat-O-Matic],&lt;br /&gt;
[http://cheatengine.org/?t=38984 Cheat Engine]&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
Guide on how to edit the starting skills and points using TSearch: http://www.youtube.com/watch?v=boC-IxvkYsI&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8067</id>
		<title>40d:Cheating</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8067"/>
		<updated>2008-01-24T17:40:19Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: Oops. Spacing.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Easy Adamantine==&lt;br /&gt;
copy:&lt;br /&gt;
&lt;br /&gt;
[REACTION:ADAMANTINE_WAFERS]&lt;br /&gt;
&lt;br /&gt;
[NAME:make adamantine wafers]&lt;br /&gt;
&lt;br /&gt;
[SMELTER]&lt;br /&gt;
&lt;br /&gt;
[REAGENT]&lt;br /&gt;
&lt;br /&gt;
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ADAMANTINE]&lt;br /&gt;
&lt;br /&gt;
into the raws replacing. next time you make  a world your dwarves will be capable of creating adamantine from empty air.&lt;br /&gt;
&lt;br /&gt;
==Make stone into logs==&lt;br /&gt;
&lt;br /&gt;
[REACTION:FREE_WOOD]&lt;br /&gt;
&lt;br /&gt;
[NAME:stone to wood]&lt;br /&gt;
&lt;br /&gt;
[SMELTER]&lt;br /&gt;
&lt;br /&gt;
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]&lt;br /&gt;
&lt;br /&gt;
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Same as above, just add this to reaction_standard.txt. As with any mod, you must delete your saves and generate a new seed.&lt;br /&gt;
&lt;br /&gt;
==River freeze==&lt;br /&gt;
By turning temperature to NO in the .init file, a frozen river will remain frozen(even during summer), allowing you to do anything you need to do before unfreezing it. This is especially useful for retrieving items or digging tunnels straight up to water sources without them flooding.&lt;br /&gt;
&lt;br /&gt;
==Savescumming==&lt;br /&gt;
&lt;br /&gt;
Savescumming refers to the practice of regularly backing up your saves so you can revert to one if your fortress crumbles to the last. This can be toggled to be done automatically in the init file, so some might not consider this to be cheating.&lt;br /&gt;
&lt;br /&gt;
Another method to save scum is open up task manager (ctrl+alt+delete) and open the Processes tab, and then selecting dwarfort.exe and clicking on end task. This will cause dwarf fortress to close, without overwriting the last saved game. WARNING: closing the game in this manner has been known to cause inflate errors, especially in [[adventurer mode]].&lt;br /&gt;
&lt;br /&gt;
==Memory Editing==&lt;br /&gt;
&lt;br /&gt;
''[[:Memory editing|Main article: Memory editing]]''&lt;br /&gt;
&lt;br /&gt;
Memory editing refers to using an external program to modify numbers within the game. This is at its most useful when choosing what to take with you, as you can give yourself an unlimited number of points. What doesn't work in the new version is giving your starting dwarves tons of prof skills, since there now is a limit in how many skills they can start with. You can still start your dwarves with all proficient skills, but you need to change the skill limit value first on every dwarf you want to do this with. &lt;br /&gt;
&lt;br /&gt;
The [[utilities]] page has several tools that do specific memory hacks, such as to teleport a creature.&lt;br /&gt;
&lt;br /&gt;
Don't forget, Cheat-O-Matic is a very easy to use tool for memory hacking, use it to change starting points, the dwarf skill limits, etc.&lt;br /&gt;
&lt;br /&gt;
Editing the memory of a game has a possibility to cause the game to crash or misbehave, including corrupting of saves.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WARNING: There is a chance that WPE contains a virus.  {Who reported this, and on what forum?  What scanner flagged it?  What was the reported problem?  Links?  More info?  You can't just drop a bomb like this without some verification.} {WPE is ''flagged'' as a virus because the DLL it injects can be used to steal sensitive information as it is transmitted over the internet.}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 100%; background: #ddd; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;color: #fff; background: #999; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb; padding: 0.2em 0.5em; text-align: center&amp;quot; | '''Links'''&lt;br /&gt;
|- &lt;br /&gt;
! style=&amp;quot;text-align: left; padding: 0.1em 0.5em&amp;quot; | Various Memory Hacking Tools:&lt;br /&gt;
| [http://wpepro.net/index.php?categoryid=9&amp;amp;p13_sectionid=1&amp;amp;p13_fileid=79?&amp;amp;category=3 WPE Pro/PermEdit/Tsearch],  [http://www.artmoney.ru/?threadid=2669677 ARTMONEY], [http://www.developerfusion.co.uk/show/2426/?t=38984 Cheat-O-Matic],&lt;br /&gt;
[http://cheatengine.org/?t=38984 Cheat Engine]&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
Guide on how to edit the starting skills and points using TSearch: http://www.youtube.com/watch?v=boC-IxvkYsI&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8066</id>
		<title>40d:Cheating</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Cheating&amp;diff=8066"/>
		<updated>2008-01-24T17:39:49Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: stone into wood&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Easy Adamantine==&lt;br /&gt;
copy:&lt;br /&gt;
&lt;br /&gt;
[REACTION:ADAMANTINE_WAFERS]&lt;br /&gt;
&lt;br /&gt;
[NAME:make adamantine wafers]&lt;br /&gt;
&lt;br /&gt;
[SMELTER]&lt;br /&gt;
&lt;br /&gt;
[REAGENT]&lt;br /&gt;
&lt;br /&gt;
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ADAMANTINE]&lt;br /&gt;
&lt;br /&gt;
into the raws replacing. next time you make  a world your dwarves will be capable of creating adamantine from empty air.&lt;br /&gt;
&lt;br /&gt;
==Make stone into logs==&lt;br /&gt;
&lt;br /&gt;
[REACTION:FREE_WOOD]&lt;br /&gt;
[NAME:stone to wood]&lt;br /&gt;
[SMELTER]&lt;br /&gt;
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]&lt;br /&gt;
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]&lt;br /&gt;
&lt;br /&gt;
Same as above, just add this to reaction_standard.txt. As with any mod, you must delete your saves and generate a new seed.&lt;br /&gt;
&lt;br /&gt;
==River freeze==&lt;br /&gt;
By turning temperature to NO in the .init file, a frozen river will remain frozen(even during summer), allowing you to do anything you need to do before unfreezing it. This is especially useful for retrieving items or digging tunnels straight up to water sources without them flooding.&lt;br /&gt;
&lt;br /&gt;
==Savescumming==&lt;br /&gt;
&lt;br /&gt;
Savescumming refers to the practice of regularly backing up your saves so you can revert to one if your fortress crumbles to the last. This can be toggled to be done automatically in the init file, so some might not consider this to be cheating.&lt;br /&gt;
&lt;br /&gt;
Another method to save scum is open up task manager (ctrl+alt+delete) and open the Processes tab, and then selecting dwarfort.exe and clicking on end task. This will cause dwarf fortress to close, without overwriting the last saved game. WARNING: closing the game in this manner has been known to cause inflate errors, especially in [[adventurer mode]].&lt;br /&gt;
&lt;br /&gt;
==Memory Editing==&lt;br /&gt;
&lt;br /&gt;
''[[:Memory editing|Main article: Memory editing]]''&lt;br /&gt;
&lt;br /&gt;
Memory editing refers to using an external program to modify numbers within the game. This is at its most useful when choosing what to take with you, as you can give yourself an unlimited number of points. What doesn't work in the new version is giving your starting dwarves tons of prof skills, since there now is a limit in how many skills they can start with. You can still start your dwarves with all proficient skills, but you need to change the skill limit value first on every dwarf you want to do this with. &lt;br /&gt;
&lt;br /&gt;
The [[utilities]] page has several tools that do specific memory hacks, such as to teleport a creature.&lt;br /&gt;
&lt;br /&gt;
Don't forget, Cheat-O-Matic is a very easy to use tool for memory hacking, use it to change starting points, the dwarf skill limits, etc.&lt;br /&gt;
&lt;br /&gt;
Editing the memory of a game has a possibility to cause the game to crash or misbehave, including corrupting of saves.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WARNING: There is a chance that WPE contains a virus.  {Who reported this, and on what forum?  What scanner flagged it?  What was the reported problem?  Links?  More info?  You can't just drop a bomb like this without some verification.} {WPE is ''flagged'' as a virus because the DLL it injects can be used to steal sensitive information as it is transmitted over the internet.}&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 100%; background: #ddd; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;color: #fff; background: #999; border: 1px solid #777; border-left-color:#bbb; border-top-color:#bbb; padding: 0.2em 0.5em; text-align: center&amp;quot; | '''Links'''&lt;br /&gt;
|- &lt;br /&gt;
! style=&amp;quot;text-align: left; padding: 0.1em 0.5em&amp;quot; | Various Memory Hacking Tools:&lt;br /&gt;
| [http://wpepro.net/index.php?categoryid=9&amp;amp;p13_sectionid=1&amp;amp;p13_fileid=79?&amp;amp;category=3 WPE Pro/PermEdit/Tsearch],  [http://www.artmoney.ru/?threadid=2669677 ARTMONEY], [http://www.developerfusion.co.uk/show/2426/?t=38984 Cheat-O-Matic],&lt;br /&gt;
[http://cheatengine.org/?t=38984 Cheat Engine]&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Guides]]&lt;br /&gt;
Guide on how to edit the starting skills and points using TSearch: http://www.youtube.com/watch?v=boC-IxvkYsI&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Statue&amp;diff=4120</id>
		<title>40d:Statue</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Statue&amp;diff=4120"/>
		<updated>2007-12-22T14:55:44Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: Noted statues are impassable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Statues are buildings which can be built from the {{k|b}}uild menu under {{k|s}}tatue. They can be made from [[stone]], [[glass]], or [[metal]] bars. &amp;lt;br /&amp;gt;&lt;br /&gt;
A statue raises the value of the room it is placed in. The amount that the room value is raised depends on the craftsmanship of the statue.  Statues also are more valuable than other furniture made with the same material and quality level.  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Statues may be built using one stone at the [[mason's workshop]] using the [[masonry]] [[labor]].  Statues may also be built using three metal bars of the same type at a [[metalsmith's forge]] using the [[Blacksmith|blacksmithing]] labor.&lt;br /&gt;
&lt;br /&gt;
You can create a [[sculpture garden]] from a statue's {{k|q}} menu. Dwarves will spend time at a statue garden appreciating the statues and may even organize parties there.&lt;br /&gt;
&lt;br /&gt;
Be careful when placing statues, because dwarves cannot move on the same square they occupy. A poorly placed statue can potentially seal off parts of your fortress.&lt;br /&gt;
[[Category:Buildings]]&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Where_in_my_area_should_I_build_my_fort&amp;diff=30531</id>
		<title>Where in my area should I build my fort</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=Where_in_my_area_should_I_build_my_fort&amp;diff=30531"/>
		<updated>2007-12-21T06:19:30Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Depending on your [[location]], you have a number of approaches to where your fort can be and how you build it. Dwarf Fortress gives you quite a bit of free reign in this regard especially with the addition of [[z-axis]], but it's important to remember that your dwarves [[what should I build first|have needs]]. If you expect to have a long-lived fortress, it is wise to plan ahead.&lt;br /&gt;
&lt;br /&gt;
==Where to build==&lt;br /&gt;
&lt;br /&gt;
There are some restrictions to what you can build where. It's usually obvious. You can't build on [[trees]] or boulders, usually. You can't build on [[river]]s and streams, except you can build on a [[brook]]. Make sure you have room to build where you want.&lt;br /&gt;
&lt;br /&gt;
With that said, building your fortress how you want is almost limitless. Feel free to experiment and combine the suggestions here.&lt;br /&gt;
&lt;br /&gt;
===Hills===&lt;br /&gt;
&lt;br /&gt;
Building a fortress into a hill is probably the simplest way to get your fortress started.&lt;br /&gt;
&lt;br /&gt;
If your area has any slopes or hills at all, you can [[mine]] straight into it. It doesn't have to be a tall, flat cliff; You can build into a low slope just fine. A low slope that goes up one level isn't quite as useful as a cliff that goes 3 or more levels up, but it's good enough. Try to avoid digging into a small hill though, as you may want some room to build on the first level.&lt;br /&gt;
&lt;br /&gt;
By digging into a hill, your fortress' front gate is generally easier to defend. An area surrounded in cliffs can make navigation for your enemy (and you) time-consuming, but building into a wall forces your enemy to come at you head-on in one direction. In addition, you can take advantage of the natural landscape to &amp;quot;funnel&amp;quot; enemies together, or carve your own funnel-like entrance, making them easier to hit with [[Siege engine]]s and [[marksdwarfs]] in safer locations. Also, this works well with an entrance full of [[traps]].&lt;br /&gt;
&lt;br /&gt;
===Flatlands===&lt;br /&gt;
&lt;br /&gt;
Building a fortress on flat land is an interesting but slightly more complicated approach.&lt;br /&gt;
&lt;br /&gt;
To start, [[designate]] your dwarf to build downward [[stairs]] on the surface. Go down one level and designate upward stairs where the downward ones are. Keep doing this until you hit [[stone]]. Then mine out your fortress.&lt;br /&gt;
&lt;br /&gt;
While this kind of fortress works, it takes more work to properly defend the entrance. As it is, any enemies can come at you from any direction. Without building some inside defenses, you may become victim to a [[siege]] early on.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can build [[walls]] around your entrance, along with a ceiling if you want. Make sure you leave a front door open for your dwarves, or better, build a funnel with lots of traps in it. No enemy will bother breaking down a wall if there's a clear way in. They won't know it's full of stonefall traps.&lt;br /&gt;
&lt;br /&gt;
Another way to restrict access to your fort is to build a moat around your entrance and place a single bridge that you can retract. There are many ways to do this: pumping from a aquifer, diverting a river, or, if you're really sadistic, having your dwarves haul water in buckets. Simply add a bridge and link it to a lever. When a siege comes, call in all your dwarves and throw the lever (if you're the particularly pacifist type). This proves to be a simple, but powerful defense. For added fun, fill the moat with magma instead! There are a few potential downsides to this method, however. All expansion in the next underground level is constrained by the size of your moat. You can solve this by building a &amp;quot;reverse bridge&amp;quot; by tunneling under the channel. The other major problem is that this method does not protect against flying foes; an Undead Skeletal Giant Eagle will scoff at your moat as he mauls your poor dwarves. &lt;br /&gt;
&lt;br /&gt;
Building a wall around your entrance opens up a whole new level of creativity. Feel free to make a small tower or keep, or a large castle with catapults on each level, or a stepped pyramid that reaches high into the sky, etc.&lt;br /&gt;
&lt;br /&gt;
===Houses, Keeps, and Castles===&lt;br /&gt;
&lt;br /&gt;
Instead of mining into the ground, you can make your settlement more human-like. By taking [[wood]] and stone, you can build walls and [[floors]] that resemble houses, warehouses, castles, towers, and so on. As long as it has four walls and a floor above it, you can make a room out of it. This works well on flat lands, but you can do this pretty much anywhere.&lt;br /&gt;
&lt;br /&gt;
==Annoying Obstacles==&lt;br /&gt;
&lt;br /&gt;
Be on the lookout for these features in your area. They are probably the most annoying features to deal with when making your fortress. They can be avoided just by paying attention to your [[biome]], usually.&lt;br /&gt;
&lt;br /&gt;
===Lakes===&lt;br /&gt;
&lt;br /&gt;
These things are just about everywhere, except in scorching or freezing climates. They are not a threat really, just annoying. A lake may hinder your design if you build too close to them. As far as mining is concerned, they go down two levels, so make sure you're mining deeper than that. Same goes for rivers and brooks and the like.&lt;br /&gt;
&lt;br /&gt;
===Aquifers===&lt;br /&gt;
&lt;br /&gt;
An [[aquifer]] will haunt you, anger you, and make wise cracks about your mama. See its description on how to deal with or avoid them.&lt;br /&gt;
&lt;br /&gt;
===Creatures===&lt;br /&gt;
&lt;br /&gt;
Don't build on an area that might have dangerous [[creatures]]. The worst kinds are [[elephants]], [[carp]], and [[Giant eagle]]s. Don't even think about building in [[haunted]] or [[sininster]] areas and the like, unless you think you're up for the challenge. Look up your biome, then compare them against the creatures list to see what you might be up against.&lt;br /&gt;
&lt;br /&gt;
{{Starting FAQ}}&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Dining_room&amp;diff=14494</id>
		<title>40d:Dining room</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Dining_room&amp;diff=14494"/>
		<updated>2007-12-21T06:12:40Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A '''dining room''' is a [[room]] defined from a [[table]]. Dwarves prefer to eat in an unassigned dining room (i.e. belonging to &amp;quot;Nobody&amp;quot;) sitting in an adjacent [[chair]]. They dislike eating on the ground, standing while eating, and sharing a table. The ideal dining room has plenty of tables and chairs, with only one chair at each table. The exceptions are [[nobles]] and [[Noble|appointees]], some of whom require a personal dining room, which need only include one table and chair.&lt;br /&gt;
&lt;br /&gt;
If no dining room is available, dwarves will eat at any undefined table. If not even a table is available, they will sit on the ground to eat, which generates an unhappy [[thought]]. Conversely, eating in a well decorated dining room will generate happy thoughts. Well appointed dining rooms are an easy way to contribute to the happiness of your dwarves.&lt;br /&gt;
&lt;br /&gt;
{{buildings}}&lt;br /&gt;
[[Category:Rooms]]&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Purring_maggot&amp;diff=32145</id>
		<title>40d:Purring maggot</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Purring_maggot&amp;diff=32145"/>
		<updated>2007-12-16T13:13:05Z</updated>

		<summary type="html">&lt;p&gt;SquirrelFarmer: Added basic purring maggot page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purring maggot is currently the only creature that can be milked. You cannot embark with purring maggots, because they are classified as vermin.&lt;br /&gt;
&lt;br /&gt;
If you find a map with purring maggots and domesticate them, be sure to keep them in an area away from most of your dwarves, because like all vermin, some dwarves find them disgusting.&lt;/div&gt;</summary>
		<author><name>SquirrelFarmer</name></author>
	</entry>
</feed>