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

Don't allow nameplate GameObject lookup when ObjectId is invalid #2137

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

nebel
Copy link
Contributor

@nebel nebel commented Dec 3, 2024

Skip GameObject lookup when NamePlateInfo->ObjectId is 0xE0000000. Technically these objects can still be looked up despite the invalid ObjectId, but doing so and modifying plates as a result seems to result in crashes deep in font rendering code. As this is an unusual case which (to my knowledge) is not seen elsewhere, and the bad ID indicates something is invalid, it's probably correct to skip these lookups.

This should fix a crash in the FC Name Color plugin when viewing certain Doman Restoration cutscenes.

@nebel nebel requested a review from a team as a code owner December 3, 2024 13:14
@nebel nebel force-pushed the fix-doman-cutscene-nameplates branch from e40e485 to 7ca026d Compare December 4, 2024 11:36
@goaaats goaaats merged commit 75f4145 into goatcorp:master Dec 4, 2024
3 checks passed
KazWolfe added a commit that referenced this pull request Dec 17, 2024
* Use MiniGame BGM scene for About tab

* Use span comparison in GameGui.IsInLobby

* [master] Update ClientStructs (#2126)

Co-authored-by: github-actions[bot] <noreply@github.com>

* [master] Update ClientStructs (#2134)

Co-authored-by: github-actions[bot] <noreply@github.com>

* [master] Update ClientStructs (#2135)

Co-authored-by: github-actions[bot] <noreply@github.com>

* Fix config option summaries (#2138)

* Fix config option summaries

* Obsolete LockonDefaultZoom_179 with error

* Don't allow nameplate GameObject lookup when ObjectId is invalid (#2137)

* build: 11.0.2.0

* Update ClientStructs (#2139)

Co-authored-by: github-actions[bot] <noreply@github.com>

* chore: remove [Experimental] from SeStringRenderer (#2144)

It hasn't caused problem for a while (though performance probably can be
better), and looks good enough to remove this attribute.

* Update ClientStructs (#2140)

Co-authored-by: github-actions[bot] <noreply@github.com>

* Return nullable on XivChatType.GetDetails (#2143)

---------

Co-authored-by: Haselnussbomber <mail@haselnussbomber.de>
Co-authored-by: github-actions[bot] <noreply@github.com>
Co-authored-by: nebel <9887+nebel@users.noreply.github.com>
Co-authored-by: goat <goatsdev@protonmail.com>
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
Co-authored-by: srkizer <soreepeong@gmail.com>
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