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

Timestamping issue #80

Open
PlayTheGames1 opened this issue Feb 3, 2025 · 1 comment
Open

Timestamping issue #80

PlayTheGames1 opened this issue Feb 3, 2025 · 1 comment

Comments

@PlayTheGames1
Copy link

PlayTheGames1 commented Feb 3, 2025

RakNet internal mechanisms use a mechanism to detect system time spikes and normalize them, however, this mechanism is unstable, I tested the original RakNet client through Minecraft, and made my system time spike back constantly, as a result, the RakNet client immediately crashed. I have a suggestion to solve this problem: you can use a monotonic time that cannot spike back, it is ideal for the timestamping mechanism and time synchronization.

@PlayTheGames1
Copy link
Author

As i see SLikeNet uses same mechanism, it's not good to detect time spikes by yourself, if system themselves can it, it's waste CPU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant