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

Multiplayer lag causes the hud to stop updating #35

Closed
jeremyshannon opened this issue Oct 2, 2021 · 3 comments
Closed

Multiplayer lag causes the hud to stop updating #35

jeremyshannon opened this issue Oct 2, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@jeremyshannon
Copy link
Owner

In multiplayer, lag sometimes mounts and the hud will stop updating your condition. This can lead to sudden death when it suddenly updates and you find out you've been unknowingly freezing and exhausted for a while.
A telltale sign that this is happening is when you switch between items in your hotbar and the name of the item doesn't appear, the workaround being to get someplace warm and lay down until lag subsides.

Reducing lag would help alleviate the problem, but a proper fix would likely be to move some of the code to client-side.

@jeremyshannon
Copy link
Owner Author

jeremyshannon commented Oct 2, 2021

Further testing: I've notice that at least some exhaustion effects do happen regardless of what the hud says, I was experiencing major movement and jump penalties with white level energy/thirst and only yellow hunger. So that's getting updated, but not the hud itself.
Logging out and back in fixes the hud lag.

@jeremyshannon
Copy link
Owner Author

I've added a setting to control the rate at which the hud updates. Reducing the refresh rate seems to help, but not entirely solve the problem.

@jeremyshannon
Copy link
Owner Author

Continued testing seems to show that the problem is solved well enough that complaints about it have ceased. With update rate reduced, the hud rarely lags more than a second or two. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant