Article View: net.games.hack
Article #557Re: Bug in Hack 1.0.2
From: ab
Date: Mon, 06 May 1985 12:30
Date: Mon, 06 May 1985 12:30
27 lines
1647 bytes
1647 bytes
I think it is more appropriate to decrease the uluck when you save the
game on full moon days. Imagine you start a game on a day before full moon:
After saving and resuming it on the full moon day you should now get
a bonus by increasing the uluck. When you save the game again and resume
it on some day after the full moon, you then will have the normal uluck.
Andreas
Here is the alternative fix:
--- hack.save.c, line 39:
> if((fd = creat(SAVEF, FMASK)) < 0) {
> if(!hu) pline("Cannot open save file. (Continue or Quit)");
* (void) unlink(SAVEF); /* another fix */
> return(0);
> }
* if(flags.moonphase == FULL_MOON)
* u.uluck--;
> savelev(fd,dlevel);
> saveobjchn(fd, invent);
> saveobjchn(fd, fcobj);
> savemonchn(fd, fallen_down);
---
Andreas Bormann ab@unido.UUCP
University of Dortmund N 51 29' 05" E 07 24' 42"
West Germany
Technical Details
Message-ID:
<nf38300008@unido.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!linus!philabs!prls!amdimage!amdcad!decwrl!decvax!genrad!panda!talcott!harvard!seismo!mcvax!unido!abReferences:
<656@mcvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesnews 0.1 (unido 12/05/84); site unido.UUCP Path: arc1-ca.pugleaf.net!utzoo!linus!philabs!prls!amdimage!amdcad!decwrl!decvax!genrad!panda!talcott!harvard!seismo!mcvax!unido!ab From: ab@unido.UUCP Newsgroups: net.games.hack Subject: Re: Bug in Hack 1.0.2 Message-ID: <nf38300008@unido.UUCP> Date: Mon, 6-May-85 08:30:00 EDT Article-I.D.: unido.nf38300008 Posted: Mon May 6 08:30:00 1985 Date-Received: Fri, 10-May-85 22:20:24 EDT References: <656@mcvax.UUCP> Sender: notes@unido.UUCP Lines: 28 Nf-ID: #R:mcvax:-65600:unido:38300008:000:965 Nf-From: unido!ab May 6 10:30:00 1985