Re: Died without a "You die" message




"Paul E Collins" <find_my_real_address@xxxxxxx> wrote in message
news:75SdnTxAjbU3UMLUnZ2dnUVZ8tfinZ2d@xxxxxxxxx
Here's a recent death where I wasn't explicitly told "You die". Is it a
bug?

---
As you read the scroll, it disappears. The scroll erupts in a tower of
flame! Your spellbook of force bolt catches fire and burns! Your potion of
sickness boils and explodes! Your potion of confusion boils and explodes!
You feel somewhat dizzy. Your potion of paralysis boils and explodes!
Something seems to be holding you. DYWYPI?
---

Eq.



After a quick look at the code I think this probably is a bug, or an
oversight at least - I assume from the above that you were killed by
reading a scroll of fire.

In most places where the hero dies of something [e.g. done_in_by()
in end.c or losehp() in hack.c] the routine issues a You("die...") or
similar message before calling done() in end.c to handle DYWYPI
and other end of game accounting.

But, in explode() in explode.c - which seems to handle the effects
of scrolls of fire - if you survive damage from exploding items in
your inventory then you'll take some damage from the fire itself. If
this last damage kills you, it appears that explode() formulates a killer
message for the record then calls done() but doesn't first issue a
You("die...") message [lines 329-363 in explode.c], so you don't
get told that you died in the message window.

It may be that this has been overlooked because if damage from
an exploding item in your inventory kills you first, as will often be
the case, then losehp() handles your death before you get to the
code lines mentioned above and this does issue a You("die...")
message before calling done.

I haven't checked to see if this is included in the description of any
known bug but the fix would be simply to insert:

You("die...");

or similar immediately before line 359 in explode.c:

/* Known BUG: BURNING suppresses corpse in bones data,

[But I note this is a comment about a known bug to do with
death by burning, so there may be complications I'm missing!]

G


.



Relevant Pages

  • Re: YAAP - Powder 104 It took me 6 months!
    ... Something like, I have a ring of fire resistance, and a ... chain mail, and a scroll of enchant armor, stick those in the box/bag ...
    (rec.games.roguelike.misc)
  • Re: Strange error with globals and tk_messageBox (bug?)
    ... it's a bug in Tk, or if it's just a bug in my app... ... pack $scroll -side left -fill y ... widgets, not just ttk::treeview. ... This specific example uses a hard-coded path since $tree won't be ...
    (comp.lang.tcl)
  • Re: Spreadsheet_Initialize event not firing
    ... so uh-- if it is a KNOWN BUG WHY DOESN'T MICROSOFT FIX IT? ... It doesn't fire. ... >> Dim objProtection ...
    (microsoft.public.office.developer.web.components)
  • Stalled scrolling in Word with scroll wheel
    ... I am appalled to find out that every so often, as I scroll up and down ... So it is not an issue of slow response or slow system--it is NO ... I was also shocked to learn that this bug has been around since at ...
    (microsoft.public.mac.office.word)
  • Re: Word 2008 scroll bar jump behavior
    ... It is a bug. ... Normally when clicking in an app's scroll bar "space", ... the scroll bar jumps to that position and the document jumps to ... McGhie Information Engineering Pty Ltd ...
    (microsoft.public.mac.office.word)