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

Fix Thunderbolt crashing clients when owner is invalid #906

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

Zanieon
Copy link
Contributor

@Zanieon Zanieon commented Nov 24, 2024

I tried several approaches in several test sessions with @Alystrasz to see how i could finally fix this issue, unfortunately this is the only one that prevented this screen from happening:
image

This also fixes NPCs doing this exact same crash if they fire a Thunderbolt and are killed right after.

The problem in here is not a validity check in the attacker, that check is actually passing when i tested, what is causing the crash is the GetParent() function and i cannot simply remove that because it's the check responsible to tell when an attack was done from rodeo (i.e battery pulls, classic rodeo riff).

@github-actions github-actions bot added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Nov 24, 2024
Copy link
Contributor

@Alystrasz Alystrasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed working in-game (was present in the testing session).

Copy link
Contributor

@RoyalBlue1 RoyalBlue1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good

@Zanieon Zanieon added READY TO MERGE This mergeable right now and removed needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Nov 24, 2024
@GeckoEidechse GeckoEidechse merged commit 49791ea into R2Northstar:main Nov 27, 2024
3 checks passed
@Zanieon Zanieon deleted the thunderbolt_client_crash_fix branch November 27, 2024 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
READY TO MERGE This mergeable right now
Projects
Status: No status
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants