Autorun-rs v1.2.0 #54
Vurv78
announced in
Announcements
Replies: 1 comment 1 reply
-
Vurv stop writing readmes, issues, and releases like a front end web dev with an anime pfp |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
No Breaking Changes 🚫 🔨
Optimized File Size 📦
Autorun was getting pretty big from all of the dependencies.
Things were removed and replaced,
human-panic
was removed since it'd only show up for a few frames until gmod crashed since this is used as a dll,chrono
replaced withtime
, etc.Fixes 🛠️
Initial Freezing 🧊
Due to the
autorun/settings.toml
file not existing, your game would freeze. This was fixed.Now Autorun will properly create all essential folders and the settings file for you
32 Bit? 💻
As of this version, 32 bit seems to work properly.
Note it is missing the lua executor commands from the cli, which are still unable to be provided unfortunately.
File System 🗄️
In order to accompany some new features here, I wrote a file system for Autorun that'll make the process of taking input paths from the user much easier, and adding functions like
Autorun.readFile
andAutorun.require
much easier.This brings local paths to the lua api!
Plugin overrides 🧩
You can now return a string or boolean from a plugin's
src/hook.lua
, just as you can fromautorun/hook.lua
, to override the script!New setting(s) ⚙️
autorun.nocolor
This setting is under the [autorun] tab as "nocolor", and disables the color in case your system doesn't support truecolor, or you simply don't want the colors.
New command(s) 🖥️
plugin
This is a general command for managing and creating plugins with Autorun, subcommands below:
new <name>
- Creates a new plugin with template code at folder<folder>
list
- Lists all currently (would-be) active plugins and info about them.help
- Explains the other subcommands to you in greater detailUpdated
Autorun
functions 🔧Autorun.require
🌔This function has been fixed to allow for calling it without having a .lua extension, bringing it closer to vanilla lua.
Additionally it now allows usage between local folders, so you can finally use it inside of your plugins 🧩!
Previously it only allowed you to
Autorun.require
files inside of your globalautorun/scripts
folder, but now you can require local to the running script.Example
New
Autorun
functions 🧰Autorun.readFile
📂The long awaited function to read a file is here!
Call it with a filename and read a file local to the currently running script, same as
Autorun.require
now can.Once Again...
That's pretty much it. It took a while to get here, so if you could support with a 🌟 or join the discord to ask any questions or report issues, it would be greatly appreciated. (This took way too long to write, so could support me for that as well.. 😵💫 )
This discussion was created from the release Autorun-rs v1.2.0.
Beta Was this translation helpful? Give feedback.
All reactions