pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.25k stars 1.53k forks source link

Swing animations dont broadcast properly (PM4) #4276

Closed HashimTheArab closed 3 years ago

HashimTheArab commented 3 years ago

Issue description

Steps to reproduce the issue

  1. Get another player or alt
  2. Swing your arm at the air on 1 screen and it won't be displayed on the other unless you're hitting the entity

OS and versions

Plugins

Plugins (2): Core v3.2.0, DevTools v1.15.0+dev

Crashdump, backtrace or other files

HashimTheArab commented 3 years ago

I will add a video tomorrow

CortexPE commented 3 years ago

Encountered this not so long ago, the reasoning for this change along with others of this kind, is to reduce client initiated broadcasts to prevent DDoS attacks from modified clients forcing the server to broadcast tons of non-essential packets.

With the new architectural philosophy behind PM4, it is expected that this would be re-implemented through plugins instead.

dktapps commented 1 year ago

Duplicate of #4598 (I know this issue is older, but I'm assigning a central issue for reference purposes)