Sorry about that oversight. Yes I used 'goto' which is supported in PUC lua 5.2+ and LuaJIT only. You are using PUC lua 5.1.5, which is totally acceptable but doesn't support 'goto'. I have made a new release, you can update your client installation in place (use the update button in the UI), and should work no issue for PUC lua 5.1.x, let me know if you have further issues!
As an aside - you really should just luaJIT for building Luanti, you are missing out on a very different experience playing any game on Luanti without it - oftentimes games can run 3-5x faster. Just my two cents.
There is another issue with non standard lua functionality.
You're using table.move in agent_x/mods/agent_x/lang.lua:408 which also doesn't exist
As for the reason im using PUC lua. Lowk i didn't even know i wasn't using luaJIT anymore. Looking at my USE flags, i forgot to copy them over when renaming my build
Seemingly the game depends on some non standard lua extension that adds goto statements:
agent_x/mods/agent_x/lang.lua:526This crashes my game when trying to join a world
Here is the output of
luanti --version(note: this was compiled on gentoo, with a patched ebuild to rename the engine and have the newest version)
Sorry about that oversight. Yes I used 'goto' which is supported in PUC lua 5.2+ and LuaJIT only. You are using PUC lua 5.1.5, which is totally acceptable but doesn't support 'goto'. I have made a new release, you can update your client installation in place (use the update button in the UI), and should work no issue for PUC lua 5.1.x, let me know if you have further issues!
As an aside - you really should just luaJIT for building Luanti, you are missing out on a very different experience playing any game on Luanti without it - oftentimes games can run 3-5x faster. Just my two cents.
There is another issue with non standard lua functionality.
You're using
table.moveinagent_x/mods/agent_x/lang.lua:408which also doesn't existAs for the reason im using PUC lua. Lowk i didn't even know i wasn't using luaJIT anymore. Looking at my USE flags, i forgot to copy them over when renaming my build
Sigh, of course there's more - I'll build a version with PUC lua here and get a guarunteed working build, will take a bit longer turnaroud
Okay, addressed in most recent update - tested on Windows 11 with latest dev master and PUC lua 5.1.5