You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
I'm currently working on a library that exposes some features of a game to lua scripts.
The issue that I'm facing somehow has to do with my custom luaj library. Whenever I call a function from my library (weirdly enough not my custom print though), luaj just stops executing all the following lines.
I already tried removing \ns from the input string, but that sadly did not solve anything.
Does anyone have an idea, what could be the problem here? LuaJ does not appear to throw any errors when it stops.
Hey there,
I'm currently working on a library that exposes some features of a game to lua scripts.
The issue that I'm facing somehow has to do with my custom luaj library. Whenever I call a function from my library (weirdly enough not my custom
print
though), luaj just stops executing all the following lines.I already tried removing
\n
s from the input string, but that sadly did not solve anything.Does anyone have an idea, what could be the problem here? LuaJ does not appear to throw any errors when it stops.
The library is assembled here: https://chonkyrabbit.eu/git/luaprocessors.git/tree/src/luaprocessors/lua/LuaExecutor.java#n151
The code gets executed here: https://chonkyrabbit.eu/git/luaprocessors.git/tree/src/luaprocessors/lua/LuaExecutor.java#n66
Just for completeness, here an example snippet:
Can anyone explain this?
Thanks!
Edit: I found a weird edge-case (which works)
The text was updated successfully, but these errors were encountered: