Closed FlowingSPDG closed 1 year ago
This is the same problem as the other one; you have get5_remote_log_url
in your match config cvars instead of your get5 config.
Yeah I'll put those cvar on get5config for now. Just curious(not pushing), Will it be fixed on future release?
It's a bit harder to solve this in a clean way. The events use global variables, and not just the remote URL, which all get reset on match end. Ideally, match cvars should only contain stuff that's specific to the match being played, not generic server configuration.
@FlowingSPDG I considered a different approach than trying to maintain the cvar values "after they have been restored", which is essentially what is required as the demo upload could take several minutes.
Instead, I propose we add a cvar, such as get5_restore_cvars_on_end
, which you can then disable, and the Cvars from your match config won't reset at all. Would that work?
@FlowingSPDG I considered a different approach than trying to maintain the cvar values "after they have been restored", which is essentially what is required as the demo upload could take several minutes.
Instead, I propose we add a cvar, such as
get5_restore_cvars_on_end
, which you can then disable, and the Cvars from your match config won't reset at all. Would that work?
Absolutely! I agree on this approach too because I wanted to keep some cvars after match finish.
demo_upload_ended
,demo_finished
should be firedExpected behavior
context : https://github.com/splewis/get5/issues/934 / https://github.com/splewis/get5/pull/935
demo_finished
/demo_upload_ended
should be firedActual behavior
get5_remote_log_url
should not be changed before firingdemo_upload_ended
,demo_finished
Steps to reproduce
v0.12.0-e2a134b
1.11.0.6917
get5_demo_upload_url
andget5_remote_log_url
2. Finish BO1 series flow 3. event won't be firededit: I am receiving dem file from server correctly so those event itself should be fine