Hydrate has updated to v2.0.6! This is just a small update to finally add back in the scaling information to OnHydrateStatsNotify.

Hydrate used to send its current scaling values as Reference2 and Reference3 (for the X and Y values respectively), which was intended to let you detect if Hydrate was larger or smaller than normal and have your ghost react in whatever way you wanted. However, when I released Hydrate v2.0.1, I realized that there was a problem with this.

While I could set a variable when OnShellScaling runs and save the current scaling values, scaling is a per-shell setting. So if you had Hydrate in Shell A and changed the shell scaling to 50%, then changed to Shell B, Shell B would display at 100% scaling, but the variable I set would still report that Hydrate was at 50% scaling. Then say you set Shell B to 150% scaling and switched back to Shell A, now Shell A would display at the 50% you had set it at previously, but the variable would still be reporting 150% because OnShellScaling doesn't run until the user sets a new scaling value.

At the time, there wasn't a good way around this. However, as of SSP 2.7.89, there is! There's a new property command, currentghost.scope(ID).scaling, which can be used to detect the current scaling value at any time. With this, I'm able to check the scaling each time you change shells, and update the value appropriately. For good measure, I also check it when the ghost boots, that way it should still be accurate even if something unexpected happens (like SSP crashing).

Since I can now get accurate scaling values, I've re-implemented this value in the stat sharing event! Use it for silly shenanigans, or whatever else your heart desires.

Changelog: