Is there any discord server for sharing lua code?
I know about the Libera channel and the mailing thing, but I don't really like the format of those.
I considered just posting exercise solutions and etc here, but the sub doesn't have that many posts, so it would become quite spamy.
TLDR: where should I share my code to know if I am doing best practice/just to talk about it?
https://redd.it/1nghdh6
@r_lua
I know about the Libera channel and the mailing thing, but I don't really like the format of those.
I considered just posting exercise solutions and etc here, but the sub doesn't have that many posts, so it would become quite spamy.
TLDR: where should I share my code to know if I am doing best practice/just to talk about it?
https://redd.it/1nghdh6
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I’m creating another poll because everyone would rather die then help me make a game in Roblox (Roblox is lua) it’s an animal crossing type game. We can split the profit. Username on Roblox is MrWIggles555555
I need a pro noscripter,
Someone to import the animations I make into inputs,
Someone to make a thumbnail
I got the other stuff like camera and music
View Poll
https://redd.it/1nh1hht
@r_lua
I need a pro noscripter,
Someone to import the animations I make into inputs,
Someone to make a thumbnail
I got the other stuff like camera and music
View Poll
https://redd.it/1nh1hht
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
HELP! Recoil Script
Can someone help me? My recoil are good but after 3 seconds its going down.
EnablePrimaryMouseButtonEvents (true);
function OnEvent(event,arg)
if IsKeyLockOn("CapsLock")then
if IsMouseButtonPressed(1)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(12)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(1)
end
end
end
https://redd.it/1nhb2za
@r_lua
Can someone help me? My recoil are good but after 3 seconds its going down.
EnablePrimaryMouseButtonEvents (true);
function OnEvent(event,arg)
if IsKeyLockOn("CapsLock")then
if IsMouseButtonPressed(1)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(12)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(1)
end
end
end
https://redd.it/1nhb2za
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
rtc 2.1.0 : compile Lua noscripts to standalone Windows executables
https://preview.redd.it/lu0iai057ipf1.png?width=256&format=png&auto=webp&s=277221cf25fbfa7ee277aeb508e80d50931588a1
Hey Lua devs 👋
I'm thrilled to announce the latest version of **rtc**, a standalone tool that compiles your Lua 5.4.8 noscripts into native Windows `.exe` applications—no Makefile, no C compiler, and **no Lua installation** required.
But here’s the real game-changer: **rtc supports full static compilation**, meaning you can embed **Lua binary modules directly into your executable**—and they’ll load seamlessly via `require()` just like regular Lua files. This opens the door to packaging powerful native extensions without worrying about external dependencies.
Static Lua binary modules need just to be recompiled with the `lua54-static.lib` library from LuaRT distribution (rtc is coded using LuaRT).
Here are the main features :
* Standalone tool – No Makefile or external compiler needed
* Command line or GUI frontend
* Build Windows desktop or console apps
* Static or dynamic executables
* Embed any files – Lua modules, assets, configs
* Access embedded files directly from Lua
* Easy deployment – No Lua installation required
More info and downloads are available on the [GitHub repository](https://github.com/samyeyo/rtc)
A tutorial is available [here ](https://www.luart.org/doc/tutorial/rtc.html)
https://redd.it/1nidq8l
@r_lua
https://preview.redd.it/lu0iai057ipf1.png?width=256&format=png&auto=webp&s=277221cf25fbfa7ee277aeb508e80d50931588a1
Hey Lua devs 👋
I'm thrilled to announce the latest version of **rtc**, a standalone tool that compiles your Lua 5.4.8 noscripts into native Windows `.exe` applications—no Makefile, no C compiler, and **no Lua installation** required.
But here’s the real game-changer: **rtc supports full static compilation**, meaning you can embed **Lua binary modules directly into your executable**—and they’ll load seamlessly via `require()` just like regular Lua files. This opens the door to packaging powerful native extensions without worrying about external dependencies.
Static Lua binary modules need just to be recompiled with the `lua54-static.lib` library from LuaRT distribution (rtc is coded using LuaRT).
Here are the main features :
* Standalone tool – No Makefile or external compiler needed
* Command line or GUI frontend
* Build Windows desktop or console apps
* Static or dynamic executables
* Embed any files – Lua modules, assets, configs
* Access embedded files directly from Lua
* Easy deployment – No Lua installation required
More info and downloads are available on the [GitHub repository](https://github.com/samyeyo/rtc)
A tutorial is available [here ](https://www.luart.org/doc/tutorial/rtc.html)
https://redd.it/1nidq8l
@r_lua
PDFGenerator for redbean.dev and luaonbeans.org
Hi there,
I'm working on a PDF generator in pure LUA
https://github.com/solisoft/luaonbeans/blob/main/.lua/pdfgenerator.lua
It's a part of my luaonbeans.org project
It's easily adaptable for openresty !
On a 50€/mo Hetzner VM it can handle 1700 pdf/seconds (two pages with logo and tables -- invoice template)
https://redd.it/1niejbk
@r_lua
Hi there,
I'm working on a PDF generator in pure LUA
https://github.com/solisoft/luaonbeans/blob/main/.lua/pdfgenerator.lua
It's a part of my luaonbeans.org project
It's easily adaptable for openresty !
On a 50€/mo Hetzner VM it can handle 1700 pdf/seconds (two pages with logo and tables -- invoice template)
https://redd.it/1niejbk
@r_lua
GitHub
luaonbeans/.lua/pdfgenerator.lua at main · solisoft/luaonbeans
A tiny redbean Lua framework. Contribute to solisoft/luaonbeans development by creating an account on GitHub.
Quick question about indexing temporary tables
print({[0\] = "a"}[0\])
Doesn't work but if I save the table to a variable before indexing it works?
I kinda like using temporary tables as lookups
https://redd.it/1nir7v2
@r_lua
print({[0\] = "a"}[0\])
Doesn't work but if I save the table to a variable before indexing it works?
I kinda like using temporary tables as lookups
https://redd.it/1nir7v2
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
A simple and fast code editor written in LUA
https://github.com/FinochioM/Natura
https://redd.it/1niwqcp
@r_lua
https://github.com/FinochioM/Natura
https://redd.it/1niwqcp
@r_lua
GitHub
GitHub - FinochioM/Natura: A simple and fast code editor written in LUA.
A simple and fast code editor written in LUA. Contribute to FinochioM/Natura development by creating an account on GitHub.
learning lua and i was messing around with it and got this
https://preview.redd.it/s6ysr26rimpf1.png?width=976&format=png&auto=webp&s=898295aa8db8976c39d4d1e259766fcf034b06a8
https://redd.it/1niz9jw
@r_lua
https://preview.redd.it/s6ysr26rimpf1.png?width=976&format=png&auto=webp&s=898295aa8db8976c39d4d1e259766fcf034b06a8
https://redd.it/1niz9jw
@r_lua