Bug Tracker – Full Text Bug Listing

Bug 1293

Summary: Odamex crashes when trying to write a demo to a path that does not exist
Product: Odamex Reporter: HeX_Vulture <mdvulture>
Component: ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: normal CC: odamex-bug-reporter, stlaurent.nicholas
Priority: P5    
Version: 0.8.x   
Hardware: All   
OS: Other   

Description HeX_Vulture 2019-07-30 15:35:27 UTC
In my cfg, I have:
set "cl_netdemoname" "demos\\Odamex_%g_%d_%t_%n_%w_%m"

which would normally save my demo to \odamex\demos\whatever.odd. However, I forgot to create the directory "demos" when I installed the new version of Odamex, and when I tried to launch a demo mid-game the client instantly crashed. In the past it would say "failed to write demo" but now it does not even do that. Ideally the client could create the folder and save the demo without the user having to create things manually.
Comment 1 Nick 2020-04-16 13:56:02 UTC
Fixed with this PR:
https://github.com/odamex/odamex/pull/151