Ahocsd.111
net.games
utzoo!decvax!ucbvax!mhtsa!ihnss!houxf!hocsb!hocsd!rer
Wed Dec 2 13:18:25 1981
Rogue Bug Fixes
I've have received the following patches to rogue.
In the interest of fair competition, it would be nice
if those people with source to rogue would make these
patches to their games.
Those people who cannot fix their games will have to depend on the
honor system. We know what the bugs are, we can all take advantage
of them, but what's the fun in winning when it was a bug that
let you do it?
There are two crucially fatal bugs that you should fix first
of all. One is to initialize the fields o_hplus and o_dplus
in subroutine init_weapon. These fields are never initialized
and it is possible to find +95327, +134590 arrows (for example).
The second is to change the loops that place THINGS in file
new_level.c to recalculate a room number when it is unable to
place an object because something is already there. Just move
the call to rnd_room inside of the loop. There are 2 loops
that must be changed (1 to place objects, and 1 to place the
amulet). These two bugs cause the hero to become invincible
or the program to loop infinitely which are both really bad.
Thanks goes to bob of cbosg for these fixes.
Rick Richardson
-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <
[email protected]>
of
http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.