<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/nethack/patches/" rel="alternate"/><link href="https://sourceforge.net/p/nethack/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/nethack/patches/</id><updated>2009-02-19T13:59:12Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>crashes on startup when creating new character on windows</title><link href="https://sourceforge.net/p/nethack/patches/8/" rel="alternate"/><published>2009-02-19T13:59:12Z</published><updated>2009-02-19T13:59:12Z</updated><author><name>Rupert Aph</name><uri>https://sourceforge.net/u/rupertaph/</uri></author><id>https://sourceforge.net39f2c58bfaaf5c6478bd5fd0d8371ec3566bb6c0</id><summary type="html">3.4.3 source unmodified

hw:
fujitsu siemens lifebook e series
Intel core duo t2300 @1.66 GHz
1GB of ram
sw:
Microsoft Windows XP Professional v 2002, SP3
Microsoft Visual C++ 2005, Microsoft \(R\) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
Nethack binary v3.4.3

On startup, when trying to start a new game, after entering character name into editbox window, the game crashes with assertion failure:

\(\(pmode &amp; \(~\(\_S\_IREAD | \_S\_IWRITE\)\)\) == 0\)
file: open.c
line: 161

Wrong file creation mask value \(probably just copied from include/unixconf.h\) defined in include/ntconf.h is passed to vc runtime. Correct definition in diff.
</summary></entry><entry><title>topten scanf safety</title><link href="https://sourceforge.net/p/nethack/patches/7/" rel="alternate"/><published>2008-04-23T13:38:45Z</published><updated>2008-04-23T13:38:45Z</updated><author><name>Ian Abbott</name><uri>https://sourceforge.net/u/ijabbott/</uri></author><id>https://sourceforge.net65cda88225d425b6b79693aa3fc12712449b085a</id><summary type="html">This patch was written by Andrew Church to address Gentoo Linux bug \#125902 \(ref &lt;http://bugs.gentoo.org/show\_bug.cgi?id=125902&gt;\). It sets the maximum width of the strings read by fscanf\(\) to avoid buffer overflow problems if someone manages to tamper with Nethack's "record" file. \(This is easy to do in Gentoo Linux due to its non-standard \(stupid\) policy of putting ordinary users in the "games" group.\)</summary></entry><entry><title>'Shift' gesture support for WinCE version</title><link href="https://sourceforge.net/p/nethack/patches/6/" rel="alternate"/><published>2005-09-19T23:33:53Z</published><updated>2005-09-19T23:33:53Z</updated><author><name>Maxim Yanchenko</name><uri>https://sourceforge.net/u/enerjazzer/</uri></author><id>https://sourceforge.net8a7eccf7bc1294cb92d980ec85d8985f67441631</id><summary type="html">I've changed 3.4.3 for PocketPC - now it supports 'Shift' 
gesture, i.e. to enter "A" using on-screen keyboard, you 
have not to tap "Shift" and then "a", instead just tap "a" 
and drag the stylus straight up. Playability increased 
dramatically.

Compiled executable for ARM processor is here: 
http://rsdn.ru/File/8211/nethackm.rar
Just install nethack-3.4.3 as usual and then change 
nethackm.exe to mine.

Any comments are greatly appreciated \(for example, 
which gesture to use for Ctrl and Alt, I haven't decided 
which one to choose\)</summary></entry><entry><title>MacOSX Qt version diffs for 3.4.3</title><link href="https://sourceforge.net/p/nethack/patches/5/" rel="alternate"/><published>2004-12-16T08:20:25Z</published><updated>2004-12-16T08:20:25Z</updated><author><name>Warwick Allison</name><uri>https://sourceforge.net/u/warwick/</uri></author><id>https://sourceforge.netfe9c0c9d1b65fd3da69913e974102224240a5fb3</id><summary type="html">The nethack-343-macosx-qt.tgz package is build from the original 
sources, with this patch applied. 
 
The patch sets up the configuration and makes a few minor bug 
MacOSX-specific fixes that did not make the source package. </summary></entry><entry><title>travel cache</title><link href="https://sourceforge.net/p/nethack/patches/4/" rel="alternate"/><published>2002-03-29T04:57:38Z</published><updated>2002-03-29T04:57:38Z</updated><author><name>Jason Dorje Short</name><uri>https://sourceforge.net/u/jdorje/</uri></author><id>https://sourceforge.net85e45ce2fd8bd3e495bf5211236fce1c3d7fab4f</id><summary type="html">This is an extension of Andreas Dorn's
travel-command-caching patch.

The patch allows the destination of a travel command to
be cached so that if the travel fails \(isn't
completed\), the next time you try to travel your
default destination will be the same.

I have extended this so that it is dependent on a
travel\_cache game-time option, and I've addded in-game
help about this option \(but nothing to the guidebook\).

To use, apply with &amp;quot;patch -s -p0 &amp;lt; travel\_cache.patch&amp;quot;,
add &amp;quot;\#define TRAVEL\_CACHE&amp;quot; to config.h, and recompile.</summary></entry><entry><title>Stethescope change - bugfix</title><link href="https://sourceforge.net/p/nethack/patches/3/" rel="alternate"/><published>2001-04-08T15:48:56Z</published><updated>2001-04-08T15:48:56Z</updated><author><name>Jason Dorje Short</name><uri>https://sourceforge.net/u/jdorje/</uri></author><id>https://sourceforge.net22ff029bbf470a20da21b4e2b5a8a6648973e5c5</id><summary type="html">This tiny patch fixes what I perceive as a bug in
stethoscope applying.  You can apply a stethoscope once
per \_turn\_ without penalty, but not once per \_move\_. 
That means if you get multiple moves per turn, you have
to watch them carefully to make sure you don't waste
one with a stethoscope.

After this patch, you can apply a stethoscope once per
move without penalty.</summary></entry><entry><title>Additional lense uses</title><link href="https://sourceforge.net/p/nethack/patches/2/" rel="alternate"/><published>2001-04-08T12:40:13Z</published><updated>2001-04-08T12:40:13Z</updated><author><name>Jason Dorje Short</name><uri>https://sourceforge.net/u/jdorje/</uri></author><id>https://sourceforge.net0abd3b19e04e601f88f4a4bc815b79f73bc44360</id><summary type="html">This patch implements three very simple new bonuses for
wearing lenses.  Wearing lenses gives...

\- a 10% bonus to the chance at successfully reading
spellbooks.

\- 50% faster spellbook reading \(effectively reducing
read time by 33%\).

\- a small bonus to searching \(equivalent to a +2
excalibur\).
</summary></entry><entry><title>Food Conduct Bugfix</title><link href="https://sourceforge.net/p/nethack/patches/1/" rel="alternate"/><published>2001-04-08T12:27:22Z</published><updated>2001-04-08T12:27:22Z</updated><author><name>Jason Dorje Short</name><uri>https://sourceforge.net/u/jdorje/</uri></author><id>https://sourceforge.net0a5c43dd5e2afe7426044a2459b465cdd203fe24</id><summary type="html">In 3.3.1, the way food conduct \(vegetarianism and
veganism\) is handled is buggy.  In partucular:

\- Eating rotten meat does not count against
vegetarianism.

\- Eating leather or other non-vegetarian items while
polymorphed does not count against vegetarianism.

These are bugs SC-331-3 and SC-331-4, &amp;quot;Fixed in next
version.&amp;quot;

This patch claims to fix these bugs.

See also http://nethack.dhs.org/patches/food\_conduct/</summary></entry></feed>