[net.sources.games] Hack bug

gil@svax.UUCP (04/12/87)

===============================================================================
You miss the large dog.  The large dog devours the tripe ration.  More--
The large dog dies from hunger.

Whoops.  Guess it couldn't digest fast enough.
===============================================================================

One of the users here saw the above, and made the comment that follows.
I've looked at the source, and don't see how it could happen.  In tamedog()
(in hack.dog.c, the only place where there's any devouring) initedog() is
unconditionally run, and this code sets "hungrytime" to 1000+moves.
So how could the dog immediately die?
					- Gil

wigglesworth@wateng.UUCP (04/14/87)

In article <1216@svax.cs.cornell.edu> gil@svax.cs.cornell.edu (Gil Neiger) writes:
>So how could the dog immediately die?

Along the same lines, I had an interesting experience with a tame dog
dying of hunger.  I was starting a brand new game and my first move
was 'C' to name my dog "Shep".  Immediately afterwards came the message
"Shep dies from hunger" or something to that effect -- two moves!  How
is this possible?  Has this ever happened to anyone else?

One other observation: NEVER and I mean NEVER go into a shop with your
dog while wearing a ring of conflict!
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joe "yes that's my real name" Wigglesworth
Computer Communications Networks Group
University of Waterloo, Canada