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

Disconnected client crashes #22

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Disconnected client crashes #22

merged 1 commit into from
Feb 5, 2024

Conversation

Mooshua
Copy link
Contributor

@Mooshua Mooshua commented Feb 5, 2024

When a client is disconnected, and ClientPrintF is invoked, libengine will try and dereference a null private field and slip in a puddle of poo.

This PR aims to remove some edge cases where disconnected players can be touched by the plugin code. This is not extensive as of yet, just some low-hanging fruit.

* Make global state eviction slightly more verbose
* All format operations will check for a valid client before continuing
@MSWS MSWS changed the base branch from main to dev February 5, 2024 23:12
@MSWS MSWS merged commit 211ca83 into dev Feb 5, 2024
4 checks passed
MSWS added a commit that referenced this pull request Feb 6, 2024
* Add rebel notifications

* Add rebel notifications

* Feat/debug (#19)

* Initial stuff for debug

* More classes!

* Base implementation

* Feat/debug (#20)

* Initial stuff for debug

* More classes!

* Base implementation

* Verified working

* Prevent some crashes when touching disconnected clients (#22)

* Make global state eviction slightly more verbose
* All format operations will check for a valid client before continuing

* Cleanup (#23)

* Format

* Enforce variable naming scheme

* Fix namespaces and nullabilities

* Resolve all warnings

* Update Github Actions

* Fix merge issues

---------

Co-authored-by: Mooshua <[email protected]>
@MSWS MSWS deleted the fix/disconnected-client-crashes branch February 6, 2024 00:58
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