Lagging clients are dropped!

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Eddi
Tycoon
Tycoon
Posts: 8258
Joined: 17 Jan 2007 00:14

Re: Lagging clients are dropped!

Post by Eddi »

4 game days is about 10 seconds... if the client is too slow to catch up this much, increasing the value probably won't help you anyway.
User avatar
jfs
Tycoon
Tycoon
Posts: 1750
Joined: 08 Jan 2003 23:09
Location: Denmark

Re: Lagging clients are dropped!

Post by jfs »

The basics of how multiplayer works in OpenTTD, is that every player gets a copy of the game world (downloads the current savegame from the server) when they join the game, and then every client simulates the complete game world independently.

The server controls the speed of the game, if the server is able to simulate the world at full speed (33.33 ticks per second) but one of the clients isn't able to do that (e.g. only runs it at 28 ticks per second) then that client will fall behind the server, and eventually be kicked out for being too slow.

It sounds counter-intuitive, but when playing multiplayer, it's best to let the slowest computer act as server. It's safe if all clients are faster than the server, then they'll just slow down to match the server's speed, but the server will never slow down to match a slow client.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 8 guests