create_particular long worm tail vs mkclass
Similar to ^G of 'I' triggering impossible "mkclass found no class 35 monsters", using a leading substring of "long worm tail" (other than "l" and "long worm") would trigger impossible "mkclass found no class 59 monsters and kill the fuzzer when it escalates impossible to panic. Tighten up the substring matching. ^G of '~' wasn't affected; it deliberately creates a long worm rather than the tail of one. But it was possible to ask for "long worm tail" as a specific monster type and then override the switch to long worm when prompted about whether to force the originally specified critter. I've added a check to prevent that opportunity to override even though a tail without a head seemed to be harmless.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.219 $ $NHDT-Date: 1546212616 2018/12/30 23:30:16 $
|
||||
$NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.220 $ $NHDT-Date: 1546465283 2019/01/02 21:41:23 $
|
||||
|
||||
This fixes36.2 file is here to capture information about updates in the 3.6.x
|
||||
lineage following the release of 3.6.1 in April 2018. Please note, however,
|
||||
@@ -360,10 +360,12 @@ when built with STATUS_HILITES enabled (the default), gold on status line
|
||||
was missing '$' prefix for symset:Blank
|
||||
wizard mode ^G, creating a monster of class 'I' yielded impossible "mkclass
|
||||
found no class 35 monsters"
|
||||
in some unknown circumstance, examining something on the map could match bogus
|
||||
monster class #0 and trigger impossible "Alphabet soup: 'an("")'."
|
||||
(fix avoids the warning but underlying cause is a mystery; noticed
|
||||
with the fuzzer, which swaps symbol sets in and out at random)
|
||||
wizard mode ^G, creating a monster via class name using "lo" through "long wor"
|
||||
or "long worm t" through "long worm tail" yielded impossible "mkclass
|
||||
found no class 59 monsters" (class '~' creates a long worm as intended)
|
||||
if bouldersym bug (via 'O', above) put a <NUL> ('\0') on the map, examining
|
||||
that spot matched placeholder monster class #0 and triggered impossible
|
||||
"Alphabet soup: 'an("")'."
|
||||
tty: turn off an optimization that is the suspected cause of Windows reported
|
||||
partial status lines following level changes
|
||||
tty: ensure that current status fields are always copied to prior status
|
||||
|
||||
Reference in New Issue
Block a user