Article View: net.games.hack
Article #538"identification" bug
From: Emile LeBlanc
Date: Sun, 05 May 1985 00:14
Date: Sun, 05 May 1985 00:14
38 lines
2068 bytes
2068 bytes
There appears to be a (very tiny and uninteresting) bug in the
routine which reads the data file in hack. This is probably a result of
the "%" character being used as the symbol for food and its use as a
format character.
Try using the identify object command ("/") in hack to identify the
"%" character. If you have not identified anything else since the game
was started or since the game was restarted (after a control-Z) then
nothing will happen; if something has been previously identified then
the first character of the previous identification line will be
prepended to the line describing "%" as "a piece of food." For example
(assume the user just started the game):
The user types: /
Hack prints: Specify what?
The user types: %
Hack prints: <Nothing> <The "Specify what?" remains>
The user types: /
Hack prints: Specify what?
The user types: ^
Hack prints: ^ a trap
The user types: /
Hack prints: Specify what?
The user types: %
Hack prints: ^ % a piece of food
Sorry, but I don't have a fix for this; I would recommend looking at
hack.topl.c and the data file for interested hackers.
I haven't been following this newsgroup too closely lately, but I
haven't seen this bug in the last hundred messages. I have implemented
the "fclose" fix for the "/" command given in an earlier message, but
this is probably unrelated.
Emile LeBlanc
(UUCP: ...!ucbvax!leblanc)
(ARPA: leblanc@Berkeley)
Technical Details
Message-ID:
<6768@ucbvax.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!ucbvax!leblancShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!ucbvax!leblanc From: leblanc@ucbvax.ARPA (Emile LeBlanc) Newsgroups: net.games.hack Subject: "identification" bug Message-ID: <6768@ucbvax.ARPA> Date: Sat, 4-May-85 20:14:17 EDT Article-I.D.: ucbvax.6768 Posted: Sat May 4 20:14:17 1985 Date-Received: Sun, 5-May-85 23:42:10 EDT Distribution: net Organization: University of California at Berkeley Lines: 38