Longstanding Hunger Bug

There’s a longstanding bug with Hunger that causes every other attack to not occur on the server. I originally posted this in the PTR forum, but I’m told it belongs here.

There is a longstanding bug with Hunger that causes every other attack to not happen on the server, effectively halving the visible attack rate.

This bug is now more important because bears are such a mess in PTR2 that people are considering turning to Hunger to work around the attack speed nerf.

Details: There’s a client/server mismatch about how long the S3 animation is – the server thinks 13 frames while the client thinks 10. So when the client reaches the 11th frame and says to start a new attack, the server ignores it because it thinks you’re still in an attack animation. So the client shows you making a second attack, but you’re really just standing there on the server until the client tries to start the third attack on the 21st frame. So every other Hunger attack on the client is a phantom action that doesn’t exist on the server.

For reference:

Here is discussion of the bug and a calculator: h-t-t-p-s://www.theamazonbasin.com/forums/index.php?/forums/topic/121406-hunger-much/

Here is a mod for legacy D2 that fixes the problem by making the client-side animation longer: h-t-t-p-s://d2mods.info/forum/viewtopic.php?t=65798
(Of course, it would be preferable to make the server-side shorter, but mods can’t do that without altering the executable.)

2 Likes