<?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=QMarx</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=QMarx"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/QMarx"/>
	<updated>2026-05-19T11:23:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Elf&amp;diff=17957</id>
		<title>40d:Elf</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Elf&amp;diff=17957"/>
		<updated>2008-05-09T12:09:10Z</updated>

		<summary type="html">&lt;p&gt;QMarx: fixed a minor POV&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{old|0.23.130.23a|, the 2D version}}&lt;br /&gt;
&lt;br /&gt;
'''Elves''' are allegedly intelligent [[humanoid]] [[creature]]s who live in [[forest retreat]]s. They are one of the races playable in [[Adventure Mode]]. Their retreats have no buildings, but the trees in the area are named.{{ver|0.23.130.23a}}They love nature and are ready to defend it, typically with [[bow]]s. They may invade a fortress which violates their tree-cutting limit.{{ver|0.23.130.23a}}&lt;br /&gt;
&lt;br /&gt;
== Elves in Fortress Mode ==&lt;br /&gt;
&lt;br /&gt;
Elves are a [[trading]] race and send small [[caravan]]s without wagons in [[Calendar|spring]]. They usually bring [[Thread]], [[cloth]], [[rope]], various [[plants]] and [[seed]]s, and [[wood]]en items. The may also bring some [[tame]] [[animal]]s. Elves also bring a crapload of useless stuff: armor and clothes too large to wear, inferior wooden weapons, inferior booze, inferior redroot dye, bows and arrows. They are very picky about what they will accept in return: Elven traders do not like to be offered any dead animal or tree byproducts.&lt;br /&gt;
&lt;br /&gt;
Forbidden items include:&lt;br /&gt;
&lt;br /&gt;
* [[Bone]], [[shell]], [[leather]], or [[chitin]] items&lt;br /&gt;
* [[Wood]]en items, and items derived from wood, such as [[charcoal]] and [[pearlash]]&lt;br /&gt;
* Clear and crystal [[glass]] (because [[pearlash]] is used in their creation)&lt;br /&gt;
* Items [[decoration|decorated]] with any of the above materials&lt;br /&gt;
* [[Obsidian]] shortswords (since they have wooden handles)&lt;br /&gt;
* [[Soap]]&lt;br /&gt;
* [[Cheese]]&lt;br /&gt;
* Any item they normally would accept that has [[Blood|blood]] on it, for instance from a slain enemy.  [[Vomit]] may also have this effect{{verify}}.&lt;br /&gt;
&lt;br /&gt;
[[Metal]] items are acceptable, even when [[charcoal]] is used in their production. Items made from [[silk]] are acceptable, as are all non-wooden plant-based products such as plump helmets, seeds, and ☼Dwarven syrup biscuits[45]☼. You can also transport your goods to the [[trade depot]] in a wooden [[bin]], as long as you do not try to sell the bin. This also applies to goods in barrels. Living animals are acceptable, as long as the cage or trap is not made of [[wood]].&lt;br /&gt;
&lt;br /&gt;
Although [[tower-cap]]s are giant mushrooms, they are considered trees by the elves and thus are not acceptable.&lt;br /&gt;
&lt;br /&gt;
=== Living among them ===&lt;br /&gt;
&lt;br /&gt;
Living with Elves is pretty much the same as living among [[Humans]], but they don't build houses, furniture, or anything else that uses wood. So basically, it's just like living anywhere else, but with guards.&lt;br /&gt;
&lt;br /&gt;
== Elves in Adventure Mode ==&lt;br /&gt;
&lt;br /&gt;
Elven forest retreats are represented by yellow symbols in forests on the world map. They do not have any [[shop]]s, but they seem to have a great amount of elite marksmen to recruit. The leader and quest giver of a retreat is called the &amp;quot;druid&amp;quot;, who can be found wandering the forest floor with the other elves.&lt;br /&gt;
&lt;br /&gt;
Elven characters start with a wooden [[weapon]] and a full set of basic wooden [[armor]]. They may not wear metal armor, though they may wield metal weapons and shields if they find them. These limitations often lead to a quick death. They do have some advantages, however: they're one size larger than dwarves, which makes them hit harder and absorb more damage, but they also have a slight natural armor penalty. Their main redeeming trait is their speed, which is noticeably higher than the other playable races.&lt;br /&gt;
&lt;br /&gt;
Elves are at peace with wildlife, which means they won't be attacked by most animals (verify if most or all). In addition, they can talk to the animal-man races (such as snakemen and batmen) and even get the most excitement-seeking ones to join their party.&lt;br /&gt;
&lt;br /&gt;
{{creatures}}&lt;br /&gt;
[[Category:Races]]&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33253</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=33253"/>
		<updated>2008-05-07T14:24:31Z</updated>

		<summary type="html">&lt;p&gt;QMarx: &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;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Stairs&amp;diff=1560</id>
		<title>40d:Stairs</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Stairs&amp;diff=1560"/>
		<updated>2008-04-30T19:04:04Z</updated>

		<summary type="html">&lt;p&gt;QMarx: /* Creating Stairs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Stairs''' are a map feature that allows creatures to move vertically.  Stairs provide access for [[dwarves]] and other single tile creatures, but are inaccessible to [[wagon]]s.  Stairs come in three forms: an ''[[upward stairway]]'', a ''[[downward stairway]]'', and an ''[[up/down stairway]]''.&lt;br /&gt;
&lt;br /&gt;
An upward stairway allows a person to travel up to the next level if there is also a downward stairway or an up/down stairway on the level above.  A downward stairway can be stood upon and provides walking access to the adjacent tiles.  An up/down stairway counts as both.&lt;br /&gt;
&lt;br /&gt;
They are distinct from [[ramp]]s, which allow movement from one square to a horizontally adjacent square that is one level below or above.&lt;br /&gt;
&lt;br /&gt;
== Creating Stairs ==&lt;br /&gt;
&lt;br /&gt;
[[Image:DF_Terraform.PNG|thumb|500px]]&lt;br /&gt;
&lt;br /&gt;
Stairs can be created in two different ways: &lt;br /&gt;
*You can use the [[designations]] menu ({{K|d}}) to carve them out of a wall of unmined material (see [[digging]]).&lt;br /&gt;
*You can use the build menu ({{K|b}} -&amp;gt; {{K|C}}) to construct them in an open tile using material you have already gathered.&lt;br /&gt;
&lt;br /&gt;
In order for stairs to be usable, you must construct stairs on both of the levels that you wish to connect (An up stair connecting to a down stair). However, a Down or Up stair will give you sufficient access to the adjacent level to build connecting stairs. This means you can dig directly downwards or even directly upwards using stairs without needing any other forms of access to the area.&lt;br /&gt;
&lt;br /&gt;
Using an Up/Down stair (which goes both up and down on the same tile) you can dig a straight vertical shaft.&lt;br /&gt;
&lt;br /&gt;
You can't designate an up staircase on a square that has already been dug out; you have to {{K|d}}ig into an existing wall or {{K|b}}uild instead. You can then build the matching down staircase on the level above.  Furthermore, you can't designate a downward staircase on the lowest level of the map.&lt;br /&gt;
&lt;br /&gt;
There is no need to build downward stairways and upward stairways: if you really want, you can simply build up/down stairways everywhere.  However, this may be less aesthetically appealing.&lt;br /&gt;
&lt;br /&gt;
== Destroying Stairs ==&lt;br /&gt;
&lt;br /&gt;
Depending on the method used to create the stairs, they can be removed using one of two different ways:&lt;br /&gt;
&lt;br /&gt;
*If the stairs were created using the [[designations]] menu, the following information applies:&lt;br /&gt;
&lt;br /&gt;
Only up stairs can currently be removed through the designation menu but a new floor can be built over a downstairs to effectively remove them.&lt;br /&gt;
To destroy up stairs, use the &amp;quot;Remove Up Stairs/Ramps&amp;quot; command in the [[designations]] menu: {{k|d}} -&amp;gt; {{k|z}}.&lt;br /&gt;
To remove down stairs, use the &amp;quot;Site a Building&amp;quot; menu and build a floor over them (b-C-f).&lt;br /&gt;
&lt;br /&gt;
*If the stairs were constructed using the build menu, the following information applies:&lt;br /&gt;
&lt;br /&gt;
Stairs, as well as any type of construction built using {{K|b}} -&amp;gt; {{K|C}} can be removed using the &amp;quot;remove construction&amp;quot; designation {{K|d}} -&amp;gt; {{K|n}}.&lt;br /&gt;
&lt;br /&gt;
[[Category:Designations]]&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Room&amp;diff=10556</id>
		<title>40d Talk:Room</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Room&amp;diff=10556"/>
		<updated>2008-04-30T05:36:20Z</updated>

		<summary type="html">&lt;p&gt;QMarx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;Walls with ore or gems cannot be smoothed, much less detailed.&amp;quot; Is this still true? I'd heard that smoothing/engraving of ore veins is now possible. And yet again, I can't test because I'm reading the wiki at work while waiting for a database query to finish... &amp;gt;_&amp;gt; --[[User:Alfador|Alfador]] 17:28, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:I deleted the comment about not being able to smooth ore or gems, because you CAN in this version (they all count as different types of rocks). Boo whoever copy pasted the article without looking at it.&lt;br /&gt;
&lt;br /&gt;
::what was the point in aechiving old wiki if people are going to copy and paste, please people if you are going to copy paste thourghly read the article to ensure all info is correct, i didnt read past this so there may be more but rooms are no longer diamonds, this is somehing really obvious and should have been picked up on by whoever copy pasted it otherwise we may as well stick with edditing old wiki. [[User:Thatguyyaknow|Thatguyyaknow]] 20:08, 31 October 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
Is there a way to check what price a room currently has without counting it yourself? Just wanted to know if I counted right. --[[User:Mizipzor|Mizipzor]] 15:33, 4 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
::if the economy has started you might be able to, past that though probably not :( --[[User:Frostedfire|Frostedfire]] 18:17, 8 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
My dwarves' thoughts have lately included reference to dining in a &amp;quot;legendary&amp;quot; dining room, but the best one I currently have is listed as &amp;quot;Fine&amp;quot; when I assign it to someone.  Does this correspond directly to the value of the room (I intend to bring it up to Royal to find out) or is there something else at work there? [[User:Dolohov|Dolohov]] 10:55, 15 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
I have a proper closed bedroom in silty clay loam. There is a masterpiece bed in that room. The price of the bed is 120. The rental cost of the room is 99. Most (all?) other bedrooms also have their rental cost less then the sum of the furniture values. There could be 2 explanations: &lt;br /&gt;
1) rental cost is not exactly equal to the room value in this version.&lt;br /&gt;
2) the way room value is calculated is substantially different from the previous version.&lt;br /&gt;
--[[User:Another|Another]] 11:56, 1 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
=== Influences on room quality ===&lt;br /&gt;
&lt;br /&gt;
:''As a bonus, a single chest, cabinet, armor stand, and weapon rack will count as three of each, for every noble in the room. (This works because most nobles have three rooms; if they see a chest in their bedroom, study, and dining room, they ''obviously'' have three chests, right? Nobody accused the nobles of being particularly bright.)&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;span style=&amp;quot;color:#009900;&amp;quot;&amp;gt;000173 ▪ (0.22.120.23a) [dwarf mode][nobles]   if you have a noble claim the same item with three of their rooms, it'll count three times in their holdings number&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Am I reading the changelog right? It looks like this bug was fixed in 23a. --[[User:Jackard|Jackard]] 02:31, 26 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
In that same section, it states that the value of a shared room is quartered. I've seen several times on the forum that the value of a shared room is only halved. This should be checked as well.  --[[User:Skanky|Skanky]] 03:14, 28 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:I've only seen it as half, but I typically assign the two rooms to the same noble.  It could be that it's quatered if you assign the two rooms to two different nobles (and same for more rooms to one noble vs more than one).--[[User:Draco18s|Draco18s]] 17:42, 3 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Names ==&lt;br /&gt;
&lt;br /&gt;
MANY of the names in the thing are wrong. My epic dining room is described as &amp;quot;Legendary&amp;quot; and the beds that share the room get &amp;quot;Like a personal palace&amp;quot;--[[User:Shadow archmagi|Shadow archmagi]] 17:48, 28 February 2008 (EST)&lt;br /&gt;
:Are you going by the {{key|r}}oom list or by dwarf thoughts? The article refers to the actual room grade rather than how impressed dwarves are by the room. [[User:VengefulDonut|VengefulDonut]] 19:42, 28 February 2008 (EST)&lt;br /&gt;
:: Oh dear. My mistake. Letsee... you're right. Bedrooms are Grand and the dining room is Royal. My mistake. --[[User:Shadow archmagi|Shadow archmagi]] 20:03, 28 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== doors ==&lt;br /&gt;
It seems doors don't count anymore in 38c? Every room i checked where the door should move it to the next quality level, it doesn't. This also is true for my artifact door which before turned a room into royal; it's gone now. --[[User:Koltom|Koltom]] 08:10, 17 March 2008 (EDT)&lt;br /&gt;
: What if the door is set as internal? -- [[User:Zardus|Zardus]] 20:14, 18 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== engravings ==&lt;br /&gt;
How do you tell which side of the wall engravings are on?  Do they still have a direction?  [[User:QMarx|QMarx]] 01:36, 30 April 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Legendary_artifact&amp;diff=30234</id>
		<title>40d Talk:Legendary artifact</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Legendary_artifact&amp;diff=30234"/>
		<updated>2008-04-28T09:32:32Z</updated>

		<summary type="html">&lt;p&gt;QMarx: /* Furniture */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;What are some of the things that dwarfs can make into artifacts? [[User:Diabl0658|Diabl0658]] 03:59, 1 December 2007 (EST)&lt;br /&gt;
:Any item that your dwarves can craft and has a quality modifier can be made into artifacts. This includes armor, clothing, weapons, all kinds of crafts, furniture, cut gems and whatnot. Notable exceptions include coins(dunnae have quality modifiers), buildings(aint items) and babies(those rascals!). Bars, blocks, raw glass and other such base materials have no quality modifier and cannot be artifacts. I've never seen or heard about legendary meals, drinks and cloth/thread, so I think they can't be artifacts either. Though dwarves will say that they've eaten a legendary meal, when they've consumed a masterpiece meal. [[User:Noctis|Noctis]] 06:02, 1 December 2007 (EST)&lt;br /&gt;
::Ive heard of someone creating a artifact meal and almost having it rot away before getting it into the food stockpile [[User:Diabl0658|Diabl0658]] 11:00, 1 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
On #bay12games, there was some question about artifacts being destroyed by magma. Can anyone confirm or deny this? Also ways to destroy artifacts which aren't listed: Trading, dumping in magma vent (the floorless bottom seems to count as chasm), and dropping a bridge on it. [[User:Rkyeun|Rkyeun]] 02:10, 20 January 2008 (EST)&lt;br /&gt;
:I can't imagine anything not made of a [[magma-proof]] base material *not* being destroyed by any significant immersion in magma. --[[User:N9103|Edward]] 20:29, 20 January 2008 (EST)&lt;br /&gt;
::And yet because it's an artifact, it may have a special flag that prevents specifically that. Can anyone confirm non-magma-proof artifact destruction in magma? [[User:Rkyeun|Rkyeun]] 11:52, 24 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Furniture ==&lt;br /&gt;
&lt;br /&gt;
All right, so what can I do with a legendary [[lace agate]] [[hatch cover]]?[[User:GarrieIrons|GarrieIrons]] 03:20, 22 January 2008 (EST)&lt;br /&gt;
:Same thing as 90% of Artis. Wait for the guy to die and sell it. Or alternatively, death again, and build it in a Noble's room. --[[User:N9103|Edward]] 20:39, 22 January 2008 (EST)&lt;br /&gt;
:: Or, alternatively, build it in a Noble's room and skip the death. [[User:QMarx|QMarx]] 05:32, 28 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Artifact menu ==&lt;br /&gt;
&lt;br /&gt;
I seem to recall stumbling across a list of the various legendary artifacts I had created. Can anyone tell me how to get to it again?&lt;br /&gt;
:If you're talking about current artifacts in a given fortress, you get a new menu option once you've produced atleast one in that fortress. (lowercase {{k|L}}) --[[User:N9103|Edward]] 21:59, 22 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
much better&lt;br /&gt;
--[[User:NateAustin|NateAustin]] 17:36, 29 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Trade ==&lt;br /&gt;
&lt;br /&gt;
Is it possible to trade legendary artifacts? I just got a legendary statue and it currently sitting my furniture storage. I 've tried to get my dwarves to bring it to the depot, but it doesnt show up on the trade list. Is it possible? [[User:Robje|Robje]] 18:09, 12 March 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Chasm&amp;diff=13199</id>
		<title>40d Talk:Chasm</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Chasm&amp;diff=13199"/>
		<updated>2008-04-27T03:59:22Z</updated>

		<summary type="html">&lt;p&gt;QMarx: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've had a chasm in a mountainous area near a volcano which was in fact cylindrical, not shaped like a river at all. It was basically a bore of empty space all the way to the bottom-most level, which consisted of the # chasm squares. In that respect, it looked much like a volcano bore but generally a bit smaller. There were variations in width on different levels of it as well. This led to open cave floor around it on some levels where troglodytes, iron men, giant cave swallows, and caveswallowmen frolicked about. --[[User:Janus|Janus]] 08:25, 1 November 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Huh, how about that.  They're certainly more interesting than they used to be.--[[User:Draco18s|Draco18s]] 14:54, 1 November 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Interesting. Sounds like a magma vent minus the magma. I have a game going in a grassland a few region squares away from a volcano. When I first started the game, I got a message that part of the cavern had collapsed and it zoomed to the magma vent. The vent itself was as you describe--a roughly cylindrical sinkhole of varying widths that went all the way to the bottom. Only in my case, it was full of magma up to the surface, and at lower depths, fire imps, magma men and fire snakes could be seen (Apparently, magma is transparent.) Maybe the game treats magma vents as localized chasms full of magma? --[[User:RedKing|RedKing]] 16:43, 3 November 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: That's probably how it was formed, using the same algorithm as a magma vent, but it does appear to be intentional. Perhaps it is indeed meant to be a dead magma vent. That same map has the main volcano magma vent a short distance away. The magma vent was of course shown on the local map when choosing the map location, but the circular chasm was not.&lt;br /&gt;
::As for the collapse message when starting on a map with a magma vent, that appears to be due to a bug where a body of water is generated in the middle of it. This water instantly creates a solid block of obsidian with no support, which then collapses. Magma is semi-liquid, and fireproof monsters like those you mention will swim freely through it. --[[User:Janus|Janus]] 17:06, 3 November 2007 (EDT)&lt;br /&gt;
&lt;br /&gt;
Actually there are two variants of the chasm, a chasm vent/pit and a chasm/river star like chasm (encountered this one twice, and it really fucked up the level). Perhaps we should works this into the article. Perhaps we should ad screenshots. I sadly have no save with the star river like chasm anymore (abandoned those). --[[User:Soyweiser|Soyweiser]] 18:45, 7 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
I'm playing a fortress right now with the same type of &amp;quot;pit&amp;quot; chasm.  I'll see if I can get a shot of it to add to the page. --[[User:Sk128234|Sk128234]] 19:08, 7 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
Are the surface chasms visible from the map when selecting the site? It would be great to get a screenshot of that for the page to look similarly to the volcano page. --[[User:JPolito|JPolito]] 02:26, 18 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
:They're not visible until you actually embark.  Same thing for kobold caves.  However, if they reach the surface at all, you can see every single tile they contain right away.--[[User:Maximus|Maximus]] 15:05, 19 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
I don't think that chasms are the only things that can produce 20+ cliffs. I have a fortress now that is right on the edge of a massive cliff.--[[User:Zonhin|Zonhin]] 19:39, 18 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
I have a pretty oddly shaped chasm, or at least i think i do.  It starts from the corner of the map in a river like shape, then it splits off into 5 smaller 'fingers.'  I've mined alot of the rock around it; it has a wide assortment of metals, gems, and stone i havent seen anywhere else on the map.--[[User:Hiho216|Hiho216]] 00:58, 23 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Apparently, you have a chasm that got the same code as a river source/delta, as that creates the same sort of 'fingers.'--[[User:Alfador|Alfador]] 11:34, 23 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
The article says that cave spiders &amp;quot;Often cave spiders are present near chasms&amp;quot;. Shouldn't it be &amp;quot;Cave spiders spawn periodically near chasms&amp;quot;? I haven't seen chasm without those awesome little silk spawners. --[[User:Someone-else|Someone-else]] 08:09, 22 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
I have a pic of the end of a chasm here: http://img168.imageshack.us/img168/8286/chasmendfl7.png&lt;br /&gt;
Not sure if it's notable... [[User:QMarx|QMarx]] 23:59, 26 April 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33249</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=33249"/>
		<updated>2008-04-23T02:20:39Z</updated>

		<summary type="html">&lt;p&gt;QMarx: Signature didn't complete?&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;
== 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;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Trap&amp;diff=18437</id>
		<title>40d Talk:Trap</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Trap&amp;diff=18437"/>
		<updated>2008-04-13T22:48:30Z</updated>

		<summary type="html">&lt;p&gt;QMarx: /* cage traps/ fire imps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== cage traps for food ==&lt;br /&gt;
Couldn't one generate a mild supplementary food source by putting cage traps out on the map at random? Or create rows of them to catch aggressive creatures that are chasing down a fleeing dwarf. The ability to place them on the surface has some interesting possibilities. [[User:Kefkakrazy|Kefkakrazy]] 04:45, 4 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
: You can really do this with any kind of trap now - I built a 1 tile wide stair/corridor up an exposed cliff face, and as I was concerned about goblins and the like I stonefall-trapped it. Ever since then some of the local wildlife has used it to get up and down the 5 z-level cliff, with predictable and hilarious results. The goats just die, but the marmots are hurled off the cliff face to splatter on the ground below. It's a nice easy meat/leather/fat source, as well as being entertaining &amp;quot;Dwarfy McDwarf cancels reload stone trap - interrupted by (flying) hoary marmot&amp;quot; [[User:Acama|Acama]] 19:48, 20 December 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==berserk dwarves==&lt;br /&gt;
Will berserk dwarves set off pressure plates? Toady mentioned he was going to stop that from happening [[User:VengefulDonut|VengefulDonut]] 19:39, 4 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==flooding a spiked pit==&lt;br /&gt;
Will flooding a spiked pit break or cancel the spike trap? I'd test this, but I don't have the channel dug in yet. --[[User:Xazak|Xazak]] 18:30, 5 November 2007 (EST)&lt;br /&gt;
:confirmed that flooding doesn't affect spear/spike traps. [[User:YayTheDwarves|YayTheDwarves]] 17:52, 6 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
I'm pretty sure the &amp;quot;corpse stuck in trap&amp;quot; chance is 50%, according to Toady either on IRC or some forgotten forum post a few months back.  I really can't remember for sure.  -[[User:EarthquakeDamage|EarthquakeDamage]] 02:31, 10 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
==cage traps/ fire imps==&lt;br /&gt;
I've secured the entries oy my magma furnaces with cage traps, but it seems that the fire imps just walk through.&lt;br /&gt;
Just as the Giant moles did. How so? --[[User:Doub|Doub]]&lt;br /&gt;
:supposedly there is a bug that causes any creatures on the map when it is generated to count as residents, and thus know where your traps are and not trigger them. I've never run into the problem myself, but I've never specifically tested for it so I can't really say for sure if it still exists (or ever did). --[[User:BurnedToast|BurnedToast]] 07:41, 6 January 2008 (EST)&lt;br /&gt;
:I had read about this and tried it out with a trapped coridoor next to my magma vent - an imp I tempted out walked right through 4 cage traps and 4 stonefall traps without triggering them. Seems like indigenous life is currently trap-immune. Most magma creatures can be dealt with by a few marksdwarves though, so you're only in serious trouble if you have a herd of skeletal hippos on your map on embark.--[[User:TangoThree|TangoThree]] 15:42, 19 January 2008 (EST)&lt;br /&gt;
::There's always the menacing spike + lever combo. And pits. [[User:Benitosimies|Benitosimies]] 16:08, 10 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I'm planning on making the only passage to my fortress filled with cage traps, but I'm not sure if dwarves going out and migrants and traders coming in will be affected by them. Does anyone know? Also, do trolls smash goblin cages? [[User:Patarak|Patarak]] 21:41, 23 January 2008 (EST)&lt;br /&gt;
:Only hostile units will trigger traps.  Trolls only smash buildings and after a goblin is captured the cage is not built.  So the answer to your second question is no.  --[[User:Karlito|Karlito]] 21:45, 23 January 2008 (EST)&lt;br /&gt;
::Make sure to forbid the traps when the siege starts. Otherwise your dwarves will rush out to reload them and store all the cages. --[[User:Ikkonoishi|Ikkonoishi]] 22:53, 23 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Is it possible that Kobold thieves/Goblin master thieves can also trigger traps? I think I killed one and caged another master thief in the past. Maybe the quality of the mechanism is important here? --[[User:Qwertyu|Qwertyu]] 13:24, 17 March 2008 (UTC+1)&lt;br /&gt;
&lt;br /&gt;
:goblin thieves, both regular and master, have always triggered traps -[[User:Chariot|Chariot]] 14:18, 17 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::So why does the article then say &amp;quot;Sneaking enemies do not trigger traps&amp;quot;? Goblin master thieves seem very sneaky to me. --[[User:Qwertyu|Qwertyu]] 20:33 17 March 2008 (UTC+1)&lt;br /&gt;
&lt;br /&gt;
:::once goblin thieves are revealed they are captured fine. even revealed kobolds dont trigger. -[[User:Chariot|Chariot]] 15:45, 17 March 2008 (EDT)&lt;br /&gt;
:::: At least &amp;quot;normal&amp;quot; goblin thieves are scewered fine without being detected, says my weapon trap --[[User:Koltom|Koltom]] 16:58, 17 March 2008 (EDT)&lt;br /&gt;
:::: I have to agree with Koltom, I got an &amp;quot;Ambush&amp;quot; event when a goblin (master) thief went into a cage trap, and had another one cut to pieces by a serrated disc, which I only noticed when suddenly all my dwarves rushed off to remove his clothes. --[[User Quertyu|Qwertyu]] 13:31 (UTC+1)&lt;br /&gt;
:::: Weapon traps apparently have a chance of friendly fire.  At least, that's what the ghost of my Kitten(tame) told me... [[User:QMarx|QMarx]] 18:48, 13 April 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Crossbow Trap? ==&lt;br /&gt;
&lt;br /&gt;
How does a crossbow trap work? Does it have line of sight, like a Dwarf? {{Unsigned|Lordmick134}}&lt;br /&gt;
&lt;br /&gt;
Ranged weapons in weapon traps work much the same as melee weapons do, attacking the creature which triggered the trap. The only real difference in functionality seems to be that they require and use up appropriate ammunition, and (according to the article) do not get occasionally stuck and need cleaning like melee weapons in a weapon trap do. --[[User:Janus|Janus]] 21:31, 28 March 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=Utility_Talk:Dwarf_Companion&amp;diff=33245</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=33245"/>
		<updated>2008-04-04T00:36:04Z</updated>

		<summary type="html">&lt;p&gt;QMarx: Signed&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;
== 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;
== 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;
20:36, 3 April 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>QMarx</name></author>
	</entry>
</feed>