🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #892

Re: Core dump in nethack..

#892
From: Ed Hall
Date: Fri, 21 Aug 1987 02:55
24 lines
1386 bytes
In article <286@suadb.UUCP>, flax@suadb.UUCP (Jonas Flygare) writes:
> 
> I get a bus error with the accompanying core dump every time I 
> teleport out of a shop. Before I try to find what went wrong..
> Anyone out there got a fix?
> -- 
The fix is in the file shk.c. There are 2 occurances of the line:

	    mm = enexto(mm.x, mm.y);

Change both lines to:

	    enexto(&mm, mm.x, mm.y);

Other possible bugs I haven't looked at yet:
1) Sometimes when I start a game, my character(@) and the dog occupy the
same location on the screen.
2) When I was testing the above bug fix in WIZARD mode, I found a lot
of shops with several doors. I don't know if this happens in a regular game
or not (or if it is wrong).
3) If I remember right, monsters follow you down stairs. They don't do
that anymore. It makes it to easy to escape.

Ed Hall
Technical Details
Message-ID: <228@mitisft.Convergent.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!sri-unix!ctnews!mitisft!eeh
References: <286@suadb.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!sri-unix!ctnews!mitisft!eeh
From: eeh@mitisft.Convergent.COM (Ed Hall)
Newsgroups: comp.sources.bugs
Subject: Re: Core dump in nethack..
Message-ID: <228@mitisft.Convergent.COM>
Date: Thu, 20-Aug-87 22:55:27 EDT
Article-I.D.: mitisft.228
Posted: Thu Aug 20 22:55:27 1987
Date-Received: Sat, 22-Aug-87 18:15:20 EDT
References: <286@suadb.UUCP>
Organization: Convergent Technologies, San Jose, CA
Lines: 24
Summary: bug fixed