Thread View: net.bugs
2 messages
2 total messages
Started by Mike Laman
Sat, 11 Aug 1984 03:06
Trivial bug in rogue 5.3's inventory
Author: Mike Laman
Date: Sat, 11 Aug 1984 03:06
Date: Sat, 11 Aug 1984 03:06
15 lines
1421 bytes
1421 bytes
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
Re: Trivial bug in rogue 5.3's inventory
Author: brian
Date: Sun, 12 Aug 1984 00:53
Date: Sun, 12 Aug 1984 00:53
7 lines
949 bytes
949 bytes
GREAT FIX. I don't know how you did it (got source that is). Why don't
you enlighten us poor people further and post your source. I'm sure a lot
of the other bugs would be fixed overnight if everyone had the source.
--
Brian Pinkerton @ wisconsin
...!{allegra,heurikon,ihnp4,seismo,sfwin,ucbvax,uwm-evax}!uwvax!brian
brian@wisc-rsch.arpa
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads