M1 |
M2 |
055 |
001
Summary: | Regression: vanilla demo lmps desync in 0.8.0, depending on client config | ||
---|---|---|---|
Product: | Odamex | Reporter: | Ant P. <ant+odamex.bugs> |
Component: | Client | Assignee: | Odamex Bug Reporter <odamex-bug-reporter> |
Status: | NEW --- | ||
Severity: | minor | CC: | Ch0wW, odamex-bug-reporter |
Priority: | P5 | ||
Version: | 0.7.x (Old) | ||
Hardware: | x86 (Windows, Linux, etc) | ||
OS: | Linux | ||
Attachments: | Door-desync demo bug |
Description
Ant P.
2019-01-24 19:53:42 UTC
.odd files are normal. Since there's some protocol changes, you'll need Odamex 0.7.0 to make these run. About vanilla .lmp ones, good catch. Demo compatibility is sadly still not 100% perfect and are prone to desync since we have to replicate to the perfection the vanilla demos. However, you said those demos were perfectly working since 0.7.0 ? Oh. I just installed 0.7.0 to check and it seems to break in exactly the same places. I've definitely seen these working correctly in it though... maybe I had less wonky config settings at some point. Would it even be worth spending effort to fix this then? I know it'd be nice to have from a preservation angle, but if I'd known it was previously broken I probably wouldn't have bothered reporting the bug… Could you check them in 0.6.X if you have some time, to see from what version the desyncs happened ? Also, I take care of .lmp playback very carefully, because it shows how close to vanilla we can be. And ZDoom making some physic changes to Doom, we need to find them, and fix them back. (In reply to Maëllig Desmottes from comment #3) The oldest revision that successfully builds on my current system is dead164dc6fdc (0.6.4) - and it breaks in the same way. So I tried bisecting the config file instead. That gave me answers, but they're bizarre: - removing "set cl_weaponpref1 1" makes brit11.wad sync - removing "set cl_showspawns 1" makes av.wad sync. I've noticed that in the desync case, the player spawns are actually different positions. Something consuming RNG values when it shouldn't be? I made a pull request force-disabling "visible spawnpoints" , since it actually adds spawns (and thus, new entities) to the demo, making it desync. I didn't see the desyncs for the AV demos though, so I'll need confirmation from your end. (In reply to Maëllig Desmottes from comment #5) First of all, sorry for the really late response. I've retested all of these with version 0.8.0-64-gf916c4ab (current github development branch). Results: freedoom1: - demo1 (4-player co-op) improved slightly, but still visibly derails (to varying degrees per player - green makes it the furthest) as soon as it gets through the first corridor - demo3 is, to my surprise, now playing a deathmatch demo instead of singleplayer. And it runs fine now! freedoom2: - demo2 (singleplayer) starts normal but goes obviously wrong upon opening the door with a sergeant on the other side - demo3 is working in the same way as freedoom1's demo3. Suddenly DM mode, and plays fine to completion mm.wad: - demo1 (2-player co-op) no improvement, still desyncs near the end Tested and found to work perfectly: - av.wad (DM, singleplayer, 2-player co-op) - brit10.wad (DM) - brit11.wad (DM) - deca.wad (DM) - dwango12.wad (DM) - icarus.wad (singleplayer) - u_dtag.wad (dwangotag :D) Notably, the ones that still break all have monsters (and AI/object interaction?) in common. Most are co-op also, the exception is freedoom2 demo2. But, given that they don't build their singleplayer iwads for vanilla any more, I wonder if whatever they recorded in is also buggy. Created attachment 575 [details]
Door-desync demo bug
One major cause of desyncs that has been recently spotted since Odamex 0.6.0 and onwards is about the doors : There's a frame that seem to freeze the ability to open doors, making it immediately desync. For instance, the latest World Record UVSPeed of Doom 2 desyncs on MAP26 because of that bug. Maybe some of the desyncs spotted are related to that ?
So, for developers being curious about this error, I uploaded a demo with the bug on map27. Compare it with Chocolate-Doom to see it better. If I go through the door and turn around, it works.
Additionnal infos : this bug isn't triggered on 0.5.6, and has been started when there was a change related to the doors.
|