🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.hack
Article #166

Re: Another hack core dump

#166
From: play
Date: Sat, 26 Jan 1985 15:07
42 lines
2265 bytes
In article <157@ski.UUCP> jkh@ski.UUCP (Jordan K. Hubbard) writes:
>I was somewhere around level 20 (as a *WIZARD* of course!) when I was
>devoured by a purple worm.. In a funk, (I had no digging wand) I read my
>scroll of levitation.. Zap! Another core file in my directory..

Thanks for this clear description of the bug! Since there is no object
"scroll of levitation" it follows that you were confused. Now assuming
that it was a scroll of teleportation you read while being confused,
this will have teleported you (but not the purple worm) to some other
level of the cave. An interesting situation arises: you are in the
stomach of a monster that is on another level, and a core dump results.

For those too impatient to wait for version 1.0.2 here is the fix:
*** hack.do.c	Sat Jan 26 11:09:13 1985
--- /usr/games/src/hack/Distr_1.0.1/hack.do.c	Mon Jan 21 22:55:22 1985
***************
	[Lots of differences that you will get to see next month.
	 For our present purposes the interesting diffs are: ]


***************
*** 524,533
  	if(Punished) unplacebc();
- 	u.utrap = 0;				/* needed in level_tele */
- 	u.ustuck = 0;				/* idem */
  	keepdogs();
  	seeoff(1);
-  	if(u.uswallow)				/* idem */
- 		u.uswldtim = u.uswallow = 0;
  	flags.nscrinh = 1;
  	u.ux = FAR;				/* hack */
  	(void) inshop();			/* probably was a trapdoor */

--- 482,487 -----
  	if(Punished) unplacebc();
  	keepdogs();
  	seeoff(1);
  	flags.nscrinh = 1;
  	u.ux = FAR;				/* hack */
  	(void) inshop();			/* probably was a trapdoor */

[This diff is reverse - sorry.]
Technical Details
Message-ID: <245@turing.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!houxm!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!mcvax!turing!play
References: <157@ski.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site turing.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!houxm!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!mcvax!turing!play
From: play@turing.UUCP
Newsgroups: net.games.hack
Subject: Re: Another hack core dump
Message-ID: <245@turing.UUCP>
Date: Sat, 26-Jan-85 10:07:10 EST
Article-I.D.: turing.245
Posted: Sat Jan 26 10:07:10 1985
Date-Received: Wed, 30-Jan-85 06:31:40 EST
References: <157@ski.UUCP>
Reply-To: play@turing.UUCP (The MC-funhouse)
Organization: CWI, Amsterdam
Lines: 42
Apparently-To: rnews@mcvax.LOCAL