Skip to content

Fix: Handle NULL GameSpyConfig during RankPoints initialization - #57

Merged
x64-dev merged 1 commit into
mainfrom
seer/fix-rankpoints-init
Oct 10, 2025
Merged

Fix: Handle NULL GameSpyConfig during RankPoints initialization#57
x64-dev merged 1 commit into
mainfrom
seer/fix-rankpoints-init

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Oct 5, 2025

Copy link
Copy Markdown

Fixes CLIENT-AC. The issue was that: Asynchronous HTTP callback executed after service teardown, triggering RankPoints construction which dereferenced the nullified global configuration pointer.

  • Added a check for NULL TheGameSpyConfig pointer during RankPoints initialization.
  • If TheGameSpyConfig is NULL, default hardcoded values are used for rank points.
  • In GeneralsMD, rank values are set in NGMP_OnlineServices_StatsInterface constructor, so initialize with default values.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 1769187

Not quite right? Click here to continue debugging with Seer.

@x64-dev
x64-dev marked this pull request as ready for review October 10, 2025 21:22
@x64-dev
x64-dev merged commit 45649ee into main Oct 10, 2025
5 checks passed
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.

1 participant