Skip to content

Samurai's Scripts v1.9.5

Choose a tag to compare

@github-actions github-actions released this 10 May 09:39
· 52 commits to main since this release

Changelog

PR #132: fix: miscellaneous fixes + code cleanup

Classes

  • Add a notice to classes converted from C++
  • Add a lightweight fVector3 struct.
  • Fix CWheel vector3 fields.

Feats/Stancer

  • Add an option for suspension toe.

API

  • Cleanup and group all utils and extensions.

CI

  • Only trigger translation generator on push to the main branch.
  • Don't skip commits in release workflow changelog generation step if the repo has merged PRs.

Dev/Scripts

  • Remove unnecessary string transform in the game data generator script.

PR #133: feat(Translator): add string formatting

  • The Translate method and the _T macro now both support optional string formatting.
  • Fix Stancer camber issue (temporary fix).

PR #134: refactor(YRV3): misc refactors

  • Refactor cooldowns into self-managed objects.
  • Add auto-sell support for nightclub cargo.
  • Improve nightclub cargo production trigger. It is now much faster.
  • Allow auto-sell to be canceled during the 20 second countdown by disabling the toggle.
  • Unsafe features now must be explicitly enabled in YRV3's settings tab if not using FSL, otherwise they are always allowed.
  • Stancer's UI can now be interacted with on foot if the player has an active vehicle (must have driven a vehicle at least once and it must still exist in the game world).
  • Add button + command to instantly fill all owned safes.
  • Fix Custom Paints UI.
  • Bump Enhanced build number.

PR #135: refactor(HandlingEditor): full rewrite

  • Expose every flag currently available in the project's reversals.
  • Replace the old test features with presets that can be extended by the user.
  • Split the UI into two parts:
    • Editor Tab:
      • Lists all available flags while reflecting real time memory state (as opposed to config vars before). This is where new custom presets can be created.
      • Blocks interactions with flags owned by one or more active presets.
    • Presets Tab:
      • Provides a conjoined list of default and user-defined presets. Each preset can be toggled on/off or set to be automatically managed by the script.
      • Custom presets can optionally define additional logic that can be executed at runtime on preset enable/disable in a separate user-created file placed in the project's source; preferably inside the /includes/data folder (filename must be unique).
      • User-generated presets can be exported/imported via clipboard (Export copies preset data to clipboard, import pastes from it). Logic file must be manually provided, otherwise when imported, the preset will skip callback assignments.

fix(Entity): fix assertion errors

  • Fix assertion error in the Entity module's constructor.
  • Add missing fields in the CEntity class.

fix(IManagedValue): fix missing logic

  • Fix missing bit index parameter and logic for packed stats.