r/lua • • 13h ago

How to make a code delay in lua?

0 Upvotes

Hey im new to coding and wanted to learn lua ive got a few things down know and wanted to just write a little countdown nothing complicated just a first test but ran into the problem that i cant get a code delay to work


r/lua • • 8h ago

I cracked games via lua tools on steam but some games need to be louched on other loucher but i can't bypas that can anyone help me with that pls

Thumbnail
0 Upvotes

Help


r/lua • • 13h ago

Dealing with a... Ghost script?

1 Upvotes

This will probably sound like the dumbest thing ya'll ever heard altough im rather new to lua, altough not programming..

I've been using lua with the minecraft mod figura to add animations to things with a script and such. quite nice, Untill i tried using the "trailing tails lua library", when saving the script it would keep getting stuck at the same error. i wondered why and noticed that the game was loading a old version of my script the one from the first save after using Trailing tails? i backedup the original script and deleted the one in the Figura avatar folder, and the game was still loading it.

a few unfortunate things happened the backup got removed(0 clue how the folder is just... new folder now?) but here's the thing, whilst i did try to recover it through the hard drive with little to no success, The game is still producing the same error, And loading the ingame avatar. this means its getting the data from somewhere no?

The very error that caused it may save the project that i spend... 20 hours on at this point. Is there anyway to figure out where the game gets this data from? maybe i can actually save it?

the script, Car, main and etc are from the library i mentioned. but they aren't producing the error. let alone are being loaded.
What the script used to look like

r/lua • • 23h ago

Library Ito: A Declarative TUI library in Lua

Thumbnail uji.sh
29 Upvotes

I've always loved the idea of JIT-compiled UIs. TempleOS is a fascinating example, using JIT-compiled C to build its UI.

Recently, I've been working on a TUI project where almost everything is customizable at runtime, from the UI itself to the core functionality. I wanted a way to build terminal UIs declaratively, similar to SwiftUI, while keeping the flexibility of runtime customization.

So I built Ito a Lua library for writing JIT-compiled TUIs.

To make it easy to experiment with, we also built a fake TUI canvas in the browser where you can try out Ito live. Give it a try!


r/lua • • 15h ago

I announced a coop moddable lua game with 10 mini games

Enable HLS to view with audio, or disable this notification

13 Upvotes

https://store.steampowered.com/app/4185770/cenkers_mod/

cenker's mod is a multiplayer physics sandbox with many mods. Every mod has a different experience. Play included, community-made, and your own mods together with friends.