User:Chris/dNetHack/bugs

From NetHackWiki
Jump to: navigation, search

Researching wards inside a book shop incurs no penalty Jubilex (talk) 01:07, 2 September 2015 (UTC)


Kicking a monster with a lit candle using hammerfeet into a pit causes a flood of error messages. IIRC it was one per turn until I got off of that level. -Ozymandias




Long messages are truncated when playing as Pirate. (on dnethack.ilbelkyr.de) --Transcendreamer (talk) 18:22, 9 June 2014 (UTC)

  • Removed pirate messages from dNAO.




Killing a giro crashes the game. After I kill it the giro gives a death speech, a bit of advice, explodes and the game promptly crashes.

Ndwolfwood 21:40, 17 October 2014 (UTC)

Yay. It doesn't do that anywhere near 100% of the time, so this could be fun to track down. Is there any additional context? Ie, any other monsters caught in the blast etc. It's also possible that this relates to their death drop, which is a low enough chance that it may not have been triggered before.

---Chris (talk) 04:16, 18 October 2014 (UTC)


This was my first run through the game minus a couple near immediate deaths. I killed the garo and restored the game when prompted. I killed the garo I believe four more times in melee combat with the same result. After that I got fed up and on restore moved on to the mines. Which then killed me with a juggernaut. That's a nice addition. Any advice dealing with those? Ndwolfwood 06:24, 18 October 2014 (UTC)

Can you provide a stack trace from the garos? Killing a garo does not crash the game for me, nor does it crash dNAO. What system are you on?

Juggernauts move in a straight line, turning periodically to face toward you. They can attack the three squares on their 'forward' facing:

..x ...
.GX .Gx
..x .xX

. Can't attack
x Attacks 50% of the time
X Attacks 100% of the time

(for Juggernauts moving right and diagonally down-right respectively)

They also don't recover HP over time.

---Chris (talk) 14:42, 18 October 2014 (UTC)


I don't know if this is a bug or not. However it seems a bit strange. I am on the Neutral Quest and my pet Solar kills Axus. I get the numerous "it gets angry" messages. I apply my magic whistle and summon my solar. He promptly attacks me. So my solar is behaving hostile yet still is highlighted as a pet and treated as one when applying a magic whistle. Is this a bug and if not how do I pacify my Solar.

That is a bug, of the rather dumb sort >_<. I guess nobody killed Axus with a pet nearby before. I'm uploading a fix for the root bug to github, but re-taming the Solar will require some additional error-recovery code. Are you playing on the public server?

---Chris (talk) 07:21, 10 November 2014 (UTC)


No I'm just playing off my laptop. Please don't go through the trouble of writing code to retame the Solar. As is I am getting the most fun I've had of any variant. Despite many many deaths at this point. The alignment levels are extremely well done. I am curious about the keys though. Why are there no Chaos keys? Also what are the Keys of Law for? I used the Neutral Keys to enter Gehenna but I can't find a purpose for the Keys of Law. Ndwolfwood 13:31, 10 November 2014 (UTC)

The alignment keys are used to get into gehennom, as you found :). Any three alignment keys may be used for this purpose, in any combination, meaning that you don't need to fully explore all the alignment branches to beat the game. There is a set of Chaos keys in addition to the other alignments, the first two may be hidden a bit better than the other sets of keys, though :).

The second keys are a bit special, as you may have noticed, although this only matters for Binders.

---Chris (talk) 19:55, 10 November 2014 (UTC)



So again I am not sure whether this is a bug or by design. In one of my games I am playing a samurai. I got a wish in minetown early on, got Platinum Dragon Plate and returned to the main dungeon due to being to weak to fight juggernauts. Throughout this period I am wielding my starting katanna and am receiving the various attack bonus on occasion from Platinum Dragon Plate. I recently completed the quest and found out the hard way that the Tsurgi is bloodthirsty. Accordingly I've been walking around barehanded and fighting without a weapon if the monster is weak. I have not once received Platinum Dragon Plate's attack bonus's while fighting unarmed. However I am still receiving them regularly when I toggle to fighting with the Tsurgi. Is Dragon Plate Armor designed to only hand out its bonuses when you are wielding a weapon? If so what is the rationale for this?

Ndwolfwood 20:18, 11 November 2014 (UTC)

That is also a bug. There is a big bifurcation in the damage-dealing code, handling unarmed vs armed combat. The function that adds the dragon plate effects is getting called in the armed combat side of the split but not the unarmed combat side.

It's fixed on Github now.

---Chris (talk) 23:51, 11 November 2014 (UTC)

So I've got a Solar again and something that I realized may be a bug is that the Solar eating nosily on a regular basis which as a practical matter for gameplay makes it difficult to get him to go down levels with me. The reason that I believe that it might be a bug is that according to the wiki all "A"ngel class monsters do not eat. I also have yet to observe the Solar actually eat anything but that is probably due to inattentiveness on my part. You also could have intentionally changed the Solar on purpose to enage in that behavior for all I know but I figure that you made a bug page so that even potential bugs such as this are bought to your attention.

Sorry for the late reply: There was a bug in the pet AI code that caused inediate pets like Solars to become hungry, even though they should not. It should be fixed now.

---Chris (talk) 00:42, 22 November 2014 (UTC)

When you are blind and you "try to feel" Cthullu's corpse when walking on to the square it is on you do not revive him. However if you try to pick him up he is revived. It seems like either way you are touching him.

Also the disintegration effect of platinum dragon armor still allows for a corpse to be left. If it were to be consistent with a black dragon's disintegration breath attack I am pretty sure that a corpse never would be left.

Ndwolfwood 16:27, 5 December 2014 (UTC)

Yeah, the disintegration specials of PDP and black dragon plate pass through different code than the black dragon's breath weapon. One of these days I will fix that :).

I believe the behavior of Cthulhu's corpse is consistent with Rider corpses. The text that is displayed doesn't really line up with the actual behavior, I guess. I wonder if the devteam changed that in 3.5?

--Chris (talk) 01:57, 8 December 2014 (UTC)

I had another experience that may or may not be a bug. So I made it down to the Castle and I get in trouble. I pray and the first couple monsters back away. Thus my prayer was successful. Then a drow matron mother casts a variety of spells while I am praying which I thought should leave me protected from all attacks. During this barrage of spells I die. Are the high level spells designed to get around successful prayer or is this a bug?Ndwolfwood 18:26, 15 December 2014 (UTC)

This would be a bug, but I can't replicate it and there is code in mcastu that should prevent it. Said code was added on Aug 27, so if the version you're using is older than that, that would explain it. On the other hand, this bug definitely existed before that, and it is possible that there is still a loophole in the caster code that sometimes allows them to cast at praying characters. The relevant commit: https://github.com/Chris-plus-alphanumericgibberish/dnethack/commit/ede70527877c78b88cea9741cf2f7a1463f7fc57

--Chris (talk) 20:35, 15 December 2014 (UTC)


I definitely downloaded the game after August. Either late September or early Oct. Ndwolfwood 21:24, 15 December 2014 (UTC)

Can you check if that critical line ( if(mtmp->mcan || mtmp->mspec_used || !ml || u.uinvulnerable) ) appears in your copy of mcastu.c? I can't get the bug to replicate, and that being missing somehow would be the easiest explanation.

--Chris

I opened mcastu.c with notepad and I could not find that line when I performed a search. That solves that. Ndwolfwood 07:44, 16 December 2014 (UTC)


A few things I encountered while playing on the AceHack server:

Reading the etched rusty Second Key of Chaos generates an impossible message ("What weird effect is this (251) Program in disorder - you should probable S)ave and reload the game")

Also, a U that spawned in the Neutral Quest tried tunneling through a tree which gave a message about something being undiggable, and prompting me to save and reload again.

When two-weaponing with the Platinum Dragon Plate, if you disintegrate a monster on the first swing, the second one does through (foo disintegrates --More-- You hit the foo. You kill the foo!)

--Gragaloth (talk) 22:35, 24 February 2015 (UTC)



Dumplog https://nethack.xd.cm/userdata/VOR/dnethack/dumplog/1428794842

 Your soul was  bound to Amon, Ose, Simurgh, Otiax, Andromalius, Acererak, the Council of Elements, Eden, Miska, and Numina ... 
 Asmodeus misses.
 Asmodeus misses.
 Asmodeus casts a spell at you!
 Oh no, he's using the touch of death!
 You die...

... it doesn't look as though Ose's immunity to death effects is fooproof? Wikid (talk) 22:03, 25 April 2015 (UTC)

So THAT'S what triggers that bug. Yesterday I thought I found a bug that was sometimes allowing monster spellcasters to do uncapped damage to Magic Resistant players, but I couldn't replicate it and figured that I must have misunderstood what happened. The spellcasting code rolls damage even for spells that don't normally do HP damage. If the code for such spells doesn't 0 out the damage variable, high level monsters can do stupid high amounts of damage.

--Chris (talk) 22:24, 25 April 2015 (UTC)

So, paradoxically, were it not for the magic resistance, Ose's death immunity would have saved that game. Best advice might be put on the AoLS before approaching Asmodeus and similar. Wikid (talk) 22:39, 25 April 2015 (UTC)

I hope you've been able to squash that bug, because I'm about to go back to Gehennom. This time with AoLS! The dNethack Binder is a lot of fun to play. Thanks! Wikid (talk) 11:19, 3 May 2015 (UTC)


Some more observations playing as a Binder at nethack.xd.cm:

  • Binding Jack into Pen of the Void -- the Pen becomes a permanent unextinguishable light source and stays that way after Jack's binding ends. To start with, the Pen only lights up when you wield it, and goes out when you unwield it. I think it might be the first time a monster invokes darkness that the Pen decides to be always on.
  • Twoweaponing is not possible with Numina, even though the skill is shown as being unrestricted, you get the message "Binders cannot use two weapons at once". Twoweaponing is only possible with Miska bound.

I don't know if these things were intended but I just thought I'd mention them. Wikid (talk) 07:32, 4 May 2015 (UTC)


The Jack thing is not intended, light sources in nethack are tricky >_<. The Numina/twoweaponing thing is intended. I believe that the skill can still be useful if you polymorph into a form that can twoweapon, such as an elfking or marilith.

--Chris (talk) 22:04, 11 May 2015 (UTC)

The Numina decision is good, restricting twoweapon to Miska or polymorphed form maintains gameplay balance. Regarding Jack, everyone likes a permanent lightsource. Apart from Drow. Chew on that, Silver Star Carrying Matron! Wikid (talk) 09:36, 12 May 2015 (UTC)


Garnet Rod bug: stopped time, went down stairs, monsters got a free hit in Wikid (talk) 08:38, 6 May 2015 (UTC)

This is in the fuzzy area between bug and not-bug. Garnet Rod's timestop power doesn't actually freeze monsters right away, it lets them exhaust their current movement points first. When you moved down the stairs, you found monsters that hadn't used up all their movement points left over from when you were last on the level, and they got to use up those leftovers.

Garnet Rod's timestop effect is not as robust as it could be :-/

--Chris (talk) 22:04, 11 May 2015 (UTC)

Not a worry, that's interesting -- I'd just call it the in-game physics of stopping time Wikid (talk) 09:36, 12 May 2015 (UTC)


It's hard to keep Iris bound -- any encounter with reflection breaks taboo. This also applies if blinded by a R'Lyeh facemask -- surely a bug? Wikid (talk) 11:43, 11 May 2015 (UTC)

Yep, that's a bug. Thanks :) Chris (talk) 22:04, 11 May 2015 (UTC)


I just started playing again and just downloaded the game again. I got a wish via lamp in Dwarftown and I wished for Chromatic Dragon Scales. The game says it does not exist. I also tried for chromatic scale mail. Again the game says it does not exist. I only know of the artifact from the wiki. Same as to stormhelm. Does the armor simple not exist yet? Or is this a bug of some sort. Ndwolfwood 06:33, 16 October 2015 (UTC)

Both armors exist and are wishable in the most recent version, however, if you are playing offline you may be using the graphical version. That version is now lagging very far behind the tty version, due to development shifting to the non-graphical online version, dNAO. I am intending to try to draw all the missing tiles and get the graphical version caught up to the online version.

--Chris (talk) 18:02, 16 October 2015 (UTC)


Hi Chris -- are you able to recover a crashed game? It's on nethack.xd.cm, user VoR. It crashed on the ChrisANG bones level! Wikid (talk) 08:05, 24 October 2015 (UTC)

It should do an autorecovery the next time you start playing. If that is not working, I think your most recent save can be restored, but we have to talk to kerio. --Chris (talk) 15:30, 24 October 2015 (UTC)

I got a recovery prompt but it went away and now it's prompting me to start a new game. Incidentally it was a water caves bones level with an altar with some sheaves of hay next to it at the lower left corner of the map, ChrisANG was killed by a warg. If you remember that one! Wikid (talk) 19:31, 24 October 2015 (UTC)

I'm not sure if you saw this on IRC, but the dwarf locate level probably should not save bones, or something to that extent. Catullus (talk) 23:50, 26 October 2015 (UTC)

This was in the main dungeon, o Catullus. Just South of Sirmio.

I've emailed kerio -- thanks for that advice Chris! I'm still on my hitherto slimemoldless quest to ascend a Knight in dNethack Wikid (talk) 04:07, 27 October 2015 (UTC)

Back in action thanks to Kerio. Your toxic bones file has been vapourised. Sokoban lost its AoR and gained a BoH. I was attacked by a lectern for the first time. Thanks Chris! Wikid (talk) 06:04, 28 October 2015 (UTC)


Freezing spheres are subject to the effect of the Lullaby song (sleep). I assume other magical spheres are as well. Also, when playing the Friendship song (taming), it asks for a direction, just like in the tame spell. --Arkanoid (talk) 01:28, 4 July 2016 (UTC)



At turn 50759 in my game, I got the message "Demogorgon casts a spell at you!" and I lost 395 hit points all at once (from 761 to 366). Is this a bug? Wikid (talk) 03:35, 14 August 2016 (UTC)



Incantifiers can not eat magic from charged missiles e.g. arrows. Looks like a bug. --Transcendreamer (talk) 14:53, 9 December 2016 (UTC) From memory it's deliberate in light of the ability to enchant arbitrarily large stacks of missiles, if they became edible this would unbalance the role. Wikid (talk) 19:14, 9 December 2016 (UTC) --- Yes, I see... probably this could be resolved by taking item's type into calculations and setting little magic value for missiles... or just changing the message "You can not eat this" - it's confusing. --Transcendreamer (talk) 10:49, 11 December 2016 (UTC)

As Wikid noted, it's to prevent players from enchanting large stacks of ammo to gain huge amounts of food. I'm not sure if I should change it. Unless ammo gave a really absurdly small amount of energy, it would be trivial to obtain ammo to game the system. On the other hand, there are a lot more prominent loopholes right now. ---Chris (talk) 17:40, 11 December 2016 (UTC)



Dwarves are producing enormous number of rocks in mines by digging - is it made by design? Mines levels appear to be too much cluttered with rocks. --Transcendreamer (talk) 19:29, 15 January 2017 (UTC)



Minor typo in Mi-Go fungus soldier description: "equiped" instead of "equipped". --Transcendreamer (talk) 09:07, 8 March 2017 (UTC)


If I idenitfy a item before buying it the item gets listed as stolen. I did not actually steal it though. Is that a bug or not. ----wolfwood20:01, 2 July 2017 (UTC)


I just started playing dnethack again and I am having the same issue as I noted a couple years ago regarding killing Garo. After I kill one the the garo gives a message and then the game crashes. Wolfwood (talk) 00:39, 7 July 2017 (UTC)

As noted previously, I can't recreate this bug. What version are you using? ---Chris (talk) 13:58, 23 July 2017 (UTC)

3.4.3 It is the current version you have hosted for download here https://github.com/Chris-plus-alphanumericgibberish/dnethack 06:39, 24 July 2017 (UTC)


Strangely, hitting period key for resting produces command for ordering pets to wait, and how it's supposed to rest now? - assigning space key does the same... ——Transcendreamer (talk) 13:02, 23 July 2017 (UTC) This is a transitional bug that was introduced because those two commands briefly had the same name in dNAO. Once you complete your current game, it shouldn't happen anymore. There are two workarounds: 1) you can skip turns with 's', 2) if you need to use the old '.' command for some reason (playing as clockwork?) it is available as the extended command #rest. --Chris (talk) 13:58, 23 July 2017 (UTC)

  • OK in the last update.


My spellbook of Infinite Spells got wet. It is now listed as a "plain spellbook named Scroll of Infinite Spells" However the book can still be read. Presumably it should either be a plain spellbook that can't be read or it should not be listed as plain. Wolfwood (talk) 06:39, 24 July 2017 (UTC)

I just got a robes of the archmagi. In the artificat description in the wiki it says the robes grant reflection but in the game the robes do not. 18:57, 26 July 2017 (UTC)

Ah, it is the wiki that is in error, thanks ---Chris (talk) 20:30, 26 July 2017 (UTC)


When a pet picks up an item in a shop, you can #loot the item from the pet. It's not recorded as belonging to the shop anymore, so you can get free stuff. All you have to do is follow around your pet and grab anything as soon as it picks it up. (it doesn't matter whether you or the pet are inside the shop or anything like that) If you use a strong pet, like a warhorse, and load the whole contents of the shop into 1 BoH/sack then you can sell back everything in 1 turn. This doesn't work with gold however, the #loot menu appears to not let you choose to grab gold. Another bug?


Also, not a bug but an oversight: it's possible to be gifted The Arkenstone or similar light-giving artifacts as a Drow. I was playing a Hedrow Priest, I had to ditch the Arkenstone because I can't turn the light radius off (except maybe a bag, but I didn't have one).

--EasterlyIrk (talk) 14:45, 27 July 2017 (UTC)

Another bug: Elvish noble doesn't appear to recognize a "runed helm", despite elven helms being shown in "discoveries" (with the starting asterisk) from the race. Also, stepping onto a water trap and having it hit a fireproof elven spear (in this case, the Rod of the Elvish Lords) identifies the spear as fireproof, despite being hit by water. Elven spears are never going to rust from water either.



I love dNethack, and would love to continue playing it. But over the last few days it seems like drow characters in illuminated rooms cannot see ANYTHING, as if they were under "blind" status. It used to be possible to see at least 1 square away in the light. Now all illuminated rooms are very difficult to navigate and I keep bumping into my pet and accidentally attacking it. Is this a bug or a feature of a new update? Thank you for your support

——Grocchini (talk) 11:02, 14 August 2017 (UTC)Grocchini 13:01 14 Aug 2017


Using the Echos of the Last Word #power (from Tenebrous, supposedly removes a drain resis creature from the game) on a rabid rat zombie segfaulted, ruining my somewhat promising run. I don't think that's intentional.

When a pet is killed by a zombie, it will return from the dead as a zombie. However, it stays tame!

D       a dragon (Half-dragon knight called rikerw, mounted on your large pseudodragon zombie)--More--

This is oddly endearing, because I felt kinda sad about losing my pet. (gnome zombie killed gnome king, who returned and killed my pet) It was originally unsaddled, but it's now saddled again. And obviously, #riding works just as well on a zombie of a rideable creature.

I have a feeling this is unintentional. Should zombified pets stay tame and/or rideable?

Also, the irony of a lawful knight riding a zombie dragon is not lost on me.

P.S. Also, it's still eating corpses, which doesn't sound right at all.

--EasterlyIrk (talk) 17:36, 25 August 2017 (UTC)


I threw a rock troll corpse into lava. The game said it burnt. Several turns later the troll rose up in the lava and then burned to a crisp again. Functionally it does not change the game much but it is still a bug. 05:55, 19 September 2017 (UTC)

I did try a experiment. I threw a troll corpse into lave. I fired a wand of cold at the lava. I then dug a pit. The pit had a troll corpse in it. A corpse which should have burned to a crisp. 06:07, 19 September 2017 (UTC)


I got engulfed into a metroid queen. Once inside she attacked me with her digestion attack. This crashed the game. The game said: "Suddenly the games collapses. Report the following error to "nethack-bugs@nethack.org" floor effects obj not free"

and prompted me to hit enter to end the game


Wolfwood (talk) 07:13, 22 September 2017 (UTC)


HELP!!! I have a level 30 binder in the middle of completing the role quest. When I entered the last section of the quest, where I am supposed to convert 3 altars in order to access the final altar where I can meet Acerack, one of the angered priests or their respective god created an earthquake that destroyed one of the temples before I was able to convert it. So now only 2 of the 3 doors to the final altar are open and there is no way to open the last one. I tried with a confused scroll of consecration (the only one in the game) but it generated an altar of an alignment I already converted, so even if I converted a third alar the door to acerack's altar is still closed. I might not be able to complete the quest. Does it mean the game is unwinnable...? --Grocchini (talk) 15:50, 26 September 2017 (UTC)——Grocchini (talk) 15:50, 26 September 2017 (UTC)

Last I checked, altars couldn't be destroyed by earthquakes? Shouldn't the last altar still be there? The temple may not exist, but the altar should still. Try converting that.

Thank you, but unfortunately there is a pit now where there was supposed to be a temple. And due to my character being a binder I don't have access to the Silver Key (dnethack alternative to bell of opening). I tried all means to open the door to the nemesis, but nothing will work... --Grocchini (talk) 16:37, 26 September 2017 (UTC)




Since some time this summer (2017) Drow characters act as if blind when standing in lit areas, rather than having a vision of 1 square. is this intended?



Not sure if this is a bug, but I am trying to understand how Keter Sephiroth work, meaning that from reading their entry in this wiki it would seem to me that they are supposed to appear randomly but also based on a certain type of actions you take, such as breaking you role's internal laws or stealing in shops, etc. However, I have played quite a few games on dNethack now (as Binders moslty, ubt also Anachrononaut, Barbarian and Pirate) and it seems to me that these pesky creatures simply start to show up some time after your character reaches level 7 or 8. They are almost always a game over for me because even if my character is strong enough to bring down few they seem to endlessly multiply whenever at least one lashes on me. The only time they have ceased being a problem was one time I had a lvl 28 binder who could kill the malkuth Sephiroth in one hit and quickly dispach all of them. But whenever my character is less strong they force me to avoid them via teleport (because they chase you trhough levels otherwise). So my question is, are they supposed to show up at every game or do I inadvertedly always cause them to show up by doing something I am not supposed to? Thank you guys for your help --Grocchini (talk) 13:51, 2 October 2017 (UTC)

Grocchini: The keter appear as part of the standard monster generation if you have trespassed. Some are for shop-stealing, but you're likely encountering hod sephiroth (internal laws, i.e. monks and meat) or gevurah (cheating death). Malkuth are generated to accompany these. In addition, each keter has 1/5 chance to revive after death.

There are counters increased for hod and gevurah sephiroth, based on how many times you've broken their laws. Binders start with the counters preset for 10 hod wantedness and 5 gevurah, so they have a chance of encountering them. Those keter are only generated if you are considered strong enough to handle them, so it's possible they are pent-up and thus are spawned when you reach the minimum XP level.

I'm not sure why they are showing up as ana, barb, or pirates, but it's likely one of those reasons. You may also be finding bones files of your dead binders, if applicable. --EasterlyIrk (talk) 21:14, 21 October 2017 (UTC)