Skip to content

Anticheat-Lifecycle-Safety#3

Open
qutaibakh wants to merge 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
qutaibakh:main
Open

Anticheat-Lifecycle-Safety#3
qutaibakh wants to merge 2 commits into
GeneralsOnlineDevelopmentTeam:mainfrom
qutaibakh:main

Conversation

@qutaibakh

Copy link
Copy Markdown

This PR hardens the EasyAntiCheat/EOS plugin lifecycle to reduce stale callback and duplicate session races seen in long-game crashes.

Changes:

  • Make BeginSession / EndSession idempotent.
  • Track sessionActive, loginInFlight, eventsHooked, and shuttingDown.
  • Add session generation IDs and ignore stale callbacks from older sessions.
  • Clear host callback pointers through ClearHostCallbacks().
  • Unregister EAC notifications before ending sessions or releasing EOS state.
  • Avoid EOS/EAC cleanup work in DllMain.
  • Add defensive null/state checks.
  • Add logs for callback thread ID, generation, peer ID, and shutdown/session state.

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