[net.games.rogue] Bug in 5.3! READ THIS! Important!! Slight spoiler.

laman@sdcsvax.UUCP (Mike Laman) (10/12/84)

> From: gary@rochester.UUCP
> Path: sdcsvax!sdcrdcf!hplabs!hao!seismo!rochester!gary
> Newsgroups: net.games.rogue
> Subject: bug in 5.3
> Date: Fri, 28-Sep-84 22:44:24 PDT
> Organization: U. of Rochester, CS Dept.
>
> If I drop all of my stuff to go fight a nymph, when I pick it up again,
> my inventory gets all munged. I suddenly have 20 amulets of Yendor.
>
> I don't read this newsgroup. If there is a fix, can someone mail me?
>
> gary cottrell	(allegra or seismo)!rochester!gary  (UUCP)
> 		gary@rochester (ARPA)

More specifically, emptying your ENTIRE pack (weapon and ALL) then picking
up an object or two will cause your pack contents to get ALL SCREWED UP.
Unfortunately, the fix is large enough that you wouldn't want to try
patching it into the 5.3 binary!

Do NOT empty your entire pack at ANY time! If you do, you can forget your game!
This has NOTHING to do with the Nymph bug!  The bug is in "add_pack()".
It has a special case where the player's pack is empty.  The special case code
is not complete.  It needs to 1) remove the element from the list of objects
on the floor, 2) add the floor character back on the screen and in an internal
data structure, and 3) zero both pointer fields in the object to remove it from
the doubly linked list of objects on the floor.  [ Yea, it really blew it. ]

What about fighting Nymphs, you say.  If your technique is to drop EVERYTHING,
I'll give you a slight spoiler:  The Nymph will NOT take the player's current
weapon.  So, you could keep your weapon and drop everything else (if you like
using this method to attack Nymphs).

		Mike Laman
		UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!laman