Runtime:addEventListener("system", onSystemEvent)

So, downloaded 3109 and that was the release it all stopped working for me…  Error is this now: -

22:04:45.580  ERROR: Runtime error

22:04:45.580  ?:0: attempt to index global ‘system’ (a nil value)

22:04:45.580  stack traceback:

22:04:45.580   ?: in main chunk

22:04:48.789  Application closed with exit code: -1073741819

:frowning: - back to 3108 for now…

Thank’s I’ll see what I can find out.

Hi Rob, just wanted to know if you had any idea what the response from Engineering would likely to be?  We are just about to plan our next development cycle and I suppose need to know if we should build in to the schedule to refactor the current code…  Appreciate they may not have made any decisions, but if you could hint at the direction that would be helpful…

Unfortunately I don’t know. Hopefully we will learn more soon.

Rob

I just finished the conversation with our Engineering team. 3109 enabled some additional error handling. It’s most likely that you have been getting these errors all along and taking advantage of the error not triggering. While some people have successfully gotten some code to run in config.lua, it was never our intention for that to work. It’s recommended that you try a different way to do what you’re doing.

Rob