GetDynamicBaseline: FindStringIndex(0-Boomer) failed.
Pretty mush title speaks for itself. Game crashes when attempting to load the source tv demo. Any fix?
Sounds unusual, upload a demo first.
L4D1 https://dropmefiles.com/HmpiR
Does this happen with every demo or just one?
Started happening a lot half a year ago. Nearly 50% demos are broken like that
Do you know how to reproduce it?
Do you have a working demo of l4d1, in versus mode?
No idea how to reproduce it, have been trying to find any pattern but almost no result. For some reason most likely demo wont fail if there is only 1 player on the server.
Im running a survival-only server, so no, i dont have vs demo. I dont think gamemode has anything to do with it.
P.S. The demo begins as soon as the survival round starts with 'create_panic_event' hook. Sometimes multiple infected spawn simultaneously (all on the same tick - demo start and si spawns). Im starting to think that the source tv somehow cant handle the demo start process with multiple bot si spawns on the same tick but could be wrong. Will test early demo recordings later.
Can that be due to (probably) broken sourcetv manager? I've been using that one https://github.com/peace-maker/sourcetvmanager Tested demos after switching to simply using tv_record and stoprecord commands, for now this issue doesnt seem to appear. Will report if this continues.
Disable sourcetvmanager and rewrite using tv_record/stoprecord commands on same entry.
You want to use ServerExecute to maintain parity.
Is it important to use ServerExecute instead of simple ServerCommand?
It could be significant, yes.
ServerCommand inserts a command into a buffer to execute on next frame, while ServerExecute executes commands in the buffer immediately. Call ServerExecute after doing ServerCommand("tv_record ...") and you should have matching behavior with sourcetvmanager API.
The issue still persists. This time string index was (209-Hunter). As soon as the round started there was a hunter spawn. I think my guess comes close to the truth that it has to do something with demo start and bot spawns.
Changed my code according to your suggestion.
Was:
ServerCommand("tv_record name.dem");
...
ServerCommand("tv_stoprecord");
Now:
ServerCommand("tv_record name.dem");
ServerExecute();
...
ServerCommand("tv_stoprecord");
ServerExecute();
This is the most recent demo: https://dropmefiles.com/VgU2k
I dont know if there is a point in uploading my plugin code. Time to test early recordings (before horde event).
UPD: early demo didnt crash although there were si spawns later on. Added it to the link (crashtest.dem).