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

CTF Ghost capturing fix 🚩 #648

Merged
merged 11 commits into from
Mar 2, 2024
Merged

CTF Ghost capturing fix 🚩 #648

merged 11 commits into from
Mar 2, 2024

Conversation

3alTemp
Copy link
Contributor

@3alTemp 3alTemp commented Jan 6, 2024

Description

I picked up GitHub again and decided to make this pr again, which fixes a long-lived capture the flag bug [as seen on BSE!] which allowed players to recover their flags by dying or leaving the game while on them.

Bug footage: https://youtu.be/npJ4ePCkRGI
Fix footage: https://youtu.be/bZ53pd4o4Ic
Is there a better way to display >10mb videos in GitHub? Please let me know.

Type of Changes

Type
🐛 Bug fix
✨ New feature
🔨 Refactoring
📜 Docs

@3alTemp
Copy link
Contributor Author

3alTemp commented Mar 2, 2024

Also I just noticed it once passed CI and then it fell back into not passing... Thank you typing extensions grr 😡 ...

@efroemling
Copy link
Owner

Thanks for the fix(es)! Though it makes me wonder if there'd be a better way to wire up flag behavior in the future that wouldn't require corner-case fixes like this.

@efroemling efroemling merged commit abac38a into efroemling:master Mar 2, 2024
15 checks passed
@3alTemp 3alTemp deleted the ctf_fix branch March 3, 2024 19:34
@efroemling
Copy link
Owner

Quick heads-up related to this PR:
Since the new build started rolling out, I'm seeing a lot of this error in logs:

CTF flag_return_touches < 0

I just checked in what I believe will fix it: f6f9526
Holler if anything looks off to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants