Skip to content

Releases: acidlabsdev/Samurais-Scripts

Samurai's Scripts v1.9.2

12 Apr 10:24

Choose a tag to compare

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

05 Apr 08:39

Choose a tag to compare

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

31 Mar 00:02
f1227d9

Choose a tag to compare

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

Samurai's Scripts v1.8.9

19 Mar 14:11

Choose a tag to compare

Changelog

[noci] bump version

chore: update for Legacy b3788.0

  • Nothing changed in b3788.0. Not sure about Enhanced.
  • Fix load order. Resolves YimMenu-Lua#119

Samurai's Scripts v1.8.8

15 Mar 08:26

Choose a tag to compare

Changelog

[noci] bump version

fix: miscellaneous

Formatting

  • Remove forced line wrapping.

Classes

  • Remove constructor logic from CStructView.
  • Cache and automatically refresh some object pointers.
  • Refactor nullptr into an immutable lightweight object.

fix(misc): fix typos

fix(Factory): cache script global instances

Samurai's Scripts v1.8.7

08 Mar 08:21

Choose a tag to compare

Changelog

[noci] bump version

refactor(classes): refactor game classes

Update CStructView.lua

refactor(Serializer): remove repetitive code

  • Move repeated code in backup related functions into an io extension.

fix(utils): fix typo

Update Serializer.lua

fix(misc): miscellaneous fixes

fix(Game): fix logic bugs

  • Fix logic bugs in GetClosestVehicle and GetClosestPed

Samurai's Scripts v1.8.6

01 Mar 08:20

Choose a tag to compare

Changelog

feat(compat): Enable features allowed with new YLAPI

Requires latest YimLuaAPI (3630163)

feat(YHV1): Request submarine button

refactor(Warehouse): Simplify value calculation

feat(commands): Add teleport command

feat(YHV1): Check for heist cooldowns

fix(YHV1): Fix heist teleports

refactor(YHV1): Improve UI/UX for spacing and headers

Also fix indexing by 0 because Lua just has to be different

Merge branch 'YimMenu-Lua:main' into feature/enhanced-compat

feat(YHV1): Add toggles for skipping heist cooldowns

Requires config reset

refactor(YHV1): Replace GridRenderer with CustomToggle

refactor(YHV1): More sane approach and tooltip warning

feat(Translations): update translations

fix(require): fix verbose require paths

  • Remove SSV2 folder name from require paths.

fix(YHV1): Fix initial loading of secondary targets

feat(YHV1): Get sub location somewhat properly

feat(YHV1): Add Doomsday skips

Skip to ACT, bypass cooldown

feat(YHV1): Enable KW teleport to blip

docs(Features): Update YimHeists section

fix: Small corrections

fix(YHV1): Remove native calls in UI

refactor(YHV1): Rebrand to Mastermind

feat(Translations): update translations

fix(Misc): miscellaneous fixes

Serializer

  • Write a backup of the config file once on init.
  • Automatically recover corrupted config files if a backup exists.
  • Fix SyncKeys method.

Misc

  • Revert Game.IsOnline so that we don't call natives outside the fiber.
  • Fix table utils.
  • Remove SSV2 folder name from require path.

fix(Mm): Safer property checks

fix(Mm): Proper Submarine check

Samurai's Scripts v1.8.5

22 Feb 19:27

Choose a tag to compare

Changelog

refactor(style): normalize class methods

  • Normalized more SmallBase class methods into PascalCase for consistency.
  • Add a _J macro for joaat that falls back to our own definition if the global function is missing.
  • Add stats.get_string and stats.set_string
  • Fix PrivateLimo:TakeControl method.
  • Fix YimActions interruption handler triggering when the a scenario is explicitly stopped.
    Fix bodyguards UI.

feat(Translations): update translations

feat(docs): Update feature docs

fix: remove debug print

fix(docs): fix copy paste error

fix(docs): fix wording

fix(features): remove duplicate feature

fix(features): remove unused table

[noci] bump version

Samurai's Scripts v1.8.4

15 Feb 15:37
3e06f97

Choose a tag to compare

Changelog

[noci] bump version

Merge branch 'YimMenu-Lua:main' into main

refactor(Businesses): refactor CEO

  • Move cargo warehouses into a new Office class.
  • Fix warehouse restock command.
  • Add a Player Abilities option to the Self tab.
  • Fix Key binds UI's fatal crash issue in YimLuaAPI.
  • Disable ALT key in KeyManager.
  • Make ground loading in Self:Teleport optional to prevent teleporting to building roofs instead of ground in some cases (will properly fix later).
  • Move ImGuiChildFlags to the ImGui extensions file.
  • Make ImGui.BeginChildEx more readable and easier to reason about.

feat(YHV1): Add YHV1 menu

Add CB, KW, DD, and OGFA teleports and skips, Cayo setups and skips

feat(YHV1): Additional Cayo stats

refactor(YHV1): Final

refactor: several refactors

General

  • Renamed the Self module to LocalPlayer to avoid confusion with Lua's self (this) keyword.
  • Moved the Teleport function from LocalPlayer to Ped. Invoking it is still the same, you just call LocalPlayer:Teleport(...).

YRV3

  • Refactored Auto-Sell: YRV3 no longer sets any script globals or locals; each supported sale script takes care of itself.
  • Added Import/Export tab to the CEO tab. Right now this only displays data and offsers tips about profit strategy. Auto-Sell and Auto-Steal may be added in the feature (this is not a promise).
  • Fixed auto-sell for biker businesses. This no longer "assumes" the number of deliveries and eventually causes you to get paid a lot more than you should.
  • Refactored UI:
    • Each business now has its own UI file to avoid bloating the main file and make it easier for devs to extend it.
    • Each file that uses measureBulletWidths now caches the result.

Casino Pacino

  • Casino Heist tab is now guarded behind Arcade ownership. The tab won't display heist options if the player doesn't own an Arcade.
  • Improved UI and added teleport and waypoint buttons for the casino and the arcade.

Dev/Scripts

  • Fix broken regex patterns in globals_locals.lua
  • Fix update_offsets.py

Update globals_locals.lua

fix(UI): fix missing require

fix(ImGui): Fix errors and keybinds_ui spacing on YLAPI

feat: Utilize cached data more

We already generate our own data, why not use it? Also fixes anywhere vehicles names are retrieved because YLAPI data gen is buggy

refactor(YHV1): GXT translations

fix(YRV3): Fix incorrect global for Enhanced

fix: Change SGSL pattern for Enhanced

fix: Correct function arg

[noci] bump version

feat(Translations): update translations

fix(misc): miscellaneous fixes

  • Fix Bunker auto-sell.
  • Fix attempts to read property stats too early into session transitions.
  • Extend YRV3's auto-fill delay setting to a maximum of 10 minutes.

feat(AutoSell): disable Acid Lab support

  • Temporarily disable auto-sell for Acid Lab because it's currently just scamming users (mission will successfully pass but you won't get any money).

Samurai's Scripts v1.8.3

08 Feb 15:18

Choose a tag to compare

Changelog

misc

Chores

  • updated .editorconfig
  • removed unsused file

Features

  • Refactored all business-related commands.
  • Added a button to reload YRV3.
  • YRV3's sidebar labels are now translated by the game so they make sense.
  • Disabled problematic dynamic stances from Stancer.

UI

  • Settings: Added a theme editor.
  • Improved ImGui.Toggle's visibility in light themes.
  • Refactored ImGui.Selectable2 to use colors from the current theme instead of fixed colors.
  • Refactored ImGui.Selectable2 to properly handle wide labels.
  • Refactored Themes and ThemeManager.

fix(UI): Fix some text colors

chore(UI): cleanup pass

  • Revised and improved default themes.
  • Improved Notification Center and added an option to mute toasts.
  • Added a custom bell widget for the notification center. It looks nothing like a bell...
  • Fixed minimum allowed window width and height to prevent breaking the UI's aesthetics.
  • Refactored YRV3's sidebar from fixed to dynamic width.

feat(Translations): update translations

fix(Themes): fix cyberpunk2077 theme

fix(SalvageYard): fix income calculation

fix(translations): fix obsolete tooltip

feat(Translations): update translations

Update .editorconfig

Enhanced compat quickfix

refactor(ImGuiExt): refactor notification widget

  • Replace the hideous "bell" with a simpler widget.
  • Update Contributing.md
  • Update screenshot to reflect the most recent UI changes.

docs: fix screenshot

fix(Python): normalize line endings to LF

feat(compat): Improve YLAPI/Enhanced support

  • Add a few API checks to selectively block known broken features
  • Alter some GUI spacing due to new ImGui bindings
  • Fix minor ImGui errors
  • Fix MCT on YLAPI

refactor(compat): ImGui spacing

  • Alter more GUI spacing due to new ImGui bindings

fix(keybinds): Fix non-critical ImGui errors

fix(YRV3): Fix flags and disable NC Tick on Enhanced

fix(YRV3): Fix compat change breaking Legacy YimMenu

feat(Translations): update translations

docs(Readme): Add Noah to the acknowledgments section

fix: ImGui errors, refactoring, and other minor fixes

  • Add DEBUG line in GUI to give clear visual
  • Rearrange Casino Heist UI to avoid being cut off
  • Fix update_offsets incorrect indentation

fix(compat): fix YimLuaAPI compatibility issues

  • Fixed ImGui crashes.
  • Added a BeginChild wrapper.
  • Added an auto-generated weapon data table so we no longer have to rely on the weapons namespace (most functions return empty tables in YimLuaAPI, hence the UI crashes in some features).
  • Removed ImGui.Columns from YimActions UI so it stops crashing in YimLuaAPI.

fix(Python): fix path resolution

fix(init): fix illogical double index