rickparrish / Usurper

32 and 64bit ports of Usurper BBS door game version 0.20e
79 stars 18 forks source link

Monster Summoning Zombie #19

Open dan1982code opened 4 years ago

dan1982code commented 4 years ago

Fight in the dungeons Sometimes, a monster can summon undead -- "a zombie suddenly rises" *If that zombie kills you on its first turn, you aren't actually killed. (Things are reset on its subsequent turns, by which point it works properly.)

Has this bug been there all along, back to DOS? I'd be shocked.

The fix appears to be related to setting the zombie's target. Without a target, weird stuff happens and it decreases hitpoints from a fake player?? Not totally sure. I just tried to fix it.

Can anyone confirm this one or provide additional info?

codefenix-ConChaos commented 4 years ago

I do recall many odd times in the past when I would see the death message appear more than once in succession before finally dying in the dungeon. However I don't specifically recall it being exclusive to battles with a summoned zombie. Any chance it might also happen during those large battles with the gangs of orcs or rogues?

dan1982code commented 4 years ago

Hmm -- not sure. If you see it, though, could you let me know?

The bug I found seems exclusive to enemies that "from the ground, a corpse suddenly rises". All other enemies seem to have their targets set correctly.

codefenix-ConChaos commented 3 years ago

I was killed by a zombie on a very recent play test, and as far as I recall, I stayed dead when it killed me.

I didn't have the presence of mind at the time to get a screenshot, unfortunately. I'll try to pay closer attention for the next time it happens though.

dan1982code commented 3 years ago

Thank you :) glad I seem to have fixed this one.

I'll call it a zombie bug, lol: I think it existed in the DOS Jakob versions but was latent because of how memory is initialized etc.