Vanilla demo recording problems
When using Odamex.exe -record <demolmp> , moving the mouse to the left is resulting in harsher movements compared to the right, where it's immediate.
Hexen & Heretic suffered from this bug.
Attempting to fix it (with Chocodoom's way for instance) desyncs the demo (even on Odamex itself).
In addition to that, I've found the following problems:
- Odamex records the jumping button while recording the demo (Vanilla doesn't support it)
- Odamex doesn't store the new weapon status when using nextweap / prevweap.
After recording a demo, when I'm playbacking it, it also happened to see my demo being suddenly cut before going back to DEMO1.
Also, I found a way to fix the jerky mouse movement in shorttics, and to disallow the jump input.
Commit link :
After looking deep into the code, it was simply because Odamex didn't properly end the demo (I used "disconnect" before playbacking it).
Now, another bug seen : the game tries to throw an exception if you record a vanilla demo on an unknown map.
Current pull request fixes all of these issues.
IN CASE OF : All bugs above seem to be fixed.
However, one last bug I've found :
If you start a DOOM2 demo, then switch to a netdemo during the playback, the netdemo won't play, immediately starting the DEMO1 loop.
This PR ( https://github.com/odamex/odamex/pull/34 ) fixes the problem lastly issued. If this is merged into the master branch, we'll close this ticket !