Date: Wed, 11 Aug 1999 20:16:19 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Bob Bishop <rb@gid.co.uk> Cc: freebsd-current@FreeBSD.ORG Subject: Re: installing hack(6) overwrites /var/games/hackdir/record file! Message-ID: <Pine.BSF.4.05.9908111955120.57546-100000@localhost> In-Reply-To: <3.0.6.32.19990811103730.007b8420@192.168.255.1>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Aug 1999, Bob Bishop wrote: > >> Can anyone explain why every time I upgrade world, my hard earned 'record' > >> file whilst playing hack(6) gets overwritten by /dev/null, and also all > >> the user 'bones' and 'save' files rm'd? > > > >Blimey! I wondered where all my rogue(6) scores were going. This is an > >excellent idea. I'll submit a PR, with your diffs and some for rogue. > > I think you'll find that hack(6) itself silently removes save and bones > files that are older than the binary, a precaution because it relies on > data layout in the file. This is a PITA but nontrivial to fix. Yes, hack will invalidate any save or bones file that is older than the mtime of (hard coded!) "/usr/games/hide/hack". And it tells you about it. But I can live with that. Its the trashing of the 'record' file that I'm most concerned about. If this file was untouched during upgrades, I'd be happy. The other point is that the data layout hasn't changed since the game was first brought into the tree (circa Sep '94). > > -- > Bob Bishop +44 118 977 4017 > rb@gid.co.uk fax +44 118 989 4254 (0800-1800 UK) > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908111955120.57546-100000>