blaueente Posted August 19, 2016 Posted August 19, 2016 Hello Folks Is there any way to depress the Error Reporting Window for the Lua Mission Scripts ? This keeps bothering me, because it prevents the Server from being Auto-Restarted. Any hint or suggestion would be much appreciated. I have no idea there to look for that. Thanks Ente Edit : The Regedit-Hack for depressing "normal" Error Messages is already applied and working correctly.
Grimes Posted August 20, 2016 Posted August 20, 2016 One of two things. 1. Modify the code so that errors are not likely to occur. 2. Use the function in the code env.setErrorMessageBoxEnabled to prevent the box from appearing. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
blaueente Posted August 20, 2016 Author Posted August 20, 2016 Thanks Grimes. It seems to be a random error with some older missions. maybe some scripts are outdated, need to crosscheck. Nontheless... there do i use this function ? In the Mission Script, Export Lua or is the setting hidden in some deep deep dcs directory? Kind regards Ente
Grimes Posted August 20, 2016 Posted August 20, 2016 Its a mission scripting function. It should be global, so you can just add a trigger with a doscript call. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts