Network Game Issues

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Bronchandes Gindenstaun
Engineer
Engineer
Posts: 11
Joined: 20 Feb 2005 12:51
Contact:

Post by Bronchandes Gindenstaun »

Another network related thing i don't really understand. Client desynchs. Reconnection to server. I've experienced that once a client has desynched, he will desynch again shortly after every new reconnection (only server save/load will help). But on reconnect the client gets all the game information from the server. So how can a client desynch so fast after getting the newest server information??
Cadde
Transport Coordinator
Transport Coordinator
Posts: 290
Joined: 07 Oct 2004 12:51

Post by Cadde »

Bronchandes Gindenstaun wrote:Another network related thing i don't really understand. Client desynchs. Reconnection to server. I've experienced that once a client has desynched, he will desynch again shortly after every new reconnection (only server save/load will help). But on reconnect the client gets all the game information from the server. So how can a client desynch so fast after getting the newest server information??
If the server pause the game when someone desync and wait a moment till everithing is fine it should solve that problem
Nanaki13
Traffic Manager
Traffic Manager
Posts: 151
Joined: 08 Jan 2005 16:08

Post by Nanaki13 »

I played with my friends again today and we used these settings:

net_frame_freq = 10
net_sync_freq = 50

These kept everything fine until the whole standard 256x256 map was filled. There was an occasional desynch, but we counted 3-4 during the whole game.

But in the end it was a massacre.
Trains that were in the depot on the server were going around the map on players machine and so on. Total chaos. So we quit.

But the playtime was a lot longer than with default settings. I don't know what the default values are, and it will be funny if they are the same as the ones here :P
Cadde
Transport Coordinator
Transport Coordinator
Posts: 290
Joined: 07 Oct 2004 12:51

Post by Cadde »

I played with my brother again today and we had the old railways with about 150 trains using junctions and a huge center station

Like this one:

Image


The game was working really fine but with about 70 trains flowing through ONE junction there where some holdups so i sat and waited for monorail in 2000 and then send all old trains to depot and sold them... I then set up another 4 way RoRo station where the junction was before...
And remodeled my old network that picked up all sorts of cargo.
This "improvement" was in theory WERY good and when trains started going on this new network everything seemed fine until we hit about 37 trains then the game suddently started running so choppy and slow for BOTH client and server... why?
I tried sending just those trains to depot and it ran smoothly again and i remade some small things to see if there where too many signals or intersections or anything but it just kept on going choppy once i released my trains...

Anyone has any suggestions ?

Me and my brother went berserk and just draw the bulldoze tool all over the entire map and then quitted


EDIT: Problem solved... Station spread really slow the game down!
Thats really too bad. Is it path finding that just cant handle it?
The game didn't run choppy when no trains where moving...

We built separate stations instead and ran mule trains between them to transport the cargo to the other side..
We still think it's the best sollution so far.
Last edited by Cadde on 26 Feb 2005 19:26, edited 1 time in total.
User avatar
acidd_uk
Traffic Manager
Traffic Manager
Posts: 194
Joined: 08 Sep 2004 14:38

Post by acidd_uk »

It is sounding more and more like these problems may be caused by the game state itself diverging on two machines. Several people have now reported that two local machines show very different positions for vehicles etc.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 11 guests