TFTrue icon indicating copy to clipboard operation
TFTrue copied to clipboard

tftrue_tv_autorecord is possibly creating corrupted STV demo files

Open Arie opened this issue 2 years ago • 0 comments

STV demos recorded with tftrue_tv_autorecord 1 often seem to create a corrupted file that crashes TF2 when played back (at least without running a little fixer script called DemoLib2_Test.exe). error

Demos on serveme.tf are automatically recorded in 2 ways. For players that haven't enabled demos.tf uploading, the demo is recorded by TFTrue's tftrue_tv_autorecord, generating a file that's called for example: 2022-05-29-18-51-blu_vs_red-cp_gullywash_f7.dem These have a very high rate of being corrupt, requiring that .exe fix. As a test I tried 5 random demo's recorded by different players on different servers and maps, all of them crashed my TF2.

For serveme.tf players that have enabled demos.tf, I disable TFTrue's autorecord and use F2's recordstv sourcemod plugin. This creates demos with a name like : match-20220530-1116-cp_process_final.dem I've tested 5 of these as well, and these all worked. The recordstv plugin was not present for players that didn't have demos.tf uploading enabled, so it couldn't have been a case of that plugin clashing with TFTrue, because it wasn't installed when the corrupted demos were recorded.

So I'm suspecting TFTrue's autorecord of creating slightly corrupted files

Arie avatar May 30 '22 21:05 Arie