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

signaler qol stuff #4411

Merged
merged 2 commits into from
Nov 29, 2024
Merged

signaler qol stuff #4411

merged 2 commits into from
Nov 29, 2024

Conversation

Absolucy
Copy link
Member

@Absolucy Absolucy commented Nov 29, 2024

About The Pull Request

Ports the following PRs from /tg/:

Why It's Good For The Game

Changelog

🆑
qol: Signalers now tell you their cooldown and also use balloon alerts.
/:cl:

san7890 and others added 2 commits November 29, 2024 06:54
## About The Pull Request

Fixes #76503

Probably important for this stuff to be logged.
## Why It's Good For The Game

Helps admins figure out the signallers that are signalling, and who
triggered the signaller.
## Changelog
:cl:
admin: If a circuit component outputs a radio signal, it should now be
logged in list-signalers.
/:cl:
…gnalers | Enforces cooldown on signaler circuitry (#78974)

See title.
If someone was abusing signalers previously to cause server lag, going
into list signalers would actually cause even worse lag as byond sat
there and processed thousands of items into a string over and over,
which would cause string format operations on longer and longer strings,
resulting in more and more overhead. This is bad.
So instead there is now a limit to the size of the list, currently I
have that set to 500 although I am open to increasing and even reducing
the number.

I have also made signalers slightly more intuitive by having the
cooldown actually displayed in the ui as a tooltip instead of just being
a secret feature you didnt know about unless you code dived. Also made
the cooldown actually respected by things such as circuitry where it
didnt even implement the cooldown and would happily send as many signals
as you had items connected to your proximity circuit.

Admins won't accidentally kill the server by trying to parse a lag
machines signal list. Players lagging the server? No, how about the
admins trying to fix it!

:cl:
qol: signalers now tell you their cooldown and also use balloon alerts
/:cl:
@Absolucy Absolucy merged commit bc84a85 into Monkestation:master Nov 29, 2024
24 checks passed
@Absolucy Absolucy deleted the lagshit branch November 29, 2024 13:10
github-actions bot added a commit that referenced this pull request Nov 29, 2024
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.

3 participants