home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume11
/
larn
/
patch2
/
patches02
Wrap
Text File
|
1991-02-14
|
9KB
|
302 lines
*** patchlevel_orig.h Sun Feb 10 18:25:09 1991
--- patchlevel.h Sun Feb 10 18:25:06 1991
***************
*** 1 ****
! #define PATCHLEVEL 1
--- 1 ----
! #define PATCHLEVEL 2
*** PATCHLOG_orig Sun Feb 10 18:25:16 1991
--- PATCHLOG Sun Feb 10 18:25:13 1991
***************
*** 1,15 ****
Patch1
======
Fixes the problem where no .larnopts file causes the dungeon to not be
! displayed. Selects the "hack-like" objects:
Fixes the SIGSEV (ACCVIO) problem with the '?' command. Append trailing blank
lines to the help file.
Courtesy of jef@helios.ee.lbl.gov (Jef Poskanzer). Bug in cursor postioning
! (only appears on certain terminals)
Courtesy of nethack.rankin@eql.caltech.edu (Pat Rankin). spells and spheres
missing from the MMS file, link against the VAXCRTL sharable instead of the
! object library [how someone on VMS is supposed to use a U*ix diff,I don't know].
--- 1,30 ----
+ Patch2
+ ======
+
+ Courtesy of Pat Rankin (nethack.rankin@EQL.Caltech.Edu). In the on-line
+ help, fix the spelling mistakes with 'wield', and change the spell-casting
+ lister from 'D' to 'I', as its implemented [plain-text only].
+
+ Courtesy of Kenichi Yaoita (yaoita@cm.phys.keio.ac.jp), with an
+ honorable mention to Andreas Chernov (ache@hq.demos.su). Fix
+ the inventory count code, which is performing invalid comparisons
+ (<=26 vs <26).
+
+ Also courtesy of Kenichi Yaoita, fix an invalid screen offset in
+ bot_spellx().
+
Patch1
======
Fixes the problem where no .larnopts file causes the dungeon to not be
! displayed. Selects the "hack-like" objects.
Fixes the SIGSEV (ACCVIO) problem with the '?' command. Append trailing blank
lines to the help file.
Courtesy of jef@helios.ee.lbl.gov (Jef Poskanzer). Bug in cursor postioning
! (only appears on certain terminals).
Courtesy of nethack.rankin@eql.caltech.edu (Pat Rankin). spells and spheres
missing from the MMS file, link against the VAXCRTL sharable instead of the
! object library.
*** display_orig.c Sun Feb 10 18:24:19 1991
--- display.c Sun Feb 10 18:24:12 1991
***************
*** 131,137 ****
*/
static bot_spellx()
{
! botsub(SPELLS,9,18,"%2d");
}
/*
--- 131,137 ----
*/
static bot_spellx()
{
! botsub(SPELLS,8,18,"%3d");
}
/*
*** larnhlp_orig.txt Sun Feb 10 18:24:36 1991
--- larnhlp.txt Sun Feb 10 18:24:31 1991
***************
*** 37,43 ****
i inventory your pockets I list all items found ? this help screen
q quaff a potion Q quit the game
r read a scroll v print program version
! w weild a weapon W wear armor ^L redraw the screen
--- 37,43 ----
i inventory your pockets I list all items found ? this help screen
q quaff a potion Q quit the game
r read a scroll v print program version
! w wield a weapon W wear armor ^L redraw the screen
***************
*** 65,71 ****
t tidy up at a fountain T take off armor
u move northeast U run northeast
v print program version
! w weild a weapon W wear armor
y move northwest Y run northwest ^L redraw the screen
Special Notes
--- 65,71 ----
t tidy up at a fountain T take off armor
u move northeast U run northeast
v print program version
! w wield a weapon W wear armor
y move northwest Y run northwest ^L redraw the screen
Special Notes
***************
*** 80,86 ****
When in the store, trading post, school, or home, an m<escape> will get you out.
! When casting a spell, if you need a list of spells you can cast, type 'D' as
the first letter of your spell. The available list of spells will be shown,
after which you may enter the spell code. This only works on the 1st letter
of the spell you are casting.
--- 80,86 ----
When in the store, trading post, school, or home, an m<escape> will get you out.
! When casting a spell, if you need a list of spells you can cast, type 'I' as
the first letter of your spell. The available list of spells will be shown,
after which you may enter the spell code. This only works on the 1st letter
of the spell you are casting.
*** main_orig.c Sun Feb 10 18:25:03 1991
--- main.c Sun Feb 10 18:24:49 1991
***************
*** 516,522 ****
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<=26; j++) /* count number of items we will display */
if (i=iven[j])
switch(i)
{
--- 516,522 ----
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<26; j++) /* count number of items we will display */
if (i=iven[j])
switch(i)
{
***************
*** 529,535 ****
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<=26; j++)
if (i==iven[j])
switch(i)
{
--- 529,535 ----
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<26; j++)
if (i==iven[j])
switch(i)
{
***************
*** 550,556 ****
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<=26; j++) /* count how many items */
if (i=iven[j])
switch(i)
{
--- 550,556 ----
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<26; j++) /* count how many items */
if (i=iven[j])
switch(i)
{
***************
*** 564,570 ****
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<=26; j++)
if (i==iven[j])
switch(i)
{
--- 564,570 ----
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<26; j++)
if (i==iven[j])
switch(i)
{
***************
*** 586,592 ****
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<=26; j++)
switch(iven[j])
{
case OBOOK: case OSCROLL: count++;
--- 586,592 ----
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<26; j++)
switch(iven[j])
{
case OBOOK: case OSCROLL: count++;
***************
*** 594,600 ****
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<=26; j++)
if (i==iven[j])
switch(i)
{
--- 594,600 ----
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<26; j++)
if (i==iven[j])
switch(i)
{
***************
*** 612,618 ****
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<=26; j++)
switch(iven[j])
{
case OCOOKIE: count++;
--- 612,618 ----
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<26; j++)
switch(iven[j])
{
case OCOOKIE: count++;
***************
*** 620,626 ****
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<=26; j++)
if (i==iven[j])
switch(i)
{
--- 620,626 ----
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<26; j++)
if (i==iven[j])
switch(i)
{
***************
*** 638,644 ****
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<=26; j++)
switch(iven[j])
{
case OPOTION: count++;
--- 638,644 ----
sigsav=nosignal; nosignal=1; /* don't allow ^c etc */
srcount=0;
! for (count=2,j=0; j<26; j++)
switch(iven[j])
{
case OPOTION: count++;
***************
*** 646,652 ****
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<=26; j++)
if (i==iven[j])
switch(i)
{
--- 646,652 ----
t_setup(count);
for (i=22; i<84; i++)
! for (j=0; j<26; j++)
if (i==iven[j])
switch(i)
{