Skip to content

Allow the time difference to jump when it notices that its consistently too far off from the true value - #3479

Open
IntegratedQuantum wants to merge 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:TimeDifference_robustness
Open

Allow the time difference to jump when it notices that its consistently too far off from the true value#3479
IntegratedQuantum wants to merge 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:TimeDifference_robustness

Conversation

@IntegratedQuantum

@IntegratedQuantum IntegratedQuantum commented Aug 6, 2026

Copy link
Copy Markdown
Member

This is detected by checking whether the last 5 seconds worth of samples were off in the same direction, at which point it should be obvious that the old estimate is wrong by a big margin.

This improves correction of an issue on startup where the initial time difference is overestimated, causing interpolation on the client to be incorrect.

(Note this does not fix the root issue, I'll make an issue for the root issue in a bit)

@iNiKKo Please confirm that this fixes the issue, it will still be present for 5 seconds, but then it should fix itself.

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
image In local multiplayer, I will test a bit more to make sure this is not caused by my setup.

@IntegratedQuantum

Copy link
Copy Markdown
Member Author

same account multiplayer is no longer supported as of #3434

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
image When tried to "host" a world (without dev mode) tried on 2 different machines

@IntegratedQuantum

Copy link
Copy Markdown
Member Author

This is unrelated too #3477

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

I cannot host local due to same account (#3434) and I can't host multiplayer due to #3477
So I cannot test this fix, unless I generate another account to test local (which I will try next)

@IntegratedQuantum

Copy link
Copy Markdown
Member Author

Can you not host local with different account?

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

I am not sure where my account key is, so changing account might make me lose my current one.

@IntegratedQuantum

Copy link
Copy Markdown
Member Author

Then set a different cubyz dir in the launch config

@IntegratedQuantum

Copy link
Copy Markdown
Member Author

or, even better, copy it from the settings file and store it somewhere secure this time

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
image

Local multiplayer with two accounts
error when joining via localhost
(I did the same thing as with same account but on same account i do actually join the server.

@iNiKKo

iNiKKo commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
image

These don't work

  1. Local Online multiplayer ( 2 pc's same network)
  2. Local multiplayer with same account
  3. Local multiplayer with different accounts

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

Successfully merging this pull request may close these issues.

2 participants