Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

lua

  1. A

    Lua for tracking device

    Hi all I am completely new to Lua, but I am required to learn it for a project at work regarding asset trackers. Could anyone who knows Lua fluently, please advise if there is sufficient data in the below PDF to suitably control these devices and customise them...
  2. Sink

    Tutorial Your (maybe) first Lua Program

    Requirements: a lua interpreter sitting tight with you You may be new to lua, so keep in mind: Lua and Luau (Roblox Lua Scripting) may not have the same process. You will learn how to show the text you want in the screen. So, here we go. We can do this by using the power of print() Here's...
  3. Sink

    Lua How would I go about writing an Interpreter in Lua?

    Hi, I'm attempting to write an interpreter in Lua, and the first idea was to make it able to run a simple  print function. If anyone is able to answer what's wrong, i would appreciate it. Here is my main code: nm = require "numbers" exec = false function readAll(file) local f =...
  4. philipbergwerf

    Advice for a graphical drawing application which tools to use?

    Hi, I am a hobby programmer and my main subject is alternative music notation. I want to write a program that can draw PianoScript music notation. Previously I did write in python and used Tkinter canvas to draw the notation. I want to try to use Lua for the project because of the way I...
  5. Havertz10

    4x4 Grid in lua

    I'm new to lua and I need help please, I've never done lua before. How do I create a 4x4 Lua Grid that's populated with random numbers and responds to inputs?
  6. lollospadalaser

    Lua

    i have an easy question, i don't understand why this works: local fact fact= function (n) if n == 0 then return 1 else return n*fact(n-1) end end print(fact(4)) and this one not: local fact = function (n) if n == 0 then return 1 else return n*fact(n-1) end end print(fact(4))...
  7. O

    Lua Decompiling / Decrypting LUA 5.2 Code

    I am having trouble decompiling this LUA 5.2 code. I am thinking it might be encrypted. Can someone help me out? I will pay for your time. https://github.com/ounick28/ounick
  8. N

    filter for table search by data attributes

    Is it possible to write a filter for a table search by data attributes <table> <thead> <tr> <th tabindex="0">Item</th> <th tabindex="0">Level</th> <th tabindex="0">Type</th> <th tabindex="0">Class</th> </tr> </thead> <tbody> <tr...
  9. N

    Lua explaining the structure of two functions in Lua

    Hi everyone, I am trying to integrate a code which is a variational auto encoder model (where the prior of the VAE is a mixture of Gaussians) from Lua (torch) to pytorch as part of my model and I have a hard time to fully understand the Lua script (I didn't find a tutorial of the language)...
  10. Premium__Zocker

    Lua Need help learning lua for example to fix lua error's on my gmod server

    Hello everybody. Im new to coding in general and i started to learn lua by watching CODE BLUE's tutorials on youtube. But i could need help from someone that has time and wants to help me with this. Just lua in generall but i have also an example lua error that i cannot fix bc i just dont know...
  11. G

    Roblox Door Script only effects one player

    I've been trying to make a door open and close, simple, yet I've only got a week's worth of experience with this coding thing, so I'd like some help. My code works, but it only works for one player, I would like if the code would open the door for all players in the server, could anyone help...
  12. Spencer W. 292

    FiveM Script Coding

    Hello! I am new to LUA Code and I am looking for a couple of fellow coders to join me in modifying a rideable animal script for FiveM. Any takers?
  13. M

    Suggestion Putting All RBLXLua And Other Lua Off-Shoot Threads In A Sub-Board

    Hey there. Over on the Lua board, I recently wrote a post regarding the differences between vanilla Lua and all of it's off-shoots - Including RBLXLua(The Lua off-shoot used in the online building-game, ROBLOX). In my opinion, I think that anything relating to Lua off-shoots(Such as RBLXLua)...
  14. M

    Woods - A Text-Adventure, Survival-Game

    (No longer being worked on. Sorry for the inconvenience).
  15. M

    Lua Understanding The Difference Between Lua And Lua Variants

    Hey there. I'm writing this as a tutorial post for people looking to into learning Lua. What I'm going to be covering is both the official Lua language itself and all of it's variants. When I say "variants", I mean any game or piece of software that uses it's own version of Lua, with custom...
  16. M

    Lua An Explanation Of Lua

    What Is Lua Lua is a Scripting-Language designed by Roberto Ierusalimschy and a bunch of other people in 1993. The Language is designed to be used as a Language that can be embedded into C/C++ Programs(The Language itself has a native C API). This API is what can be used to extend the...
  17. CL0NED

    Lua Exploring Properties of a Part

    Hey this tutorial is about properties of a part what can be very useful in scripting. Before starting make sure you have the properties tab opened, if it isn't you can open by watching the link bellow. https://gyazo.com/16f521aef8561ed626060f9df60a679d Now if you insert a part in to the...
Back
Top Bottom