jcs@husky.uucp (Jeff Snyder) (03/22/85)
(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.