Skip to content

Releases: acidlabsdev/Samurais-Scripts

Samurai's Scripts v1.9.9

Choose a tag to compare

@github-actions github-actions released this 28 Jun 13:16

Changelog

Update CONTRIBUTING.md

fix: some fixes

  • Fix a few bugs.
  • Add an option to automatically clear CEO office clutter.

Update Office.lua

chore(dev): sync YimLLSX

feat(vehicle): add slider for fast vehciels

  • Add a slider for Fast Vehicles.
  • Add a slider for Fast Planes.

closes YimMenu-Lua#143
closes YimMenu-Lua#144

refactor(Color): add weak caching

  • Add weak instance caching.
  • Annotate r, g, b, and a class members as private. Although instances are still mutable, this change will trigger language server warnings when indexing these fields; assuming LuaLS is present.
  • Translations: Get boss types and register/retire labels from the game instead of our own translations.

Samurai's Scripts v1.9.8

Choose a tag to compare

@github-actions github-actions released this 21 Jun 11:13

Changelog

fix: fix RegisterAsBoss and Retire

Update CONTRIBUTING.md

refactor: another bloated refactor

  • Git:

    • Add YimLLSX as a submodule in the dev/ folder.
  • Misc:

    • Fix some require paths for local runs.
    • Add global arg assertion functions.
  • Set:

    • Small refactor + better class summary.
  • Chrono:

    • Cleanup all metatable boilerplate with Callable definitions.
  • BillionaireServicesV2:

    • Refactor Limousine UI
    • Fix limo spawn issues.
    • Add options to the limo and escort vehicle services to browser business properties and select them as destinations.
  • BusinessManager:

    • Move the option to rename the CEO organization and MC into a small button in the nameplate child window.
    • Add an option to rename the Nightclub.
  • Commands:

    • Add commands for boss management (register/retire) and basic monetary operations (withdraw/deposit).

chore: rename YimLLSX submodule

Samurai's Scripts v1.9.7

Choose a tag to compare

@github-actions github-actions released this 07 Jun 10:19

Changelog

chore: tidy up

feat(Vehicle): Manual Gearbox

  • Add a manual gearbox feature supporting two modes: Sequential and H-Pattern.
  • Add an option to set a default radio station that gets automatically set each time the player switches vehicles.
  • Fix PlayerVehicle thread crashes when the player enters a vehicle inside an interior or delivers a mission vehicle.
  • Fix Set annotations.
  • Fix 2 CVehicleAdvancedFlags that were flipped (they do the opposite of what their old names meant).
  • Add an option to lock the Stancer if another feature wants to take control of it.
  • Game Data: Add boolean flags to vehicles that are exclusive to the Enhanced branch.
  • Lock MPStatController to online gameplay only.
  • Launch Control: Add a 'Rolling' mode that allows the player to hold a button while moving forward to build boost (rolling anti-lag from temu).
  • Miscellaneous fixes.

Update game_data_gen.py

refactor(Thread): add exception handling

  • Add optional exception handler param to the Thread module.
  • Implement clutch-kick logic in ManualGearbox.

chore(classes): add CTransmission

  • Add CTransmission class to CVehicle.
  • Add more stuff to ManualGearbox.

docs: update ManualGearbox description

fix: several fixes

  • Fix miscellaneous typos.
  • Cleanup the global namespace by limiting global exposure.
  • Add a callable object generator function to be used instead of Class for lightweight objects.
  • Rename Game.GetGXTLabel to Game.GetLabelText.
  • Rename HandlingPreset to VehicleFlagPreset.
  • Manual Gearbox: Add an Automatic mode that simply does nothing other than allow the user to still use the engine start/stop keybind with default engine and gearbox behavior.
    Fix RGB lights color switch timing. It should now only switch colors when the lights are dimmed.

chore: tidy up

Samurai's Scripts v1.9.6

Choose a tag to compare

@github-actions github-actions released this 17 May 09:26

Changelog

fix(misc): miscellaneous fixes

misc

  • Refactor GridRenderer to support toggles with "options" buttons.
  • Refactor AddBoolCommand and AddLoopedCommand methods in the Tab class.
  • Fix missing title bar colors in the Theme struct.

chore(docs): update screenshot

chore(docs): update Features.md

  • Update Features doc.
  • Fix changelog duplication issue in release workflow.

fix(UI): fix stat controller UI

  • Fix date picker's nonsensical days per month.

Samurai's Scripts v1.9.5

Choose a tag to compare

@github-actions github-actions released this 10 May 09:20

Changelog

PR YimMenu-Lua#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 YimMenu-Lua#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 YimMenu-Lua#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 YimMenu-Lua#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.

Samurai's Scripts v1.9.4

Choose a tag to compare

@github-actions github-actions released this 26 Apr 10:35

Changelog

fix(BusinessHub): add technician check

  • Block production triggers if the business hub has no technician assigned.
  • Fix some stuff.

chore(Translations): update translations

fix(CommandExecutor): fix command dumping

  • Fix command dumping using the !list command (and aliases) not updating the sorted list with newly added commands at runtime (ex: YimActions commands).

fix: some minor fixes

fix(classes): fix CWheel offsets

Update CWheel.lua

[noci] bump version

Samurai's Scripts v1.9.3

Choose a tag to compare

@github-actions github-actions released this 19 Apr 08:59

Changelog

[noci] bump version

refactor(UI): refactor YimActions UI

  • Refactor YimActions UI.
  • Add an ActionBrowser class.
  • Fix some bugs.

feat(Translations): update translations

fix(translations): fix wrong text

refactor(YimActions): refactor history

  • Change play history into a self-contained struct rather than a raw table.
  • Add navigable tips in the main YimActions UI.

fix: early return

  • Remove early exits before EndChild.
  • Don't prepend a favorite symbol to the selectable if we're in the favorites tab.

fix: multiple fixes

  • Big features are no longer global.
  • Organize big features and related classes/subclasses into their own subfolders.
  • Fix GUI not calling a function to draw requested windows.
  • Rename API version enum to eGameBranch since we're no longer basing compatibility on the version of YimMenu.

fix(ActionsUI): fix tips alignment

fix(workflows): fix translations generator commit message

docs(readme): fix contact button height

chore: tidy up for weekly release

  • Fix formatting.
  • SGSL: Add caching by reference.
  • YimActions: Fix when actions are allowed to be added to history.
  • CI: Another attempt at fixing release workflow glob issue. STOP INCLUDING THE /dev FOLDER!

fix(misc): fix wrong comment

docs: update README and CONTRIBUTING

[noci] bump version

Samurai's Scripts v1.9.2

Choose a tag to compare

@github-actions github-actions released this 12 Apr 10:24

Changelog

[noci] bump version

fix: some fixes

  • Fix Stancer and Handling Editor bugs.
  • Exclude unnecessary folders and files from release zip.
  • Remove debug "update" function from atArray class.
  • Remove unnecessary closures in some UI code.

fix: more fixes

refactor(EntityForge): refactor the horrible UI

  • Refactor EntityForge UI.
  • Fix more stuff in Stancer.
  • Add AsserBrowser classes.
  • Add a raw data lazy loader.
  • Refactor the Color class's heavy constructor.

fix(BSV2): remove net id sync calls

chore(ImGuiExt): tidy up

fix: more fixes

  • Fix Casino Pacino translation issue and move script control function to the Game namespace.
  • Fix AssetBrowserBase limited iter logic.
  • Refactor ObjectBrowser.
  • Fix wrong use of a word in Readme.md and give proper credits to HowBoutNo.

Update Features.md

fix(Python): fix missing new line

fix: fix memory stuff

Samurai's Scripts v1.9.1

Choose a tag to compare

@github-actions github-actions released this 05 Apr 08:39

Changelog

refactor: refactor BSV2 + rename some folders

Billionaire Services

  • Refactored UI code (visuals are still the same).
  • Fixed ImGui assertion error.
  • Added a new tab to create new Escort Groups and save them to JSON.

Config

  • Removed stale config keys.
  • Moved large feature-specific configs into their own files (users will not be affected).
  • Serializer: Added some logic to handle stale/moved keys.

Bugs

  • Fixed some logic bugs in a few modules/services.
  • Fixed CommandExecutor navigation keys for suggestions and history not working.
  • Renamed some folders.

fix(YimActions): don't initialize twice

Samurai's Scripts v1.9.0

Choose a tag to compare

@github-actions github-actions released this 31 Mar 00:02
f1227d9

Changelog

[noci] bump version

chore(Serializer): make use of the new os.rename

  • With this, configs should no longer get corrupted and even if they do, a backup is always available.

Note

For YimLuaAPI compatibility, this relies on TupoyeMenu/YimLuaAPI#3

remove test code

fix: miscellaneous fixes

fix(Settings): fix tab switch on language change

fix: more fixes

  • Gracefully handle GUI errors.
  • Remove scattered ThemeManager calls.
  • Refactor Translator.
  • Add game language synchronization.
  • Tab module: Fix ImGui assertion errors when switching languages.
  • Fix bursting EntityForge thread.
  • Fix lockpv command not playing an animation when invoked on foot.
  • Remove redundant copy in ThemeEditor
  • Fix notification visibility inside the notification center.
  • Add notification callback execution logic (unused for now).

refactor(Translations): Refactor locales

  • Store locales in an array of strings.
  • Refactor language name displays in the settings UI.
  • Remove redundant config keys.
  • Add safer fallbacks in case the Translator fails to load.

docs(Contributing): update for translation changes

[noci] bump version

fix: some bugs

  • Refactor keybinds UI and block unbinding the main GUI toggle key.
  • Fix UI issues and bugs related to the previous Translator refactor.

Closes YimMenu-Lua#123
Closes YimMenu-Lua#124

fix(keybinds): fix reset logic