Mercurial > hg > early-roguelike
view rogue4/INSTALL.txt @ 75:19903deed392
arogue5: fix the crash when checking prices in shops.
A buffer called curpurch, which stores a description of an item in a
trading post which the player might be interested in, was only 15
bytes. It was overflowing into oldrp, a room pointer, leading to
segfaults. The size of curpurch has been increased to LINELEN*2,
which matches the size of prbuf, which is returned by inv_name and
then strcpy()'d to curpurch. As long as nothing overflows prbuf it
should be safe now.
NOTE that this breaks savefile compatibility.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Wed, 05 Sep 2012 10:14:34 -0700 |
parents | a31b2cb545c5 |
children | c191a735f811 |
line wrap: on
line source
Roguelike Gallery (rlgallery.org) This is the source code for the Roguelike Gallery's version of Rogue V4. History Rogue 4.2 was released by Michael Toy, Ken Arnold, and Glenn Wichman, probably early in 1982. Several updates were issued, and the major version number was incremented, so the last of the series was Rogue 5.2, released April 1982. The Roguelike Restoration Project (rogue.rogueforge.net) updated the game to work on modern systems. The Roguelike Gallery's version has been slightly modified for compatibility with dgamelaunch and security for multiple players. Installing On Unix, you can use the "./configure && make && make install" method. If you don't need a system-wide installation, you should be able to ignore all the options for "configure" and leave off the "make install". If you want multi-user play, run configure with the proper options ("configure --help" will explain what they do.) The important ones are savedir (where saved games are stored), scorefile (the high score list), and logfile (the log of all games played). On Windows, I haven't tested the Visual Studio project files; the game should build, but the scorefile might not work. Playing For more details, see rogue4.6 (the man page) and rogue4.me (Michael Toy's "Guide to the Dungeons of Doom"). Troff format is a little outdated, but you should be able to discover something with a text editor. I plan to add versions in more common formats soon. Contact rlgallery.org admin: John "Elwin" Edwards <elwin@sdf.lonestar.org>