Skip to content

Autorun-rs v1.1.0

Compare
Choose a tag to compare
@Vurv78 Vurv78 released this 25 Mar 04:38
· 32 commits to main since this release

A lot of not very minor but also not too crazy changes were made in 1.1.0

Breaking Changes 🔨

Autorun.require

This will now pass errors encountered in the function being ran, if any, instead of failing silently.

New Logger 📋

I replaced the very ugly logger with a custom implementation, which saves them in YYYY-MM-DD format for file sorting, and logs them with colors to the external console.
image
image

Asynchronous Lua Dumping 🌔

When joining servers, lua will be dumped asynchronously on a different thread, dumping around 50 files a second max to avoid using too much of your disk. (There could also be a setting to change the cooldown, bug me if you need it)

Console Enhancements ✨

The console finally has proper colors, a command system for easy extension and descriptions builtin.
Check it out:
image

New command: clear 🌀

This new command will clear the console, very useful when you're using something like Safety which prints a lot to the console..

New Autorun functions 🧰

Autorun.requirebin(name: string) ⚙️

This function is used to execute binary modules (Rust, C++ programs) located in your autorun/bin folder, as long as they are named accordingly: e.g. gmcl_mymodule_win64.dll for Autorun.requirebin("mymodule")

Autorun.print(...) 💻

Accompanying the colors in the console, you can now print with color using the Autorun.print command, which accepts any type of arguments, including tables, which, if they contain a number as the first index, will be considered a color.

Example Use:

Autorun.print( {255, 0, 0}, "Hello world!", {0, 0, 255}, "Now in blue!!", {0, 255, 0}, "Now with a function!!!", print )

image

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.. 😵‍💫 )