-
Notifications
You must be signed in to change notification settings - Fork 402
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
Some issues with the latest Linux build #848
Comments
Unfortunately I'm not sure what's causing this, but if you could provide some more info it might be easier to diagnose:
I'm sorry for the inconvenience! If you can find any more details about this (in particular what the entity is) it'd be a great help. |
|
Managed to reproduce it now. It seems that it has something to do with level generation, in some cases the ruins generate differently at the client's side, causing a different number of structures and items to be created which leads to a ton of entity ID mismatches. Not sure what's causing it yet - at first I suspected it was due to the recently added level mirroring, but it seems to happen in non-mirrored levels as well. I'll do some more debugging and try to fix this asap. |
I'm glad to hear that you figured it out! I'm confused how this error never surfaced for people I asked hosting on Linux, though. |
…er to diagnose bugs like #848 in the future.
… floating point indeterminism from causing the level to differ between players. Also changed the way tunnels are carved, now it doesn't require the LinesIntersect method which seemed to be the cause for #848. This is not a 100% bulletproof way to get rid of the issue because doubles are not deterministic either, but I think it might be enough to make mismatches so unlikely that it never happens in practice. Need to do some automated testing to figure out if we need a more robust solution (switch to fixed point, make the server send some data that the client can use to ensure the level is generated correctly?)
I've also had similar if not the exact same issue when using the wrong version of Mono to run the server. Figure out how to install 5.4 and it seems to work great. |
Downgrading to mono 5.4.0 seems to be working as a temporary fix, thank you! |
How can i install mono 5.4 on Ubuntu 14.04? |
This was such a frequently asked issue I made a guide for it. You can find out how to install Mono 5.4 here Note that this isn't/won't be necessary for the full release. |
commit 633e54b Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Tue Mar 19 18:02:21 2019 +0200 Include level equality check value in round start messages, so clients immediately know if the level generated at their end doesn't match the one generated by the server (which will cause ID mismatches and more hard-to-diagnose desync kicks during the rounds). Related to #848 commit 68e4107 Author: Joonas Rikkonen <poe.regalis@gmail.com> Date: Tue Mar 19 18:01:01 2019 +0200 Readded client error handling from ef9afed. Not sure how it got removed, probably a messed up merge somewhere down the line when working on the client-server-separation branch or when merging the Steam version work from dev to master. In any case this should help diagnose desync kicks such as #1293.
Created a new ticket with more info: #2723 |
I had this happened to me when I want to join my friend modded lobbies I have to enable or disable some mods to fix it or just rejoin the lobbies. |
I get this problem on Winodws 10, server Player-Hosted with mods |
On my server randomly at spawn people start receiving entity not found errors, then get disconnected for syncing with the server for too long. This only started happening when I switched to Linux. I downloaded the game from the UG mirror.
Edit: this was on 0.8.2.0,I didn't notice the new release. I'll see tomorrow if 0.8.2.1 has the same issue.
The text was updated successfully, but these errors were encountered: