I am attempting to secure LUA on my game (players can create scripts in LUA). I've removed many functions to create a sandbox of sorts, (AKA removing ...
I am attempting to secure LUA on my game (players can create scripts in LUA). I've removed many functions to create a sandbox of sorts, (AKA removing ...
In LuaFileSystem, lfs.dir(<path>) iterates over the contents of a directory as strings. If I wanted to print the attributes of the contents of a ...
I installed luarocks and now I am trying to use it to install luasocket. My command is and the response I get is The line of code in command_li ...
sorry i am still learning about lua. could you correct me, why the data from file wont read line by line ? this is my example data in file points.txt ...
How can I match "words" mixed parenthesis delimited strings, on the basis that they are separated by whitespaces. EG: Here's my attempt: str = "179 ...
Uploades file represented as tmpfile() and will be removed then script exits. How to hardlink this file to keep its content after removing tmpfile? H ...
Pretty new to the LUA environment, so hopefully i'm just missing something really small. I've been trying to compile LuaFileSystem using LuaRocks and ...
when i load lfs module in lua file, i got the error message: here is the code: if i execute the code in lua console, it succeed; if i copy the l ...
Neither io nor lfs seem to have an option to check for this. I need to use this feature to simulate some code that does this check. ...
I have some code which uses LuaFileSystem. However not all systems it will be run on have LuaFileSystem installed. I would like to check if it is inst ...
So, I got file "lfs.c" "lfs.h" "lfs.def" and ".gitignore". I tried installing MinGW and typing in that command: gcc lfs.c (Keep in mind that I'm a tot ...
I haven't a clue when it comes to building makefiles - I am trying to build luafilesystem in Windows 7 x86 for use with Lua for Windows. I have scoure ...
I have a program using the Luaj 3.0 libraries and I found some lua scripts I want to include, but they all require lua file system and penlight and wh ...
I've looked the LuaFileSystem doc and didn't really understood how I could create a temporary file and write in it. Also, I'm not sure exactly where I ...
I want to use lfs module in my ngx_lua programe, I download the source package from github and compile it with luajit2.0.3. The static file is in /usr ...
I want to save my files within a folder but the issue which raising is that my files are storing outside of the folder which is annoying. I am sharing ...