Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site uwvax.ARPA Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!zehntel!hplabs!hao!seismo!uwvax!brian From: brian@uwvax.ARPA Newsgroups: net.games.rogue Subject: somebody got lucky Message-ID: <382@uwvax.ARPA> Date: Sun, 12-Aug-84 15:50:27 EDT Article-I.D.: uwvax.382 Posted: Sun Aug 12 15:50:27 1984 Date-Received: Tue, 14-Aug-84 05:02:38 EDT Organization: U of Wisconsin CS Dept Lines: 29 I found this the other day in net.bugs.4bsd... Thought someone out there would like to know that at least one person (other than Ken Arnold) has 5.3 source. > From seismo!harpo!decvax!ittvax!dcdwest!sdcsvax!laman > Newsgroups: net.bugs,net.bugs.4bsd > Subject: Trivial bug in rogue 5.3's inventory > Organization: EECS Dept. U.C. San Diego > > If one uses the indiviual inventory ('I') in 5.3, the pack character > that it prints out is ALWAYS 'a'. Start up a game and drop everything > but one item that you know is NOT the 'a'th item in our pack. Now do > an 'I'. It is intelligent enough to know you have only one pack item, > so it prints out the item without prompting you. BUT, it ALWAYS prints > out a pack character of 'a'. I would bet that this is an oversight > from the conversion of pack handling that used to shuffle the pack > objects to the "lowest" unused letter when an item was dropped, an so > the assumption was correct. > > The fix is simple: In "picky_inven()" modify the second "msg()" call > to use a "%c) %s" for the first argument and add a second argument to > print out the pack character. > > Mike Laman > UUCP: {ucbvax,philabs,sdcsla}!sdcsvax!laman -- Brian Pinkerton @ wisconsin ...!{allegra,heurikon,ihnp4,seismo,sfwin,ucbvax,uwm-evax}!uwvax!brian brian@wisc-rsch.arpa