Skip to content

Releases: cleolibrary/CLEO-Redux

1.2.2

28 Aug 16:08
@x87 x87
Compare
Choose a tag to compare
  • fix an issue when commands returning multiple values (Char#storeClosestEntities, Game.GetCurrentResolution(), etc.) returned just one correct value (#100)

1.2.1

13 Aug 15:24
@x87 x87
435eb8f
Compare
Choose a tag to compare
  • fix an issue when importing the same file from different folders would result in duplicate code
  • fix a crash in Memory.Fn methods returning 8-bit or 16-bit results (#97)
  • fix a bug with corona rendering when only one corona was visible (#98)

SDK AND PLUGINS

  • Dylib 2.0: the plugin rewritten to provide a behavior identical to CLEO4's LOAD_DYNAMIC_LIBRARY. Now a returned value is the loaded module's address in memory.

BREAKING CHANGES

1.2.0

19 Jun 13:15
@x87 x87
Compare
Choose a tag to compare
  • add support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Epic Games Store)
  • fix an issue when constructor commands for derived classes returned incorrect values (Heli.Create, Boat.Create, etc.) #93
  • fix an issue when the library could not read the host version if the path to the executable contained non-ASCII characters
  • improve log for objects: now they get serialized with all properties, not just [object Object]

INSTALLER

  • update references to Ultimate ASI Loader files to match their new names on GitHub
  • append Gameface\Binary\Win64 if a root directory of GTA The Trilogy - The Definitive Edition is selected

SDK AND PLUGINS

  • Events 1.1: add support for latest version of GTA The Trilogy - The Definitive Edition (v1.0.17.39540), all launchers

BREAKING CHANGES

1.1.3

21 Feb 22:41
@x87 x87
Compare
Choose a tag to compare
  • add support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Rockstar Games Launcher)

1.1.2

18 Feb 21:47
@x87 x87
Compare
Choose a tag to compare
  • add support for GTA The Trilogy - The Definitive Edition v1.0.17.39540 (Steam)
  • update default tsconfig.json to solve issues with importing JSON files. Delete your tsconfig.json if you want to recreate it with the new options.

1.1.1

14 Feb 22:20
@x87 x87
Compare
Choose a tag to compare
  • add support for GTA IV 1.2.0.59

1.1.0

07 Feb 18:36
@x87 x87
Compare
Choose a tag to compare
  • add support for GTA The Trilogy - The Definitive Edition (Steam) - v1.0.17.38838
  • add "moduleDetection": "force" in default tsconfig.json to solve error TS2451 in VS Code. Delete your tsconfig.json if you want to recreate it with the new option.

BREAKING CHANGES


Thanks to my Patreon supporters for making this release possible.

1.0.7

27 Jan 16:02
@x87 x87
Compare
Choose a tag to compare
  • add a new property CLEO.hostVersion that returns the version of the current host. Currently only available if the current exe file has version info (e.g. GTA IV or GTA Trilogy)
  • fix a crash in GTA IV when loading a script with a syntax error
  • fix an issue in GTA IV when some commands always returned the same value (e.g. GET_CURRENT_CHAR_WEAPON)

BREAKING CHANGES

  log(CLEO.apiVersion.patch); // was "" now undefined
  log(CLEO.apiVersion.pre); // was "" now undefined
  log(CLEO.apiVersion.build); // was "" now undefined

1.0.6

26 Dec 20:54
@x87 x87
Compare
Choose a tag to compare
  • new built-in functions addEventListener and dispatchEvent. See https://re.cleo.li/docs/en/events.html
  • add setTimeout, setInterval, clearTimeout, clearInterval. See https://re.cleo.li/docs/en/api.html
  • add .cs, .js, .ts to the list of allowed file extensions for CLEO.runScript
  • fix a rare deadlock causing scripts to stop on timeout
  • fix an issue causing script failures after hot reload
  • fix an issue when Bully commands returned incorrect values

SDK AND PLUGINS

  • new SDK method TriggerEvent to trigger custom events with some payload. SDK version is now 7.
  • new Events plugin that brings in a few events to react on in JS/TS code: OnVehicleCreate, OnPedCreate, OnObjectCreate, OnVehicleDelete, OnPedDelete, OnObjectDelete
  • IdeLoader 1.3: generate ide_loader.d.ts for better intellisense in TS scripts
  • TxtLoader 1.1: generate txt_loader.d.ts for better intellisense in TS scripts

BREAKING CHANGES


Thanks to @VitalRus95 for the help with testing.

1.0.5

15 Dec 15:50
@x87 x87
Compare
Choose a tag to compare
  • add TypeScript support
  • add support for commands using global SCM variables (e.g. counters or timers). See scm.ts
  • delete previously deprecated variable GAME. Use HOST instead
  • update script watcher: changing .mjs files in a script directory or any nested directories triggers script reload
  • FxtStore can be forced to mutate global FXT keys by setting the last argument in FxtStore.insert and FxtStore.delete to true

SDK AND PLUGINS

  • IdeLoader 1.2: fixed a parser bug that prevented .ide files with a 2dfx section to be loaded
  • Frontend 1.1: reduced a timeout during a check for updates to 10 seconds
  • ImGuiRedux (by Grinch_): more commands

BREAKING CHANGES


Thanks to DadlyPrey, BroXe, and Junior_Djjr for supporting my work on Patreon!