Xref: utzoo rec.games.hack:12617 comp.sys.amiga.games:6057 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ukma!dftsrv!mimsy!oasys!dtix.dt.navy.mil From: keni@dtix.dt.navy.mil (Kenneth Lorber) Newsgroups: rec.games.hack,comp.sys.amiga.games Subject: Amiga NetHack 3.0j PL10 Bug and Fix Message-ID: <7273@oasys.dt.navy.mil> Date: 23 Apr 91 16:35:32 GMT Sender: news@oasys.dt.navy.mil Followup-To: rec.games.hack Organization: David Taylor Research Center Lines: 110 This is an unofficial patch for Amiga NetHack 3.0j, Patchlevel 10. This is not an official patch because all official work on 3.0 has ceased. The bug: Saving when in the endgame fails (thanks go to Dominik Zemmler for the bug report). The source fix: In save.c, change struct finfo fileinfo[MAXLEVEL+1]; to struct finfo fileinfo[MAXLEVEL+2]; The binary fix: If you are using the "official" binaries posted earlier this year (and also available at various archives and on a Fish Disk), the following program will correct the problem (for those of you who dislike running random binaries, the incredibly ugly source will be submitted to comp.binaries.amiga and the binary will be available from linc.cis.upenn.edu). To apply the fix, uudecode the program that appears below (it's called bdiffa) and run it: it will examine the file HackExe:NetHack and, if it appears to be the right version, will apply the patch. If all goes well, the output will be: Checking Patching Done Error messages will appear if something goes wrong. Just in case, please MAKE A BACKUP OF HACKEXE:NETHACK BEFORE APPLYING THE PATCH! Please pass this patch on to anyone playing this version of Amiga NetHack. As usual, bug reports should be sent to nethack-bugs@linc.cis.upenn.edu. My apologies for posting code in non-traditional places. Share and Enjoy, Ken Lorber keni@dtix.dt.navy.mil for the Amiga NetHack Team begin 644 bdiffa M```#\P`````````#``````````(```"B````MP```54```/I````HDCG?OXD M2"0`2?D`````+'@`!$?Y```$X'(`(#P````=8`(FP5'(__PI3P4@*4X%&$*L M!1QP`"(\```P`$ZN_LY#^@&4<`!.KOW8*4`%4&8&<&1@``$F)FX!%"EK`)@% M%$JK`*QG``"2(`^0KP`X!H````"`*4`$Y"!K`*S1R-'((F@`$-/)T\D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