ReikaKalseki / Reika_Mods_Issues

The issue tracker for all of my mods - RotaryCraft, its addons, ChromatiCraft, and everything else.
46 stars 14 forks source link

Chromaticraft: Bouncing while player is being infused #1303

Open OvermindDL1 opened 7 years ago

OvermindDL1 commented 7 years ago

Currently the player while being infused is hovered above the infusion alter, however occasionally due to packet loss or whatever the player drops hard and makes the leg-crunching-sound on occasion, but it resets and is fine again a second later. Though this is purely graphical and does not matter except visually, this could be fixed by setting the flying flag on the player so they are in the creative-like flying mode, then it works properly and never bounces (tested via a code edit locally as it was making me kind of sick).

ReikaKalseki commented 7 years ago

The issue is caused by the client and server getting out of sync because the server lags (and ultimately controls movement). The "flying" flag would cause a series of other issues.

OvermindDL1 commented 7 years ago

The issue is caused by the client and server getting out of sync because the server lags (and ultimately controls movement). The "flying" flag would cause a series of other issues.

Could write an interpolater to handle client-side smoothing when the server does not respond in a timely manner. Still, this is a minor issue at most.