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

Fixes exploitable memory leak regarding Rod of Asclepius and Telepathy #1599

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

Bastian0930
Copy link
Contributor

@Bastian0930 Bastian0930 commented Apr 7, 2024

About The Pull Request

Fixes an exploitable bug that causes increasing amounts of lag regarding the Rod of Asclepius and Telepathy. Prevented by checking that the owner is a carbon.

The reason this causes lag is likely due to growing arms to "regain" the rod of asclepius, which just continues to grow and grow. Eventually, this even turns your sprite into an error.

Closes #1519

Why It's Good For The Game

Memory leaks / bugs that cause lag - and those exploitable by griefers, especially, bad.

Changelog

🆑
fix: Rod of Asclepius can no longer be used with telepathy. The geneticist responsible has been forced to roll a boulder for the rest of time.
/:cl:

@Bastian0930
Copy link
Contributor Author

Also forgot to mention, the way I tested if there actually was a memory leak was by waiting 5 minutes and seeing if the CPU changed notably (it did not), then waiting 5 minutes after doing the bug. My CPU usage according to MC was up nearly 15% in 5 - 10 minutes. This definitely causes some lag.

@dwasint dwasint merged commit 47e194f into Monkestation:master Apr 7, 2024
23 checks passed
github-actions bot added a commit that referenced this pull request Apr 7, 2024
@Bastian0930 Bastian0930 deleted the asclepius_fixes branch April 7, 2024 18:09
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.

Telekinesis Rod of Asclepius Hands Free but FREE LAG
2 participants