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

Reduce chem smoke logging spam #6345

Merged
merged 2 commits into from
May 29, 2024

Conversation

Drulikar
Copy link
Contributor

@Drulikar Drulikar commented May 28, 2024

About the pull request

Smoke reactions are now a niche admin log, and somewhat spam reduced by storing the last event in a static var. The reason why I say somewhat is because say two different people spray at the same time the last event will swap between both people each cloud. Now the hour/minute, area, chem, and user are used to create a siganture.

Explain why it's good for the game

Chem smoke is now commonly used in rounds so its better to keep information sent to admins more relevant rather than spammed.

Testing Photographs and Procedure

Screenshots & Videos

Second log was after a minute elapsed (which makes the signature unique again)
image

Changelog

🆑 Drathek
admin: Logging for chem smoke is now niche logged and less spammy
/:cl:

@github-actions github-actions bot added the Admin Make things harder for admins label May 28, 2024
@harryob harryob added this pull request to the merge queue May 29, 2024
Merged via the queue into cmss13-devs:master with commit 3f88829 May 29, 2024
27 checks passed
cm13-github added a commit that referenced this pull request May 29, 2024
@Drulikar Drulikar deleted the smoke_logging_reduction branch May 29, 2024 17:27
Git-Nivrak pushed a commit to Git-Nivrak/cmss13 that referenced this pull request Jun 9, 2024
# About the pull request

Smoke reactions are now a niche admin log, and somewhat spam reduced by
storing the last event in a static var. The reason why I say somewhat is
because say two different people spray at the same time the last event
will swap between both people each cloud. Now the hour/minute, area,
chem, and user are used to create a siganture.

# Explain why it's good for the game

Chem smoke is now commonly used in rounds so its better to keep
information sent to admins more relevant rather than spammed.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Second log was after a minute elapsed (which makes the signature unique
again)

![image](https://github.com/cmss13-devs/cmss13/assets/76988376/eaac12d5-01ee-4679-9c67-ddc8597409b6)

</details>


# Changelog
:cl: Drathek
admin: Logging for chem smoke is now niche logged and less spammy
/:cl:
Git-Nivrak pushed a commit to Git-Nivrak/cmss13 that referenced this pull request Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Make things harder for admins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants