scarpet icon indicating copy to clipboard operation
scarpet copied to clipboard

Add showstopper app

Open altrisi opened this issue 3 years ago • 2 comments

This PR adds the showstopper app to the utilities section, and revamps its readme to include information about the apps, just like the survival category. Note that the main purpose of this PR isn't the readme, and that can be completed later.

Now, to the app...

Showstopper

An app that notifies you or even freezes the game when ticks take too long! Perfect for knowing what happens when your contraption starts lagging the world, or for finding those moments while tick warping, without having to check the tps continuously. Features:

  • Ingame configuration
  • Configurable last tick intervals to average for the comparison
  • Configurable cooldowns
  • Configurable game freezing or only notifying
  • Sound notifications
  • Keeps configuration before restarts
  • Quick access to unfreeze or disable monitoring after an anomaly
  • Zero overhead with monitoring disabled, extremely low monitoring overhead
  • 5 different modes!
    • over50msptsingle: Reacts when a single tick takes over 50 mspt
    • overNsingle: Reacts when a single tick takes over N mspt
    • over50mspt: Reacts when the average of the ticks in the interval takes over 50 mspt
    • overN: Reacts when the average of the ticks in the interval takes over N mspt
    • overpercentage: Reacts when the average of the ticks in the interval takes at least the given percentage more then the last 100 tick average

Screenshots

single tick trigger

over percentage frozen trigger

altrisi avatar Feb 05 '22 21:02 altrisi

Issue with suggesters is... well, suggesters. Since the optimizer they are a bit of a pain since you have to reload the world for them to work... And I don't think it's that bad, for the actual suggestions, they are valid for all the modes that take options.

About not having the over50, I thought about that, but also thought that it's common enough to deserve it's own name (since they use the same implementation), and also because it was the original mode, customizing the number came later. Probably makes sense to remove it, would also remove the "needs argument" too I think.

I disagree on the latest mention about modes, because while the first two ones do make sense as a group, when you add "percentage" IMO they make it feel like "a percentage of the ticks" took over something that isn't defined (because the other ones are "single" took... and "average" took...), but yeah I should give them better names. But I'm the worst at that.

altrisi avatar Feb 13 '22 23:02 altrisi

Marking as draft while waiting for the split documentation from here to be merged, so I can update this on top of it.

altrisi avatar Jan 29 '23 12:01 altrisi