Amarok_73 Posted September 15, 2020 Share Posted September 15, 2020 (edited) Hello, In one of my missions, when started on dedicated server, after some (long rather) time the MIST starts to flood into log following error: stack traceback: [C]: ? [string "c:\temp\DCS.openbeta_server\/~mis00005BBB.lua"]:641: in function 'dbUpdate' [string "c:\temp\DCS.openbeta_server\/~mis00005BBB.lua"]:845: in function 'checkSpawnedEventsNew' [string "c:\temp\DCS.openbeta_server\/~mis00005BBB.lua"]:1154: in function <[string "c:\temp\DCS.openbeta_server\/~mis00005BBB.lua"]:1147> 2020-09-15 12:07:29.983 WARNING LOG: 4 duplicate message(s) skipped. 2020-09-15 12:07:29.983 ERROR SCRIPTING: Mission script error: [string "c:\temp\DCS.openbeta_server\/~mis00005BBB.lua"]:829: attempt to index a nil value The script itself I am attaching to this post. Question is what can be the reason of such behavior and how to debug or investigate it? EDIT: Sorry for misleading subtitle, it's about function checkSpawnedEventsNew~mis00005BBB.lua Edited September 15, 2020 by Pipok Natural Born Kamikaze ------------------------- AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Logitech G940 HOTAS, Turtle Beach VelocityOne Rudder. Link to comment Share on other sites More sharing options...
Grimes Posted September 18, 2020 Share Posted September 18, 2020 It was a bug that was present on the very outdated master branch of mist, but was fixed on the development branch. Using mist 4.4 should fix the issue. https://github.com/mrSkortch/MissionScriptingTools 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 Link to comment Share on other sites More sharing options...
Amarok_73 Posted September 18, 2020 Author Share Posted September 18, 2020 Indeed, I was using the older MIST version. I'll exchange scripts and give it a ride. Thank You! Natural Born Kamikaze ------------------------- AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Logitech G940 HOTAS, Turtle Beach VelocityOne Rudder. Link to comment Share on other sites More sharing options...
Recommended Posts