Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fall and step sounds are played multiple times for players in some cases #4449

Open
Nerahikada opened this issue Sep 11, 2021 · 3 comments
Open
Labels
Category: Gameplay Related to Minecraft gameplay experience Status: Debugged Cause of the bug has been found, but not fixed

Comments

@Nerahikada
Copy link
Contributor

Issue description

When the player enters the water and lands on the ground, an extra step sound is played.

OS and versions

  • PocketMine-MP: 4.0.0-BETA2 (git hash: 26e3280)
  • PHP: 8.0.10
  • Using JIT: no
  • Server OS: win
  • Game version: Win10

Plugins

[17:01:13.323] [Server thread/INFO]: Plugins (0):

Crashdump, backtrace or other files

vanilla:

Minecraft.2021-09-11.17-57-03.mp4

pmmp:

Minecraft.2021-09-11.17-50-22.mp4
@dktapps dktapps added Category: Gameplay Related to Minecraft gameplay experience Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Sep 11, 2021
@inxomnyaa
Copy link
Contributor

https://youtu.be/lNGLh7eGij0 confirmed
It also appears to duplicate sounds when walking/sprinting

@dktapps
Copy link
Member

dktapps commented Apr 28, 2022

This bug occurs because the server registers the player as "on ground" before they actually touch the ground. There may be multiple "within range of ground" ticks while falling. This is (was?) necessary due to the margin of error that can appear in positions, particularly when jumping - the server may not actually ever see them touch the ground. I've yet to verify whether this is still a problem with PlayerAuthInputPacket or not.

@dktapps dktapps added Status: Debugged Cause of the bug has been found, but not fixed and removed Status: Unconfirmed Bug has not yet been reproduced by a maintainer labels Apr 28, 2022
@dktapps dktapps changed the title The step sound is extra loud when the player go into the water Fall and step sounds are played multiple times for players in some cases Apr 28, 2022
@dktapps
Copy link
Member

dktapps commented Dec 1, 2024

Related to #6547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Gameplay Related to Minecraft gameplay experience Status: Debugged Cause of the bug has been found, but not fixed
Projects
None yet
Development

No branches or pull requests

3 participants