I am currently trying to make scrolling text. I’m using Lua 5.2. The basic idea is: I have a variable with a long string of text in it I want to make a fu
How do I call a function after loading it in conkyrc? For example: I'm trying to get the active interface name which is returning properly ${lua conky_findInte
(Sorry if there is typo I type this in a hurry) EDIT: The problem is gone for me but I have no idea why. I rebooted my pc many times and fail for days but some
From https://w3.impa.br/~diego/software/luasocket/http.html, there are two ways to make a request, simple and generic. I have gotten the body to work with the s
problem: -4% = 0 0% = 5000 How do I make it so that i can calculate both the negative and positive values? What i've tried: local nrstate = "-" local x = therm
Recently I became Lua expert in my team due to an issue occurring when we want to send a large table to the following function: int native_sl_shootlaserpulse(
I have the following script in Lua (custom.lua): local data = loadFile() local count = -1 request = function() url_path = "/resource" -- lock count
EDIT: obviously I didnt install the library correctly? (my version of love is 11.4). perhaps i should rename the question to how do i properly install this libr
I have a problem with lockpick on my gmod dark rp server, can you help me please? error: [plogs] addons/plogs/lua/plogs/core_sv.lua:87: bad argument #1 to 'inse
I want to achieve something like this: I give function a string that should be trunctated and a maximum number of characters. local function TruncateBackwards(
I add a mesh to follow the player where ever he goes. But the mesh is lagging a bit when the player runs. I understand that it is not rendering quickly enough,
function teleportTo(placeCFrame) local plyr = game.Players.LocalPlayer; if plyr.Character then return plyr.Character.HumanoidRootPart.CFrame = p
When I try to use raylib with lua + zerobrane it says it can't require it , here is the output from zerobrane. would not let me copy output but I think you get
I am using lua FiveM to get steam hex of a player but i want to convert that hex to a community id like 76561198364192600. How do i got about that? is there an
I'm trying to create a wall placement system a kin to Sims, and am having trouble figuring out how to split the wall if you put another wall perpendicular to it
Image of the error I am trying to run the 'sudo docker-compose up' command to start some services. Recently, I created some new services, but I keep getting the
I'm learning Lua, but I don't understand how to create a button? http://onelua.x10.mx/vita/docs/es/group__touch.html my reference if touch.front.count(
I'm trying to setup a development environment that uses docker but the passenger docker image gives me this error over and over again. [1] development-passenger
I made a small test boat for my tower defense game and I need the turret to rotate but not the rest of the boat and I can't anchor the boat because of network o
I have an init.lua file that contains: require "user.setup.alpha" as in: require "user.options" require "user.keymaps" require "user.autocmds"