Script debugging

  • I am trying to wrap my head around the fact that the game won't load because of my script. Two of my includes scripts cause the game load to fail with no errors; it just stops and hangs at the loading screen. When I comment the two includes, everything is fine. These two includes register the command and player events. I have tried to run the script inside the Lua CLI program, but the global function include does not exist.


    The console debugging is enabled, so I see where it hangs, or not. But there are no errors being displayed, so I am not sure where or why it hangs. Any idea of how I can debug instead of launching and exiting the game every single time?

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!