mojira.dev
MCPE-65094

Server desyncs from Client, resulting in different states in each

Whenever the server (online or internal) lags, the client's position might be offset server-side. If the position is greater than a half of a block, the server-side player will snap back to the client's position after some time. However, since the server-side player also experiences world effects (like gravity and slime blocks), the player can enter many unintentional states such as the following:

  1. Burning when jumping around lava even though the player does not touch it

  2. Triggering nether and end portals where the player should not

  3. Collecting items where the player should not

  4. Throwing projectiles from the wrong spot (not to be confused with MCPE-31896)

  5. and possibly more

Video Examples (Youtube playlist of 9 videos)

https://www.youtube.com/playlist?list=PLAEj2GCUwNdHVdBCZN1WsdwsYJIqBhrqL

Linked issues

MCPE-49664 lit on fire when standing in between two blocks above lava Resolved MCPE-64988 Getting set on fire when near lava Resolved MCPE-67136 Jumping and/or walking on an edge aboce lava often results in the player catching on fire. Resolved MCPE-69294 Lava Glitch Resolved MCPE-76149 I get set on fire when near lava Resolved

Attachments

Comments 25

Relates to MCPE-59679.

This can cause player's inventory items to drop a few blocks below the place of impact upon death from falling, giving the appearance that they have been deleted. See MCPE-48370 (Case C in the description).

I am interested to know what would happen if the device from the 2nd teleportation example were used in conjunction with the desync procedure involving boats detailed in MCPE-59679.

Confirmed based on linked videos. Writing out steps for each situation would be too tedious. Among other things, the videos show that a player can catch on fire and enter a portal when he should not be able to based on his position on-screen.

Sorry for the late response, @unknown. Running the command "/tp @s @s" will teleport the player under boats when they're floating up.

15 more comments

This issue has existed for such a long time and has been making hardcore impossible to play for longer periods of time. It hints at a particularly faulty programming of the bedrock server side, and of client-server communication. It has to be fixed.

Also, the issue report only has 1 vote? So many people have complained about server-client desync, yet no one actually votes for the fixes to be implemented. Please vote for this, and all its related reports:


MCPE-159055

MCPE-181368

MCPE-180988

MCPE-187072

Servers are integral to the minecraft experience, yet the code that makes them is built with major faults. Bring this issue up to the forefront, before the code is expanded and these bugs become harder to fix.

One major cause of the server desync problems, particularly those introduced in 1.21.60 is the Server Authoritative movement changes that broke things like PVP, elytra, projectiles, and many other issues:

[media]

Also, according to u/Specific-Secret665 on reddit, these change to Server Authoritative movement were made in an attempt to prevent cheating but have resulted in even bigger issues with normal singleplayer and multiplayer gameplay. In conclusion, The Server Authoritative movement changes should be completely reverted, and more emphasis should be placed on fixing this issue (MCPE-65094).

Here is the full analysis by u/Specific-Secret665 on that Reddit post:

[media]

The Mojira migration is still in progress. Legacy votes don’t seem to have carried over for this ticket just yet (it had over 133 votes according to the Wayback Machine).

I haven’t done testing in a while, but the Reddit post seems to match the client-teleporting behavior that I experienced in the 1.13 betas. To my knowledge, the changes were reverted just before 1.13 released, but they don’t seem to have been reverted this time.

Walking backwards while eating/drawing bow also seems to snap the player by half a block.

Makzevu

(Unassigned)

353829

Confirmed

Multiple

1909 (18363.535)

client, server

1.19.0.25 Preview, 1.18.10.26 Beta, 1.18.0.22 Beta, 1.17.40.20 Beta, 1.17.11 Hotfix, ..., 1.18.0, 1.18.2 Hotfix, 1.19.20, 1.19.83 Hotfix, 1.21.71 Hotfix

Retrieved