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

SSD Indicators Will Be Real In 2020 #3067

Merged

Conversation

Skies-Of-Blue
Copy link
Contributor

About The Pull Request

Loosely ports Skyrat-SS13/Skyrat13#420, splicing Novasector's SSD mechanics with our own.

When a player goes SSD, they initially remain awake and gain a Zz icon above the character indicating they are away.

look here!

nyaru goes afk

After the player has been disconnected for three minutes, their character will resume our current implementation of SSD behavior - losing the Zz icon and falling asleep.

see?

nyaru has been gone a while, huh

This also adds the time spent SSD to examine text.

it's helpful!

taking a bit

Why It's Good For The Game

Our current implementation of being SSD leaves some things to be desired. Whenever you disconnect, your character instantly passes out. This can lead to:

  • dropping critical items in dangerous situations, which is just sort of the worst
  • aghost causing your character to faint on the spot, something I've heard more than a few admins complain about over the last few years
  • players reacting to your character falling asleep as if it was a planned thing within your control
  • players moving your character to a bed, disrupting a scene you may have been intent on continuing if it weren't for that pesky internet cut
  • SSD players flooding the nearby chat with *snore out of nowhere

Of course, there's merit to our current implementation as well. Having characters fall asleep keeps immersion clean, and having an SSD Indicator can be immersion breaking. This is why I've opted to remove the indicator and have characters fall asleep after a grace period of three minutes. It allows players a time to reconnect, or admins time to view what they needed to, without all of the disruptions listed above.

Changelog

🆑
add: an SSD Indicator for when you have been disconnected for less than three minutes
balance: players will now remain awake for three minutes after disconnecting, with a new SSD icon to boot!
balance: players SSD longer than three minutes will lose their icon and fall asleep, much like the previous behavior
/:cl:

@Skies-Of-Blue Skies-Of-Blue requested a review from a team as a code owner June 4, 2024 21:58
@github-actions github-actions bot added Sprites A bikeshed full of soulless bikes. Code change Watch something violently break. labels Jun 4, 2024
@Anticept
Copy link
Contributor

Anticept commented Jun 5, 2024

Of course, there's merit to our current implementation as well. Having characters fall asleep keeps immersion clean, and having an SSD Indicator can be immersion breaking.

I think you and skyrat have a good approach to this. No matter how that cake is sliced, it is getting disconnected is the immersion break. SSD/indicators are just a way to smooth over the immersion break and guide it back to the game, and I think what you did here is great.

@Skies-Of-Blue
Copy link
Contributor Author

This should probably be testmerged first on the off chance I missed a few edge cases.

@goober3
Copy link
Member

goober3 commented Jun 5, 2024

This should probably be testmerged first on the off chance I missed a few edge cases.

i would like to see how this interacts with our helm console SSD autostop system. does that even work actually.

@Skies-Of-Blue
Copy link
Contributor Author

i would like to see how this interacts with our helm console SSD autostop system. does that even work actually.

Doesn't touch that in the slightest, works exactly like it did before!

@Skies-Of-Blue
Copy link
Contributor Author

Well that first TM went terribly, this should be ready for round two.

@Imaginos16 Imaginos16 added Test Merge Candidate You do it for free. Test Merge Required They'll have to do it for free. labels Jun 19, 2024
@FalloutFalcon FalloutFalcon added Test Merged They've done it for free. and removed Test Merge Candidate You do it for free. Test Merge Required They'll have to do it for free. labels Jul 14, 2024
@FalloutFalcon FalloutFalcon added this pull request to the merge queue Jul 14, 2024
Merged via the queue into shiptest-ss13:master with commit 8c61894 Jul 14, 2024
14 checks passed
MysticalFaceLesS pushed a commit to CeladonSS13/Shiptest that referenced this pull request Jul 20, 2024
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Loosely ports Skyrat-SS13/Skyrat13#420, splicing
Novasector's SSD mechanics with our own.

When a player goes SSD, they initially remain awake and gain a Zz icon
above the character indicating they are away.
<details>
  <summary>look here!</summary>

![nyaru goes
afk](https://github.com/shiptest-ss13/Shiptest/assets/86762641/98c61f04-7e65-4b24-a434-2769cc8a25f6)

</details>

After the player has been disconnected for three minutes, their
character will resume our current implementation of SSD behavior -
losing the Zz icon and falling asleep.

<details>
  <summary>see?</summary>

![nyaru has been gone a while,
huh](https://github.com/shiptest-ss13/Shiptest/assets/86762641/8c51e05f-a41d-40af-a259-3a2dc7e7cca2)

</details>

This also adds the time spent SSD to examine text.
<details>
  <summary>it's helpful!</summary>

![taking a
bit](https://github.com/shiptest-ss13/Shiptest/assets/86762641/15f91ab4-01b8-4d2f-8d8f-f5cf65f99213)

</details>
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->
Our current implementation of being SSD leaves some things to be
desired. Whenever you disconnect, your character instantly passes out.
This can lead to:
- dropping critical items in dangerous situations, which is just sort of
the worst
- aghost causing your character to faint on the spot, something I've
heard more than a few admins complain about over the last few years
- players *reacting* to your character falling asleep as if it was a
planned thing within your control
- players moving your character to a bed, disrupting a scene you may
have been intent on continuing if it weren't for that pesky internet cut
- SSD players flooding the nearby chat with *snore out of nowhere

Of course, there's merit to our current implementation as well. Having
characters fall asleep keeps immersion clean, and having an SSD
Indicator can be immersion breaking. This is why I've opted to remove
the indicator and have characters fall asleep after a grace period of
three minutes. It allows players a time to reconnect, or admins time to
view what they needed to, without all of the disruptions listed above.

## Changelog

:cl:
add: an SSD Indicator for when you have been disconnected for less than
three minutes
balance: players will now remain awake for three minutes after
disconnecting, with a new SSD icon to boot!
balance: players SSD longer than three minutes will lose their icon and
fall asleep, much like the previous behavior
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
Constellado pushed a commit to Constellado/Pentest that referenced this pull request Aug 27, 2024
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Loosely ports Skyrat-SS13/Skyrat13#420, splicing
Novasector's SSD mechanics with our own.

When a player goes SSD, they initially remain awake and gain a Zz icon
above the character indicating they are away.
<details>
  <summary>look here!</summary>

![nyaru goes
afk](https://github.com/shiptest-ss13/Shiptest/assets/86762641/98c61f04-7e65-4b24-a434-2769cc8a25f6)

</details>

After the player has been disconnected for three minutes, their
character will resume our current implementation of SSD behavior -
losing the Zz icon and falling asleep.

<details>
  <summary>see?</summary>

![nyaru has been gone a while,
huh](https://github.com/shiptest-ss13/Shiptest/assets/86762641/8c51e05f-a41d-40af-a259-3a2dc7e7cca2)

</details>

This also adds the time spent SSD to examine text.
<details>
  <summary>it's helpful!</summary>

![taking a
bit](https://github.com/shiptest-ss13/Shiptest/assets/86762641/15f91ab4-01b8-4d2f-8d8f-f5cf65f99213)

</details>
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->
Our current implementation of being SSD leaves some things to be
desired. Whenever you disconnect, your character instantly passes out.
This can lead to:
- dropping critical items in dangerous situations, which is just sort of
the worst
- aghost causing your character to faint on the spot, something I've
heard more than a few admins complain about over the last few years
- players *reacting* to your character falling asleep as if it was a
planned thing within your control
- players moving your character to a bed, disrupting a scene you may
have been intent on continuing if it weren't for that pesky internet cut
- SSD players flooding the nearby chat with *snore out of nowhere

Of course, there's merit to our current implementation as well. Having
characters fall asleep keeps immersion clean, and having an SSD
Indicator can be immersion breaking. This is why I've opted to remove
the indicator and have characters fall asleep after a grace period of
three minutes. It allows players a time to reconnect, or admins time to
view what they needed to, without all of the disruptions listed above.

## Changelog

:cl:
add: an SSD Indicator for when you have been disconnected for less than
three minutes
balance: players will now remain awake for three minutes after
disconnecting, with a new SSD icon to boot!
balance: players SSD longer than three minutes will lose their icon and
fall asleep, much like the previous behavior
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
FalloutFalcon pushed a commit to FalloutFalcon/ShiptestF that referenced this pull request Aug 30, 2024
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Loosely ports Skyrat-SS13/Skyrat13#420, splicing
Novasector's SSD mechanics with our own.

When a player goes SSD, they initially remain awake and gain a Zz icon
above the character indicating they are away.
<details>
  <summary>look here!</summary>

![nyaru goes
afk](https://github.com/shiptest-ss13/Shiptest/assets/86762641/98c61f04-7e65-4b24-a434-2769cc8a25f6)

</details>

After the player has been disconnected for three minutes, their
character will resume our current implementation of SSD behavior -
losing the Zz icon and falling asleep.

<details>
  <summary>see?</summary>

![nyaru has been gone a while,
huh](https://github.com/shiptest-ss13/Shiptest/assets/86762641/8c51e05f-a41d-40af-a259-3a2dc7e7cca2)

</details>

This also adds the time spent SSD to examine text.
<details>
  <summary>it's helpful!</summary>

![taking a
bit](https://github.com/shiptest-ss13/Shiptest/assets/86762641/15f91ab4-01b8-4d2f-8d8f-f5cf65f99213)

</details>
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game

<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->
Our current implementation of being SSD leaves some things to be
desired. Whenever you disconnect, your character instantly passes out.
This can lead to:
- dropping critical items in dangerous situations, which is just sort of
the worst
- aghost causing your character to faint on the spot, something I've
heard more than a few admins complain about over the last few years
- players *reacting* to your character falling asleep as if it was a
planned thing within your control
- players moving your character to a bed, disrupting a scene you may
have been intent on continuing if it weren't for that pesky internet cut
- SSD players flooding the nearby chat with *snore out of nowhere

Of course, there's merit to our current implementation as well. Having
characters fall asleep keeps immersion clean, and having an SSD
Indicator can be immersion breaking. This is why I've opted to remove
the indicator and have characters fall asleep after a grace period of
three minutes. It allows players a time to reconnect, or admins time to
view what they needed to, without all of the disruptions listed above.

## Changelog

:cl:
add: an SSD Indicator for when you have been disconnected for less than
three minutes
balance: players will now remain awake for three minutes after
disconnecting, with a new SSD icon to boot!
balance: players SSD longer than three minutes will lose their icon and
fall asleep, much like the previous behavior
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
FalloutFalcon pushed a commit to FalloutFalcon/ShiptestF that referenced this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code change Watch something violently break. Sprites A bikeshed full of soulless bikes. Test Merged They've done it for free.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants