Open FkinGuy opened 10 hours ago
Also, I noticed the discord link, in this repo and others, is expired :)
You definitely want to embed c lua modules in the core itself (allowing the load of .so/.dll will basically break every security measure). This is probably one of the best articles on the topic: https://leiradel.github.io/2020/03/01/Embedding-Lua-Modules.html
In your case embedding luasockets should be enough.
Regarding the discord link it is still valid (there are people still joining even today), which error are you getting ?
I intend to use lua to make api calls, because it is much less cumbersome than blueprints when it comes to formating a string or extracting data from json. I tried to add a pure lua implementation of "requests" but it fails because it needs network support from the engine.
Is there any way to add not-pure-lua modules to the lua engine used here, like you would do with luarocks ?
Blueprints are very good for certain things, C++ for others, but I think there is still room for a traditional scripting engine too.