Xref: utzoo rec.games.hack:5601 comp.sources.games.bugs:1320 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!purdue!haven!umd5!crabcake!arromdee From: arromdee@crabcake (Kenneth Arromdee) Newsgroups: rec.games.hack,comp.sources.games.bugs Subject: Patchlevel 5 Stopgap Patch Message-ID: <252@crabcake> Date: 28 Oct 89 03:40:02 GMT Reply-To: arromdee@crabcake (Kenneth Arromdee) Followup-To: rec.games.hack,comp.sources.games.bugs Organization: Frobozz Magic Amulet of Yendor Company Lines: 30 Once again a stopgap patch is needed. If you read a scroll of blank paper and then save the game, the game will core dump or panic upon restoring. The problem was a "fix" for the HUP cheat which didn't work. Please save a copy of your old file since patch 6 will use the unmodified level 5 patched source (without this stopgap fix). *** restore.c.old Fri Oct 27 23:38:34 1989 --- restore.c Fri Oct 27 23:39:15 1989 *************** *** 108,118 **** --- 108,120 ---- else otmp2->nobj = otmp; mread(fd, (genericptr_t) otmp, (unsigned) xl + sizeof(struct obj)); if(!otmp->o_id) otmp->o_id = flags.ident++; + #if 0 /* Things that were marked "in_use" when the game was saved (eg. via * the infamous "HUP" cheat get used up here. */ if(otmp->olet != ARMOR_SYM && otmp->olet != WEAPON_SYM && otmp->otyp != PICK_AXE && otmp->in_use) useup(otmp); + #endif #ifdef TUTTI_FRUTTI if(ghostly && otmp->otyp == SLIME_MOLD) { for(oldf=oldfruit; oldf; oldf=oldf->nextf) -- "The workers ceased to be afraid of the bosses. It's as if they suddenly threw off their chains." -- a Soviet journalist, about the Donruss coal strike Kenneth Arromdee (UUCP: ....!jhunix!arromdee; BITNET: arromdee@jhuvm; INTERNET: arromdee@crabcake.cs.jhu.edu)