multiplayer bugs in the newest builds

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Quindor
Engineer
Engineer
Posts: 11
Joined: 05 Jan 2005 23:33
Location: The Netherlands
Contact:

multiplayer bugs in the newest builds

Post by Quindor »

Hey,

Quindor here. Running 3 servers 24H now.

Normally I play on server 1, which is mostly the updated nightly build (depends on how busy I am that day).

Anyways, that mostly all works just peachy.

Problem is that about 2 builds ago or so, the multiplayer has become increasingly more unstable. :(

I think it started when SVN change "r1407 | truelight | 2005-01-06 23:31:58 +0100 (Thu, 06 Jan 2005) | 20 lines". But I'm not really sure though.

What happens is that the server will start off just fine. Everybody can join, login and play happily....

Then more and more desync error (10045) will start happening. Then everyone gets kicked, and the server immediatly desync's when you try to join. It downloads the map, and BAM! your back in the main screen again with a RedBox saying you had a desync problem.

Server log reports this :
dgb: [NET] Quindor reported an error and is closing his connection (desync error).

Not sure how to fix this. Only way to get back into the server again is to close it and restart it again......

Again, these problems only started about 2 nightly builds ago or so that I can remember. Before that it played perfectly fine!!

I hope that is enough information. I'll server 1 in the "broken" state, so everything/anyone can try and join and get kicked immediatly, to see what happens.

The map it's currently playing I only built like 7 trains or something and I was the only company.

I tested this problem with 4 different players on different machines in different locations on different Os'ses even. All have the same problem. :(

Regards and keep up the good work!
Quindor
No chuchu better then a maglev chuchu
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

I can concur with this. Using yesterday's build 1433, i tried to join both of the servers that were running the nightly, and both of them desycnd the second they had finished connecting. (one of the servers was quindor's)
TrueSatan
Transport Coordinator
Transport Coordinator
Posts: 291
Joined: 16 Jul 2003 18:33

Post by TrueSatan »

i have the same problem with r1439...
i've tried to test the server with my family but
after a few minutes playing with one additional player the server desyncs all other connecting clients as mentioned above.
the best thing is that the server (normal or dedicated) although throws my local client with desync out of the game. no chance for a new company and not even as spectator you can log in.

but if your're lucky you can play a few hours with the server and the one additional player.

oh and i found a bug i think.
if you're the server and you're start building then the company name is the name the town you start building anything. so far so good...
but if you're looking at the lobby you will always see a company name that is not the townnamed company but a town starting with "a" and then the name company. i'm to lazy to check if it is in sf right now. so if it's ignore it ;-)

hope to see this fixed soon :-) playing with the two player was fun :-)

greets
TrueSatan
Transport Coordinator
Transport Coordinator
Posts: 291
Joined: 16 Jul 2003 18:33

Post by TrueSatan »

for me networking works again :-)
thnx
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

Bug is supposedly fixed in the newest nightly:
r1448 | truelight | 2005-01-09 19:49:18 +0100 (Sun, 09 Jan 2005) | 5 lines

-Fix: The current_order of a vehicle is now correctly saved (caused
massive desyncs)
Warning: savegames which are made with the nightly of 08-01-2005 will
NO LONGER work!!

Just successfully joined a game, so that would seem to work.
Thanx TL. :)
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Post by TrueBrain »

Moriarty wrote:Bug is supposedly fixed in the newest nightly:
r1448 | truelight | 2005-01-09 19:49:18 +0100 (Sun, 09 Jan 2005) | 5 lines

-Fix: The current_order of a vehicle is now correctly saved (caused
massive desyncs)
Warning: savegames which are made with the nightly of 08-01-2005 will
NO LONGER work!!

Just successfully joined a game, so that would seem to work.
Thanx TL. :)
Yw ;)

Anyway, tnx Quindor for your detailed report. Together with a savegame from |Jeroen| we managed to find the bug pretty quickly. No longer you should get massive desyncs problems. If you still do, let me know.
Quindor
Engineer
Engineer
Posts: 11
Joined: 05 Jan 2005 23:33
Location: The Netherlands
Contact:

bug squashed.

Post by Quindor »

Glad that bug is squashed. I can verify that all my games are running just fine again, no desync's what so ever.

Thanks truelight for the great fix. Enjoying the game a lot recently, so keep up the good work on developing, it's certainly beying played and appreciated!!

I'll try and include a save game next time..... ;)

Quindor
No chuchu better then a maglev chuchu
User avatar
dominik81
OpenTTD Developer
OpenTTD Developer
Posts: 768
Joined: 16 Aug 2003 12:55
Location: Bonn, Germany

Post by dominik81 »

TrueLight wrote:Together with a savegame from |Jeroen| we managed to find the bug pretty quickly.
And yet again a savegame helped to fix the bug more quickly. :) Let me take this opportunity to emphasize again how important savegames are. Even if youe bug is easily reproducable and if you describe all steps to reproduce it, it is much easier for us with a savegame. Bescause we can than take the savegame, try the bug out immediately again and test if the fix works with the savegame.
"There's a readme that comes with the source. I suggest you read it."
- Korenn
Quindor
Engineer
Engineer
Posts: 11
Joined: 05 Jan 2005 23:33
Location: The Netherlands
Contact:

desync's still appearing

Post by Quindor »

Now that we've played further and with more players again. Desync's still happen.

Last night I was playing remotly on my server together with some other people. There was 4 or 5 at the same time max. But for some reason, two of them would keep getting desync problems. While me and another person has no problem with it whatsoever, no lag, nothing.

I had them ping my server the whole time, also when the disconnect/desyncs would happen. But there was no real raise in ping at all, at anytime?

Now that I'm at the office and I try and play on my own server, (the game is years and years later now), I also am getting the desync problems.

Any clue to what this could be? Myself I have no clue at all. It seems to increase the amount of desyncs in line with that the game grows. The more complex it is, the more desyncs happen.

I have included a save game, I hope that can help.

Anybody have any idea? And maybe something you'd wish to have tested or something? Problem is happening on Quindor's server 1. It is running the latest nightly build (r1489).

Quindor
Attachments
still desync problems.sav
This is the current running game.
(144.88 KiB) Downloaded 179 times
No chuchu better then a maglev chuchu
User avatar
Hextrasher
Engineer
Engineer
Posts: 17
Joined: 14 Sep 2004 16:11
Location: Monster, ZH, The Netherlands
Contact:

Post by Hextrasher »

Hey Quindor, and everybody .. I played in your game last night .. remember me ? 56k dialup .. dsl modem broke ? ;) Anyhow, I tried to login into the game from work and it worked quite good, disconnected once though, didnt play very long though, maybe only 5 minutes. (Trains were not making any profit anymore ;) too much breakdowns heheh) Tried again this evening at 18:30 or something, but it instantly broke off my connection. So I couldnt get in at all .. even now I have my dsl back up again ;)
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

I was on the server for... erm 6 hours last night. not one desync.
Quindor
Engineer
Engineer
Posts: 11
Joined: 05 Jan 2005 23:33
Location: The Netherlands
Contact:

the desync's are strange

Post by Quindor »

When I'm at home and play locally on the server, I never get desynced. When I'm at my GF's and play then, I haven't really had one either.

But at one time, I played at my GF for a few hours, and everything for me was just fine. While other players (whom I had open a ping to my internet ip) get random but regular desync's. While the ping did NOT raise or anything at all. Server had an average load of about 10% or so.

Ok, the next day I was at my work, and tried it from there, and suddenly I started to get regular desync's? Only thing that changed was that now the map was a bit "older"....but nothing else?
Very strange.

I can't really lay a finger on it what the problem could be. I guess more testing is neccessary, which we happily do everyday. Is there anything I could do?

Quindor
No chuchu better then a maglev chuchu
TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1370
Joined: 31 May 2004 09:21

Re: the desync's are strange

Post by TrueBrain »

Quindor wrote:When I'm at home and play locally on the server, I never get desynced. When I'm at my GF's and play then, I haven't really had one either.

But at one time, I played at my GF for a few hours, and everything for me was just fine. While other players (whom I had open a ping to my internet ip) get random but regular desync's. While the ping did NOT raise or anything at all. Server had an average load of about 10% or so.

Ok, the next day I was at my work, and tried it from there, and suddenly I started to get regular desync's? Only thing that changed was that now the map was a bit "older"....but nothing else?
Very strange.

I can't really lay a finger on it what the problem could be. I guess more testing is neccessary, which we happily do everyday. Is there anything I could do?

Quindor
You play OpenTTD when you are at your GF? You should be asame of yourself ;) Hehe :p

Ping and desyncs have little (but not nothing) to do with eachother. I will look into it a bit more (this is going to be a long debug session ;)).. I will let you know when I find something :)
Moriarty
Tycoon
Tycoon
Posts: 1395
Joined: 12 Jun 2004 00:37
Location: United Kingdom of Great Britain and Northern Ireland
Contact:

Post by Moriarty »

NOte: today's build (1524) did a couple of mass desyncs. One of whom was quin on his localhost!
Before the first desync there was a train crash (about 5 secs before). may be related.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Bing [Bot] and 16 guests