close
Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
72 views

(Translated by translator) I use Roblox Studio for development. In short, I'm having trouble connecting multiple services. For example, when an event is triggered in Service #1, I need Service #2 to ...
Кирилл Неверлузов's user avatar
Advice
0 votes
1 replies
87 views

I've tried to make the Bresenhams's algorithm for parabola and catenary. Is is possible to make it for the any function y = f (x), just the universal solution? I've tried to make something naive, not ...
darkfrei's user avatar
  • 638
1 vote
1 answer
111 views

local baz = require("foo.bar") or {} I was hoping something like this would work but then I renamed bar file I got an error. bar.lua: local baz = {} baz.example = true return baz main.lua -...
sloppy's user avatar
  • 331
-1 votes
1 answer
119 views

I am trying to create a circular zone in a FiveM GTA V server, but I am having issues with distance calculation between two coordinates. The values I calculate never seem to match the radius used in ...
Moxley's user avatar
  • 1,581
1 vote
0 answers
140 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
  • 29
4 votes
2 answers
152 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
1 vote
1 answer
64 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
  • 31
1 vote
1 answer
82 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
5 votes
2 answers
112 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
129 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
125 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
97 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
72 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
80 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
264 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

15 30 50 per page
1
2 3 4 5
1530