Thread View: net.games.hack
1 messages
1 total messages
Started by Jeff Snyder
Fri, 22 Mar 1985 18:32
Memory faults while playing hack!
Author: Jeff Snyder
Date: Fri, 22 Mar 1985 18:32
Date: Fri, 22 Mar 1985 18:32
47 lines
2061 bytes
2061 bytes
(The Rust Monster hits!
/usr/games/hack:
18721 Memory fault)
Sound familiar?
Attention Hackers,
If you've noticed that you have been having a problem with
memory faults lately, this may be your problem. This problem occurs
if you are fighting a Rust Monster while not wearing (owning?) a
helmet. As you can see, the old source still checks the rustfree field
of the helmet object even if it does not exist!!! This is a bad move.
The correction to this typo is included in the context diff below:
*** hack.mhitu.c.old Thu Dec 20 11:33:04 1984
--- hack.mhitu.c Fri Mar 22 13:03:14 1985
***************
*** 172,178
pline("Your helmet rusts!");
uarmh->spe--;
} else
! if(ctmp && uarm && !uarmh->rustfree &&
uarm->otyp < STUDDED_LEATHER_ARMOR &&
(int)uarm->spe >= -1) {
pline("Your armor rusts!");
--- 172,178 -----
pline("Your helmet rusts!");
uarmh->spe--;
} else
! if(ctmp && uarm && !uarm->rustfree &&
uarm->otyp < STUDDED_LEATHER_ARMOR &&
(int)uarm->spe >= -1) {
pline("Your armor rusts!");
I hope that I haven't repeated a previous correction to the source, but
we (here, at Kodak) haven't been following the hack news too closely.
Goodbye and good hacking!!!
Jeff Snyder
Eastman Kodak Company
901 Elmgrove Road
Rochester, NY 14650
P.S. By the way (that is, BTW), we are running hack on a SUN 2/120 under
4.2BSD.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads