Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

i'm writing a small utility for a roblox game. it's just server-side lua, not executor stuff. i'm filtering a list of values before using them for spawn logic. i'm trying to remove numbers lower than ...
witheredheartz's user avatar
0 votes
1 answer
44 views

I've got this string of code in a global script fired from a local script which creates a straight line from the origin of the Raycast to the ending of it, essentialy tracing its trajectory accurately:...
Martin's user avatar
  • 21
1 vote
1 answer
52 views

I am trying to upgrade from Neovim version 0.10.0 to 0.12.0. However, the runtimepath is still configured for version 0.10.0. When I run lua print(vim.inspect(vim.api.nvim_list_runtime_paths())) the ...
Lucas Myers's user avatar
4 votes
2 answers
85 views

This is the Lua version of Knuth's "Man/Boy Test". I found that, to reproduce the result shown in the Wikipedia article, I had to declare the nested function "B" "local"....
Jay Michael's user avatar
0 votes
1 answer
73 views

I have forked kickstart.nvim and cloned it to my machine while also adding nvim-config-local to the require('lazy').setup(...) section of ~/.config/nvim/init.lua. Now I would like to put a .nvim.lua ...
Jared's user avatar
  • 790
0 votes
1 answer
104 views

I’m working in Roblox using Luau with --!strict enabled. This is a ModuleScript intended to return a typed table. It runs on both client and server. Here is the minimal code that causes the issue: --!...
riuuu's user avatar
  • 11
Advice
1 vote
1 replies
87 views

I also want to know if it would even work. Im trying to make a function that whenever it runs it selects a cheese from the list and then gives it mutations. It should be able to give as many mutations ...
sam the man's user avatar
1 vote
1 answer
69 views

I'm trying to parse an arbitrary numbers of XML documents for a Neovim plugin with xml2lua (I use a specially packed version but I can reproduce this issue with the package from luarocks too). The ...
Mensh123's user avatar
1 vote
1 answer
64 views

I've been messing with LÖVE2D framework for a project, and while I was designing a scene manager, I came up to this issue which I couldn't find information about, nor I could troubleshoot. I have a ...
Neblinus's user avatar
0 votes
1 answer
170 views

I'm building a Discord bot that controls RE4 Remake in real time via REFramework Lua scripts justo for fun for my friends and me. I have some things working but I'm stuck on two specific things. What ...
Cesar Daniel Rangel Hernandez's user avatar
1 vote
1 answer
100 views

I have been working on a project for a while, and have recently ran into an issue where, while trying to load a "chart" for a game 5 I am working on, the game will stop responding and eat ...
Echo Legge's user avatar
Advice
2 votes
1 replies
78 views

Apologies if this is a dumb question, I'm new to both stack exchange and programming in general. Anyway, here's the problem I'm facing: I'm writing a function for a lua program, and I need to convert ...
FishEnjoyer's user avatar
Best practices
0 votes
2 replies
39 views

I want to learn, writng code in lua for fxcm(marketscope) so im looking for a resource to learn it step by step. I have a strategy that takes too long, manually so im intended to turn it to the code ...
Pedram Mehdipour's user avatar
Best practices
1 vote
8 replies
147 views

Let's say I named a function DoSomethingAsync. Now, without running it. Do you think it yields, or runs immediately, but returns something later, and allows the caller to continue running more stuff ...
karl-police's user avatar
  • 1,063
7 votes
1 answer
118 views

Below code is from nmap tableaux.lua script file which is located at /usr/share/nmap/nselib local tcopy_local function tcopy(t) local tc = {} for k, v in pairs(t) do if type(v) == "table&...
Yilmaz's user avatar
  • 51.4k

15 30 50 per page
1
2 3 4 5
1531