-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip demo recording on veto phase #189
base: dev
Are you sure you want to change the base?
Skip demo recording on veto phase #189
Conversation
Update: we couldn't have a tournament today cuz we only had 1team(lol). |
I can try it out tomorrow since we will have 2 teams ready, gonna build today |
@FlowingSPDG confirmed this change makes it that the map switches fine but the server crashes upon starting the knife round |
@milkywayfarer thank you for confirming! I believe that's when server start recording demo, so I'd say problem isn't solved yet... I'm not sure if it's same/related bug or we just found a new bug🤔 |
on my side, i crash with version 0.12 but with 0.12 with fix he not crash, i test 3 times |
I tested everything with the latest releases of both MatchZy and CounterStrikeSharp for the time (0.7.13 and v247) |
With 0.7.13 but with fix for tv start record ? Can you confirm when veto is on progress, tv is not recording the demo ? |
Confirmed it does NOT crash on map veto and map change. It crashes when the demo starts recording (at the knife round start). I believe this PR was made after 0.7.13 released thus this release version applies |
This PR has not made on 0.7.13 but on 0.7.12 If your matchzy version in game is 0.7.13, you are on a version without fix |
@FlowingSPDG can you rebase this PR on master or the latest tag so that we can test that again this Wednesday? |
you need to add isDemoRecording = false; because he we not restart the server, isDemoRecording keep true and not record a new match |
@milkywayfarer expect my issue, this is fix i will make a PR on last version tomorrow |
…fix/demo-recording-after-veto
@milkywayfarer @milkywayfarer Sorry for the delay! Merged latest dev and added |
@FlowingSPDG hey! Just tested this version and sadly it still doesn't work. I actually came across a CS2 command that ignores TV delay when starting recording a demo, and adding it like that: Server.ExecuteCommand("tv_record_immediate 1");
Server.ExecuteCommand($"tv_record ..."); didn't work. Maybe it needs to run just after the I believe our global problem is CS2's inability to correctly record demos from the dedicated servers having the I also tested out adding the CS2Fixes Metamod plugin to the set, as its' latest release specified that they fixed the crashes while recording demos. That didn't work. P.S. server crashes before the restart on live (after |
Strange because I made a full tournament with fix and we have 0 crash |
@Iwhite67 well there's my setup if you're curious: OS: FreeBSD + k3s
Running plugins and their versions:
I used this setup all the time, and playing without the online mappicks works, but with mappicks - doesn't. |
Hmm it's storange... I guess it's CS2 server issue anyway so we can close this PR and move our discussion to somewhere else? |
PR is good, it would help with correct demo recordings, so I suggest that you push it |
context: #180
plus:
StartDemoRecording
won't start recording if its already recording.I'll check how it behaves on tournament we will have today.