Skip to content

Releases: ltsSmitty/consistent-guest-stats

v1.1.3

Choose a tag to compare

@ltsSmitty ltsSmitty released this 04 Apr 15:09

Performance and behavior

  • Guest list maintenance: New guests are tracked via the guest.generation hook instead of scanning all guests every in-game day. After a map load, lists resync on the next tick (using map.change, since remote plugins cannot subscribe to map.changed).
  • Stale IDs: With no guest-leave hook in the API, departed guests are pruned from the index at most once per in-game year via map.getEntity checks (cheap compared to a full daily getAllEntities).
  • No wasted work: Scheduled stat updates are skipped entirely when no stat toggles are enabled.
  • Multi-stat updates: When several stats are enabled, the plugin applies them in one pass per guest (one getEntity per guest per run) instead of one full pass per stat.

Notes

  • Daily still updates all tracked guests once per in-game day. Every 2 days continues to use the half-and-half split by guest id and calendar day.

Install by downloading consistent-guest-stats.js from this release into your OpenRCT2 plugin folder.

Add support for 1 second (40 tick) refresh

Choose a tag to compare

@ltsSmitty ltsSmitty released this 12 Jan 13:22

Adds a 1 second (40 tick) refresh option

Support v0.3.5 and lower

Choose a tag to compare

@ltsSmitty ltsSmitty released this 22 Apr 14:18

Adds a check to see if context.getParkStorage exists. Should fix breaking on older RCT2 versions.

Preserve plugin settings when saving & loading the park

Choose a tag to compare

@ltsSmitty ltsSmitty released this 13 Feb 19:50

This release adds storing the plugin's current state on park save and load so you don't have to reset every time you reopen the park.

First release

Choose a tag to compare

@ltsSmitty ltsSmitty released this 21 Dec 18:54
2406f90

The first release. May have some stability issues.