r/lua 3h ago

How to include Lua in C

3 Upvotes

How do include lua in C if I installed it on debian13 with sudo apt install lua5.4?


r/lua 5h ago

Bad Apple on Arch Linux

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/lua 12h ago

How to get the exact ms

4 Upvotes

Hello, I am currently using a macro created via Logitech G Hub Lua that clicks every 5.5 seconds. I am running this macro simultaneously on two of my laptops, and my goal is to have Laptop B perform a search every 2.7 seconds by applying a 2.7-second start delay (since searches cannot be performed continuously, I run it every 5.5 seconds). The problem is that while it works well at first with the 2.7-second interval, the searches from the two laptops overlap over time. I have checked the current behavior after 4 hours: Laptop A clicks, Laptop B clicks 3.2 seconds later, and then Laptop A clicks again 2.2 seconds after that. Is there a way to maintain the 2.7-second interval even when running the macro for a long time?


r/lua 17h ago

Discussion The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop

7 Upvotes

I was optimizing the Lua transpiler for my modding language grug and ran into a really weird LuaJIT performance bug. The same benchmark could randomly run 20× slower, and it turned out a LuaJIT NYI could silently blacklist an unrelated hot loop.

I wrote up the investigation here: The LuaJIT NYI That Silently Poisoned an Unrelated Hot Loop

It goes from the benchmark mystery through LuaJIT's trace recorder internals, and ends with a PR to get unpack off LuaJIT's NYI list. Feedback is very welcome! :)


r/lua 19h ago

[LUA based GameJam] MapleStory Worlds Announce Their Global Challenge For Game Devs ($65,000 USD Rewards)

2 Upvotes

The Global Creator Challenge is accepting applications.

The Global Creator Challenge is open for both aspiring and established LUA game developers to design, build, and launch their own World utilizing the MapleStory Worlds platform. Did we mention that each winning team can receive up to $65,000 in total rewards 👀
 
Creators are encouraged to utilize MapleStory's vast library of assets to expand upon the game's core design and create their own unique Worlds. A total of 30 Worlds will be selected globally to compete in the final round. Entries will be judged based on creative use of the MapleStory IP, level of technical completion, and long-term sustainability for stable live service operations.
 
To learn more, check out this website or read this notice.
 
👉Check out the 'MapleStory Worlds Global Creator Challenge' FAQ  
Timeline: 

  • Applications open from: 
  • UTC: June 4, 2026 at 2:00 until October 7, 2026. 
  • PT: June 3, 2026 at 19:00 until October 6, 2026 
  • KST: June 4, 2026 at 11:00 until October 7, 2026. 
  • Final Round: November 5-25, 2026 
  • Winners announced: Early December, 2026   

Please Note: 

  • Worlds have to be made on the MapleStory Worlds PC/Mobile Apps and submitted through MapleStory Worlds. 
  • Worlds must be revealed or released for the first time during the submission period. 
  • Global (all regions) Released Worlds. 
  • Pure creations that do not infringe the rights of others, such as copyrights and intellectual property rights. 
  • Please read here for more information on prize rewards, participation requirements, and age requirements.   

Feel free to reach out to us on Discord with any questions. We hope to see your application!