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

Client Side (Packet Order Problems) #5

Open
Charles445 opened this issue Nov 4, 2020 · 1 comment
Open

Client Side (Packet Order Problems) #5

Charles445 opened this issue Nov 4, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Charles445
Copy link
Owner

There is high demand for a client only version, and it's theoretically possible to do so by checking for server entity motion packets.

However, I believe the health changing packet is sent before the motion packet, and this causes an issue with 1.14+ (and perhaps older versions that are lagging?), where the camera starts to tilt before the motion packet is received, causing an ugly snapping effect.

I'm trying to theorize possible ways around this. Perhaps a solution would be to delay the screen shake until the next motion packet is received? Any suggestions or help is appreciated.

@Charles445 Charles445 added the help wanted Extra attention is needed label Nov 4, 2020
@vrad-exe
Copy link

Assuming the motion packets you're referring to are those for the player's knockback, I'd just delay the tilt until the knockback is recieved. It shouldn't really cause problems unless you have a lot of lag (and is also slightly more realistic, since the knockback is what would actually cause your head to tilt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants