Skip to content

Releases: JayMontana36/LuaPlugin-GTAV

JM36 - v20230826.0 - Stable

26 Aug 02:30
1bea314
Compare
Choose a tag to compare
  • Some improvements and bugfixes.
  • Made the garbage collector more aggressive (from 200,200 to 100,100) by default
  • Implemented new Vector3 functions, making Vector3s so much easier and better to work with universally all around
  • Implemented a new string escape function
  • Implemented new string operation/function for "directly" indexing a string, and some other basic "shortcuts" or syntactic sugar
  • Fixed/Restored the original operation of the configFile Read function (do not assert on invalid file, simply return a blank/empty table)
  • Fixed an issue with DLL based modules (attempting to load and interpret DLL files as Lua scripts)
  • Improved the native function (re)implementation of GetDistanceBetweenCoords and also made it now behave more like the actual native implementation does (always calculate in 3D by default unless explicitly told not to with using false for that parameter)
  • Further cleaned up and optimized the old legacy GUI.lua (gosh we need something better lol this still isn't great at all)

JM36 - v20230724.0 - Stable

24 Jul 17:15
26b6f0f
Compare
Choose a tag to compare
  • Some improvements and bugfixes.
  • Added several libs for reading and creating/generating various data file formats.
  • New "DataFile" functions that are meant to be used for reading and writing persistent information/data in any file format of your choice - usage example currently is as follows (should you choose to use the boolean parameters, you MUST specify false if you wish to use any parameters after it or a custom directory):
DataFile.Read(FileNameOrPathString)

DataFile.Read(FileNameOrPathString,ReadFromDataPathBoolean,ReadFromScriptsPathBoolean)
DataFile.Write(FileNameOrPathString,DataStringToWrite)

DataFile.Write(FileNameOrPathString,DataStringToWrite,WriteToDataPathBoolean,WriteToScriptsPathBoolean)

JM36 - v20230125.0 - Stable

25 Jan 14:26
501dc61
Compare
Choose a tag to compare
  • Some improvements and bugfixes.

  • Updated RAGE native function (re)maps.

  • Declaring/Writing globals instead of locals now displays a warning (every time) - it is most/very recommended to always instead use locals for several reasons, from performance to avoiding (potential) conflicts between scripts.

  • New "Script" function that is meant to replace the use of globals for sharing variables/resources/data between scripts - usage example currently is as follows:

-- Script A
local ScriptSharedVariablesA = Script("MyScriptA", {PersistReloads=true}) -- Create a new share (if it doesn't already exist) that persists reloads
if ScriptSharedVariablesA.SomeRandomVarA == nil then
    -- Freshly created, lets get set up and populate if needed
end
-- Script B
local ScriptSharedVariablesA = Script("MyScriptA") -- Get access to Script A's shares or create a new share that Script A will use later
-- Do whatever with what Script A shares

JM36 - v20221130.0 - Stable

30 Nov 22:20
Compare
Choose a tag to compare
  • Some improvements and bugfixes
  • Updated automatic migration/migrator for legacy/original Lua Plugin scripts
  • Updated backward compatibility with legacy/original Lua Plugin scripts
  • Updated RAGE native function (re)maps.
  • Updated ExampleMenu for legacy/original Lua Plugin included menu ("GUI") library.

JM36 - v20220919.0 - Stable

19 Sep 13:34
Compare
Choose a tag to compare
  • Updated RAGE native function (re)maps.
  • Updated Halt (Wait/wait/yield) function to be more efficient/performant when simply waiting for the next frame (by (having to be) doing less)

JM36 - v20220818.0 - Stable

18 Aug 11:21
Compare
Choose a tag to compare
  • Fixed configFileRead function not working (reverted to an updated older version)
  • Added a native "remap" for "GetEntityPlayerIsFreeAimingAt" from "GetAimedEntity", an "unknown" or "lost" native that has no documentation whatsoever anywhere but works exactly the same (and appears to be the same).

JM36 - v20220817.0 - Stable

17 Aug 19:39
Compare
Choose a tag to compare
  • Completely/Massively rewrite/overhaul the JM36 Lua Plugin's eCore for performance and efficiency and structural purposes.
    • Misc internal improvements/rewrites.
    • JM36 Lua Plugin's init/startup and script reloads should now be way/much more efficient (and faster).
  • Updated RAGE native function (re)maps.
    • Pioneered a new (and much better) replacement for Function (Re)Mapper (delete it from your Modules if you have it).
  • Updated included/bundled minimalist example scripts.

JM36 - v20220805.0 - Stable

05 Aug 09:57
Compare
Choose a tag to compare
  • Misc internal improvements/rewrites
  • Update RAGE native function (re)maps

JM36 - v20220420.0 - Stable

21 Apr 15:15
fc3f405
Compare
Choose a tag to compare
  • Fully integrate the previously implemented coroutine/thread system and make it the new/default standard across everything, including any/all older/legacy/original Lua Plugin scripts as well as all JM36 Lua Plugin scripts via wrapping.
    • Scripts can (and will) no longer block other scripts from running or (being able to run) whenever a "wait" is called - Primarily affects/concerns the older/legacy/original Lua Plugin scripts in a great/awesome way.
  • (Actually) Fix broken compatibility with older/legacy/original Lua Plugin scripts (for real this time).

JM36 - v20220418.0 - Stable

18 Apr 10:46
Compare
Choose a tag to compare
  • Implement a basic coroutine/thread system, which will become the new/default standard and be fully integrated in the near future.
    • JM36.CreateThread
    • JM36.Wait & JM36.yield
JM36.CreateThread(function(Info)
    while true do
        -- Do something
        JM36.yield(nil or SomeTimeInMS) -- Don't forget to wait/yield!
    end
end)
  • Fix broken compatibility with older/legacy/original Lua Plugin scripts.