User:Chris/dNetHack/bugs

From NetHackWiki
< User:Chris‎ | dNetHack
Revision as of 04:47, 16 December 2014 by Chris (talk | contribs)
Jump to navigation Jump to search

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