I'm not sure about the underlying network implementations, But I guess (due to the way game acts in network plays) that many network updates are implemented by a pessimistic algorithm, which means clients update visuals after their input was sent to server and after they received a reply from server. Though there are Optimistic updates for some cases (like player movements), There are still updates which look too laggy on client-side due to (at least looks like it's due to) having a pessimistic update algorithm. For example, when driving a car it takes a long time to update the client, which makes it quiet impossible to play on slower internet connections.
I think at least movements (including car movements) should be updated the same way player movements are.
[0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
Moderator: ickputzdirwech
-
- Manual Inserter
- Posts: 2
- Joined: Fri Jul 20, 2018 7:59 am
- Contact:
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
Thanks for the report however that's a feature suggestion not a bug.
Every thing we add to the latency system is essentially code duplication of the normal game logic. Something like walking is fairly simple but car driving has a ton of variables and as such we haven't added it to the latency system.
Every thing we add to the latency system is essentially code duplication of the normal game logic. Something like walking is fairly simple but car driving has a ton of variables and as such we haven't added it to the latency system.
If you want to get ahold of me I'm almost always on Discord.
-
- Manual Inserter
- Posts: 2
- Joined: Fri Jul 20, 2018 7:59 am
- Contact:
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
Thanks for your reply.
I think it should have a high priority, since even on LAN networks using cars is too laggy.
I think it should have a high priority, since even on LAN networks using cars is too laggy.
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
Hello all,
is there some sort of wikipage or similar where i can learn something about these concepts? It makes me nervous that i don't have any clue what you're talking about
Greetings, Ronny
is there some sort of wikipage or similar where i can learn something about these concepts? It makes me nervous that i don't have any clue what you're talking about
Greetings, Ronny
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
Search for "Latency hiding". I think this should help you get any answers you need
Koub - Please consider English is not my native language.
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
AWESOME!
I've did this within bing with your search words and one of the first hits is https://www.factorio.com/blog/post/fff-83
That's exactly what i searched for, thx
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
The one thing that should be optimistic is the pipette tool. It's super annoying to have it be so laggy.
Re: [0.16.51] Multiplayer Networking should use Optimistic updates instead of Pessimistic
It already is.
If you want to get ahold of me I'm almost always on Discord.