Menu

#553 Improve Key Event Queue (aka Started combat while sleeping)

open-accepted
None
7
2011-03-27
2005-12-19
No

At one point, I was being followed by a couple monsters
on the world map. I defeated one, and they left a
chest. I believe while getting the chest, I hit a
SLEEP TRAP, which put my only character to sleep.

While sleeping, the other group of monsters must have
attacked, because I was thrown into the combat map.

At this point, my character remained sleeping, while
monsters surrounded him and kept attacking.

I pressed a few keys trying to get my character to
respond or wake up, although that didn't help.

As soon as my character *did* wake on his own, he began
to move about, presumably in the directions that I had
pressed when trying to wake him. So his movement was
queued. This caused him to eventually flee the combat.

Now I can't remember having ever entered combat with
all my characters sleeping, but I suppose that could
happen. The thing that seems buggy was:

1. the sleep seemed to last for a long time, enough
for 3 monsters to surround him and attack a few times.
This might not be a problem.

2. Because the movements were queued, I effectively
lost control of my character for a short time.

Discussion

  • Darren Janeczek

    Darren Janeczek - 2011-01-17
    • priority: 5 --> 7
    • assigned_to: nobody --> darren_janeczek
    • status: open --> open-accepted
     
  • Darren Janeczek

    Darren Janeczek - 2011-01-17

    Improve control queue to not accumulate while sleeping.

     
  • Darren Janeczek

    Darren Janeczek - 2011-03-27
    • summary: Started combat while sleeping --> Improve Key Event Queue (aka Started combat while sleeping)
     
  • Michael Ryan

    Michael Ryan - 2011-03-27

    The queue issue isn't only related to entering combat while sleeping.

    In the overworld, press the key to move south many times while a hostile is in pursuit. This is easiest to test when your movement is blocked by water or a mountain tile. When combat begins, your character(s) begin moving south off the map.

    We really should clear the input queue when entering or leaving a map, including towns, but especially combat.

     

Log in to post a comment.

MongoDB Logo MongoDB