I was playing co-op over the 'net, using 2.0.60, and TeamTNT's Icarus. Around map 06, we kept losing sync; this was after playing through the first five maps with no problem. After some eight tries, we skipped the map using < changemap > and went to map07. Problem solved. For a while, anyway -- it de-synced a few minutes into the map.
So, I've got two questions:
1) What usually causes de-sync, anyway? I saw mention of Pain Elementals and whatnot, but from what I remember there weren't any pain elementals on either of the maps.
2) Is anybody else having consistent sync problems like this?
Both of us are on cable modems and the pings are around a steady 24 ms. Strangely, yesterday he was having network troubles and the lag was a little high (framerate was noticeably stuttering), but there was no sync problem.
Out of curiosity, would capping the framerate help?
... In retrospect, I probably should've posted this in Networking ...
Bad sync problems ...
Forum rules

-
- Posts: 10002
- Joined: Fri Jul 18, 2003 6:18 pm
- Location: Idaho Falls, ID
-
- Site Admin
- Posts: 7749
- Joined: Wed Jul 09, 2003 10:30 pm
-
- Posts: 2959
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
I just had an interesting thought.. What if, when a game goes out of sync, ZDoom throws up a message that it's trying to resync, and what it does to resync is have the player designated as the server make a memory-only save that gets sent out to all the players, and upon receiving it all the players simultaniously load up from that save game, which would cause everything to restart synced again as the server saw things. Actually, it doesn't have to be the server.. ZDoom could do some tests between the machines and determine which player most likely has the "proper" game state and have him/her save and send.
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
The problem with this is that sending a whole save game would be quite a lot of data. I suppose everyone could wait while SYNCING was shown on their screens. This would become quite old after it happens repeatedly, possibly even every single tic.Chris wrote:What if, when a game goes out of sync, ZDoom throws up a message that it's trying to resync, and what it does to resync is have the player designated as the server make a memory-only save that gets sent out to all the players, and upon receiving it all the players simultaniously load up from that save game, which would cause everything to restart synced again as the server saw things.
The more fundamental problem, come to think of it, is that desyncing would have to be detected somehow in the first place.
-
- Posts: 2959
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
If it keeps having to resync every frame then the game won't play anyway, whether it tries to resync or not. I'd just think trying to resync through save games could attempt to get the game back together. Though looking at the save game file sizes, I guess I can see resync speed issues when there's dialup users involved, but it could also provide help in figuring out what's wrong if you can dump a save game right before it desyncs.I suppose everyone could wait while SYNCING was shown on their screens. This would become quite old after it happens repeatedly, possibly even every single tic.
It already does this to some degree, doesn't it? How else can ZDoom report consistency failures?desyncing would have to be detected somehow in the first place.
-
- Posts: 68
- Joined: Fri Oct 31, 2003 4:40 pm
I would agree with that since it does report the errors. In fact, savegames were my solution to coop desync before version xx fixed most of the problems (forgot which version it was). I (as the server) would save the game immediately after a desync, everyone would quit, then the other players would copy the savegame off of my computer. Upon loading, the game would still say consistency failure, but the number was the same on all machines and they were in reality in sync again. Not sure how well this would work in real time, but it's definately faster than having to quit and reload.Chris wrote:It already does this to some degree, doesn't it? How else can ZDoom report consistency failures?
That being said, to the original author of this post, make sure all game settings and loaded files are the same. Not sure if ZDoom sets the compatability flags of all the machines to match the server or not so especially check those (I.E. Pain Elemental Lost Soul limit.)
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
I thought that was the point I was making. I guess I wasn't clear enough (never actually explicitly connected the dots for you). I was siting this as a reason that ZDoom couldn't blindly repeat the saving and restoring over and over again.Chris wrote:If it keeps having to resync every frame then the game won't play anyway, whether it tries to resync or not.
-
- Posts: 2959
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
-
- Posts: 2959
- Joined: Thu Jul 17, 2003 12:07 am
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
-
- Posts: 75
- Joined: Mon Feb 21, 2011 1:45 pm
- Location: Sydney, Aus
Re: Bad sync problems ...
These kinds of errors are what made me and my friends ditch zdoom altogether for multiplayer and move to skulltag.
-
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
Re: Bad sync problems ...
Terribly sorry, plausiblesarge, but this entire subforum has not been used for years, and the thread you've posted in dates back to 2003. Please pay closer attention to how old the thread is!