duyminh1998/pycmo

In-game Lua script error handling

Closed this issue · 1 comments

When the Client sends data to the game, program execution will be frozen if the game raises an error due to poorly formatted Lua code. Thus, the scenario will not be able to move forward.

See CMOENV.step()

Add --script \nTool_EmulateNoConsole(true) to action scripts to ignore in-game errors.