Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
101 views

I'm trying to make a mechanic where a player can look behind themselves (like in Outlast) while still being able to move in the forward direction, not the direction the camera is now facing (i.e. ...
mar sky's user avatar
  • 19
3 votes
1 answer
97 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
56 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
63 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
95 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
88 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
107 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
89 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
70 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
67 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
220 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
102 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
85 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
40 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
149 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

15 30 50 per page
1
2 3 4 5
1530