Taking a health capsule while dead or dying while taking a health capsule

13 replies [Last post]

I've bugged this in game a few times, but I wanted to add information about it here, because it's confusing.

Sometimes, when I'm in battle and I have a few bars of health left, in some order the following things happen:
* I take a health capsule
* I take a few bars of damage
* I die

In my mind, I shouldn't be able to pop pills if I'm dead, and I shouldn't be dead if I've taken a health pill. Also confusing is that I see the health animation, and hear the 'you've gained health!' noise, but at the end I drop dead. What's going on here? Is the gaining of health being interrupted by taking damage, but continuing to display the animation? Does losing health happen at a faster rate than gaining health, rendering me dead before the health pill kicks in, but not playing the death animation instantly?

#1
This happens to me all the

This happens to me all the time and its also useful to note that you also lose the pill as if you have taken it, even though you end up dead.

#2
Pretty sure there's a lag

Pretty sure there's a lag between the animation and the game registering the health recovering....

Another interesting thing I found is that if I get get killed right during the sleep effect's recovering phase I get "revived", it would play the death animation and then revives me with 2 bars of health.

This have to be within a specific frame after the health recovery though.

#3
M'kay?

Drugs are bad.
You shouldn't do drugs.
If you do them, you're bad, because drugs are bad, m'kay.
It's a bad thing to do drugs, so don't be bad by doing drugs, m'kay, that'd be bad.

#4
lol Shoebox But it seems that

lol Shoebox
But it seems that there's this window of time where you shouldn't use the health pills. If you use the pill and get hit by an attack, you'll lose the pill, As Cyclohexane said.

#5
Hypothesis: Three instances of lag. All end in death.

This has happened to me as well, including the "you are healed" sound and the loss of the pill, followed by death.

There are a variety of way in which the game deals poorly with lag, and I suspect that this might be another symptom of that larger issue. As it has been described to me previously, the problem is that the server is designed to trust the client as little as possible; if the server decides that something did not happen, then whatever action you took is reversed.

This can also be seen in the phenomenon of "rubber banding", where a player walks across the screen, then "snaps" back to where they were a few seconds prior. On a smaller scale, the server can likewise decide that you did not stop moving when you actually did- this usually results in players who have come to a complete stop being suddenly rammed forward onto a bed of spikes.

#6
there is no incentive to fix

there is no incentive to fix this because the result is usually having to pay more energy to revive.

#7
Awww that's no fair! That's

Awww that's no fair! That's certainly not how we make games.
And it doesn't work like that anyway, frustrated players would be much less likely to spend than players having fun.

It certainly looks like a lag issue making it more tricky to resolve. We added the network connection indicator in the upper right corner so there is some way to know when you might run into problems. But I'll bring up the issue with the devs.

#8
The indicator added is nice,

The indicator added is nice, but it seems to be a sign only of network lag- I still see (often deadly) lapses in performance while the network indicator is at max.

Might I propose trusting the client more? It's a slippery slope, but having the server forcibly move your character INTO death- even though you were well away and clear from enemies or spikes- is inordinately frustrating.

#9
"Might I propose trusting the

"Might I propose trusting the client more? It's a slippery slope, but having the server forcibly move your character INTO death- even though you were well away and clear from enemies or spikes- is inordinately frustrating."

Yes please. Even though my indicator is almost always pegged at max there's still odd issues with my character sliding around enemies while attaching or the client being finicky about how much of my big toe merits a hit from the spikes.

#10
i guess i was being a bit

i guess i was being a bit snarky. but i had just died in game due to this.

#11
>>"Might I propose trusting

>>"Might I propose trusting the client more? It's a slippery slope, but having the server forcibly move your character INTO death- even though you were well away and clear from enemies or spikes- is inordinately frustrating."

>Yes please. Even though my indicator is almost always pegged at max there's still odd issues with my character sliding around enemies while attaching or the client being finicky about how much of my big toe merits a hit from the spikes.

Which brings me back to an earlier comment/question:

1. Is it possible for Java programs to get an accurate timestamp for an event (such as key_down or mouse_down) based on the OS's idea of when it happened (different from the JVM's idea of when SWING noticed the event)?
2. If so, is it possible for one thread to do an NNTP-style time checking with the server?
3. Even more, can the client process multiple commands/keyboard events in a single frame if it really falls behind? (Several seconds to spawn all the monsters when a spawn triggers)

The combination would allow the client to report to the server when you actually tried to stop moving, so that even if the command is processed late, the server could "rewind time" on you to put you where you thought you were.

(As far as I can tell, no java program actually records the keyboard modifier keys that were pressed when a mouse button is pressed. Sad.)

#12
Im no dev but

In my very slight coding experience, I've learned some stuff.

It might be lag, but i know FOR A FACT that, when i use my Status pill, there is a slight gap between the Animation start and the actual application of the pill and my status being cured.
So what I would suggest (if this is even possible) is have the Health applied a small bit BEFORE the animation ends, it may be a bit wonky, but it should atleast fix this problem. (right?)

#13
This classic one here will be

This classic one here will be improved on in the next release.

Capsule should not be consumed if it is too late to use it. You may still see the animation however.
Be aware severe lag can still play a factor here so you can die before being able to use the capsule, but now at least you won't lose the capsule as well.