GnollHack Bug Reports and Issues

Janne Gustafsson

Administrator
Staff member
That certainly is an unwelcome experience. The link did not work directly, but I managed to open it by deleting the studio and editor from the link. Nothing out of the ordinary there. The next level is most likely the castle, so it seems like something went wrong with its generation, and NetHack does not seem to recover very well from such cases. It would be great if you could upload all the level files in the GnollHack directory, if they are still there (sometimes they get deleted if the recovery fails, which may be the case here), so I can have a look, what's the problem there. I tested a similar scenario, and all worked fine. I did fix a few bugs after the Pre-alpha 2 release, but I don't think any of them would crash the game in this sort of a situation. If we find the cause, I can make a hotfix to the Pre-alpha 2.
 

Janne Gustafsson

Administrator
Staff member
I think the panic log is the best source for crash information, but I doubt anything got written since there was no panic message. Still, if the game crashes to a pointer error, or if you just terminate the GnollHack window, etc., no panic log gets written but the game should be normally recoverable by restarting the game. Now the recovery does not seem to work, so something more insidious is going on. It would be worthwhile getting the level files from GnollHack directory if they are still there.
 

Hawkwood4268

New member
Thanks for the response, sorry about the video link! Okay I'll upload the whole folder, I cant seem to attach the files here so I'll put it on my drive and share it. I think that should work. Hopefully you can make use of whatever is still left. Let me know if that works, or if there's a better way I can get the files to you.

Gnollhack Folder Drive

There's still a save file too (I think) but it's behaving strangely (I think). I can't open it.
 

Janne Gustafsson

Administrator
Staff member
I think my save file was corrupted :'((

I was so far, had been grinding equipment and was past medusa with a lvl 23 gnollish caveman. I was in the labyrinth beneath medusa's island and jumped down a hole and the game crashed. I have uploaded a video replay of the events leading up to the crash HERE. Not sure if that will be helpful, but I can upload any files that may help.

Corrupted files sometimes happens in vanilla so Im not totally distraught, but it is a sad day for Anomaly the cavedog. Maybe there's a way to recover it that Im not aware of? I wont get my hopes up.

Im on windows 10 playing GnollHack 4.1.0 Pre-Alpha 2.
If you can send the paniclog file, and the save game, if it still exists (a corrupted one can be deleted upon restart), that would be great. I can see from the video that you had a back-up saved game (which apparently did not work). Also, the directory after crash is void of any level files, which seems to indicate that the program closure was caused by something that first caused the level files to be deleted (such as trickery, but that should give a message).
 

Tommi Gustafsson

Administrator
Staff member
If you can send the paniclog file, and the save game, if it still exists (a corrupted one can be deleted upon restart), that would be great. I can see from the video that you had a back-up saved game (which apparently did not work). Also, the directory after crash is void of any level files, which seems to indicate that the program closure was caused by something that first caused the level files to be deleted (such as trickery, but that should give a message).
They show up in shared files for me.
 

Janne Gustafsson

Administrator
Staff member
I think my save file was corrupted :'((

I was so far, had been grinding equipment and was past medusa with a lvl 23 gnollish caveman. I was in the labyrinth beneath medusa's island and jumped down a hole and the game crashed. I have uploaded a video replay of the events leading up to the crash HERE. Not sure if that will be helpful, but I can upload any files that may help.

Corrupted files sometimes happens in vanilla so Im not totally distraught, but it is a sad day for Anomaly the cavedog. Maybe there's a way to recover it that Im not aware of? I wont get my hopes up.

Im on windows 10 playing GnollHack 4.1.0 Pre-Alpha 2.
In fact, it seems like you had an "error save file" ending in ".e", which gets generated only when also paniclog gets written. I think you should have both the paniclog and the error save file available. If you can send them over, we can probably figure out what happened.
 

Janne Gustafsson

Administrator
Staff member
Hi, good news. I did indeed find the bug that caused the crash (some genocided undead monsters, and a related function that didn't work exactly as I had expected). I fixed the bug, as well as a class of other similar bugs related to the same function (which almost never occur, unless many, many monsters have been genocided, which actually may sometimes happen late game). I just made a hotfix release to the GitHub release page, which you can use going forward. However, the original ".e" save game was corrupted by the bug, but as an added plus, I fixed the Anomaly save game, so you can continue it further. Tommi will let you know how to get the fixed save file soon.
 

Hawkwood4268

New member
That's awesome!! I can't believe you managed to fix the bug and salvage my save, thank you so much. I downloaded the hotfixed version and my file works! You guys are the best, I'll see how far I can make it with my cavedog. Thanks again! I'll keep hunting for bugs. 😊

Edit: Actually I may have found one - unless this has been changed intentionally, the Scepter of Might can't be invoked for conflict.
 
Last edited:

Janne Gustafsson

Administrator
Staff member
I looked into this, and the actual bug was that the weapon you have is a normal mace that is named Scepter of Might, rather than the true artifact. The base item was wrong in the quest file (mace as in NetHack, while in GnollHack it should be runed sceptre), so the artifact did not get created, but instead a kind of a cheap normal imitation of the artifact. I fixed this in the caveman quest file. Well, luckily that's not a big disaster, since you got the silver bell anyway, but it seems you have to do without the quest artifact this time. BTW, we did change the the Sceptre so that it has now charges (like all conflict-inducing items), and each invocation expends one, which was the reason that the base item got changed into something special that has charges.
 

Hawkwood4268

New member
That's actually really funny haha I was very confused when all I could find was the mace after killing Tiamat. I thought a monster had nabbed it. The bell is definitely more important.

On another note, I just cleared out castle and got the wand of wishing, but both of my attempts to wish for blessed fixed +2 boots of speed have yielded regular boots. One elven, the other walking. Is this a change to wishing, or is it what I'm wishing for? The elven were enchanted and fixed, the walking just fixed. My other wishes succeeded.

Thanks for the help!
 

Janne Gustafsson

Administrator
Staff member
They are in fact ”speed boots” in NetHack. And in GnollHack, ”of speed” is now a mythic suffix, so wishing now interprets ”boots of speed” as ”boots” with mythic prefix ”of speed”, but boots cant be mythic, so you just get ordinary boots. I can add an exception to wishing that ”boots of speed” will give you ”speed boots”.
 

Hawkwood4268

New member
Ahhh I see, that makes sense, they're even speed boots in vanilla I probably should have double checked. I'm usually a little too careless with wishes, I should be more precise. Recently wasted a wish of The Eye of THE Aethiopica because I missed the second "the".
 

Hawkwood4268

New member
Just cleared out Orcus town and Im not sure if this is a bug, but neither Orcus nor his chest had a wand of death.

Gotta say, Gehennom is a lot harder than in vanilla NetHack. Had a very close encounter with death by harpy seduction and subsequent paralysis. Im not sure exactly what an ascension kit looks like but I think (hope) Im close.
 

Tommi Gustafsson

Administrator
Staff member
His wand of death has been replaced by an artifact called Wand of Orcus that can be invoked for a death ray. Did you find it?
 

Janne Gustafsson

Administrator
Staff member
I found the problem. The Wand and the key were added in different places, and there was a feature in code that if you used the way the key was added to Orcus, it discarded the previous inventory, including the artifact. I now changed the code to be such that the artifact is added in the same place as the key, so they both get generated. In the current pre-alpha 2 version, Yeenoghu is suffering from the same problem, but at least him missing his flail makes him a bit easier than otherwise.
 
Top