Skip to content
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

UtBS S08 Fixed replay OOS by moving victory event to synced event #6676

Merged
merged 2 commits into from Jul 3, 2022

Conversation

Descacharrado
Copy link
Contributor

Half of #6439 This implementation is different from the previous implementation (in the linked PR) because there was a simpler way of doing it and the previous implementation was buggy.

Closes #6267

@github-actions github-actions bot added the Campaign (any) Deprecated tag, replaced with separate tags for each mainline campaign label May 3, 2022
@Pentarctagon Pentarctagon requested review from nemaara and CelticMinstrel and removed request for nemaara June 27, 2022 19:01
@CelticMinstrel
Copy link
Member

Okay, so this is kind of confusing, but I guess the main point is… there's a gigantic cutscene in someone's "last breath" event, but "last breath" events are not synchronized? (Is that true? I'm not even sure. Nothing on the wiki suggests they're not synchronized.)

Assuming the issue is indeed that "last breath" is not synchronized… does firing a different event really address the issue? But… I assume you tested it, so I guess it does fix it?

I don't really get what's going on here at all. I guess if it works and doesn't produce an out-of-sync error, that's good enough…?

@Descacharrado
Copy link
Contributor Author

It seems to be an upstream problem with replays (see #4667). In my experience it happens when units are spawned (or moved, not totally sure, maybe both) during (or after, or both, again not exactly sure) a victory event.

I did test that moving it to a non-victory event fixes it. And this implementation solves the OOS on just this scenario.

@Descacharrado
Copy link
Contributor Author

1fda162 is for changelog conflicts.

@CelticMinstrel
Copy link
Member

Ah, so the problem is the victory event, not the last breath event… I see…

@Pentarctagon
Copy link
Member

@CelticMinstrel is this fine to merge then?

@Descacharrado Descacharrado mentioned this pull request Jul 2, 2022
7 tasks
@CelticMinstrel
Copy link
Member

Well… I feel like there's a better way to do it, but it's still an improvement. So sure.

@Pentarctagon Pentarctagon merged commit 6551584 into wesnoth:master Jul 3, 2022
Improving Under the Burning Suns automation moved this from In progress to Done Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Campaign (any) Deprecated tag, replaced with separate tags for each mainline campaign
Development

Successfully merging this pull request may close these issues.

UtBS S8 Out of the Frying Pan Replay: OOS after accomplishing the final objective
3 participants