🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.games.hack
Article #257

Re: SPOILERS++ and a bug report

#257
From: Andries Brouwer
Date: Sat, 23 Feb 1985 13:41
27 lines
1607 bytes
In article <837@aplvax.UUCP> jcn@aplvax.UUCP (John C. Noble) writes:
>Games containing engravings can be saved but not restarted.  We have
>never encountered an exception to this rule.  Have you?

This problem was earlier reported by Andreas Bormann, who also gave the fix.
It was corrected in version 1.0.1. The fix is repeated below.
*** hack.engrave.c (version 1.0)
--- hack.engrave.c (version 1.0.1)
***************
... several differences; the one concerning save/restore follows ...
***************
*** 224,229
  		ep = (struct engr *) alloc(sizeof(struct engr) + lth);
  		mread(fd, (char *) ep, sizeof(struct engr) + lth);
  		ep->nxt_engr = head_engr;
  		head_engr = ep;
  	}
  }
--- 268,274 -----
  		ep = (struct engr *) alloc(sizeof(struct engr) + lth);
  		mread(fd, (char *) ep, sizeof(struct engr) + lth);
  		ep->nxt_engr = head_engr;
+ 		ep->engr_txt = (char *) (ep + 1);	/* Andreas Bormann */
  		head_engr = ep;
  	}
  }
***************
Technical Details
Message-ID: <479@mcvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!mcnc!decvax!genrad!panda!talcott!harvard!seismo!mcvax!play
References: <837@aplvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!mcnc!decvax!genrad!panda!talcott!harvard!seismo!mcvax!play
From: play@mcvax.UUCP (Andries Brouwer)
Newsgroups: net.games.hack
Subject: Re: SPOILERS++ and a bug report
Message-ID: <479@mcvax.UUCP>
Date: Sat, 23-Feb-85 08:41:17 EST
Article-I.D.: mcvax.479
Posted: Sat Feb 23 08:41:17 1985
Date-Received: Wed, 27-Feb-85 05:55:48 EST
References: <837@aplvax.UUCP>
Reply-To: play@mcvax.UUCP (Andries Brouwer)
Organization: CWI, Amsterdam
Lines: 27