FlightControl Posted July 31, 2017 Posted July 31, 2017 Anybody seen this error ever? "It is impossible to add new group when traversing of object storage is in process" This is returned by the addGroup method... coalition.addGroup( SpawnCountryID, SpawnCategoryID, SpawnTemplate ) Sven [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE]
FlightControl Posted July 31, 2017 Author Posted July 31, 2017 (edited) Ignore. The error is raised when you start an object scan using searchObjects, where an error is located in the callback function (so searchObjects stops or halts), and if you directly after that spawn new groups, you'll get this error. Took me a while to find the issue though :)) So I corrected the error in the callback function and it worked again. The error explanation was ok, it triggered the search for the root cause of the issue towards the scanning. (Note that this error occurred during a new development of the optimal intercept point calculation, so not on a current production script.) Fc Edited July 31, 2017 by FlightControl [TABLE][sIGPIC][/sIGPIC]| Join MOOSE community on: DISCORD :thumbup: Website of the MOOSE LUA Framework. MOOSE framework Downloads. Check out Example Missions to try out and learn. MOOSE YouTube Channel for live demonstrations and tutorials. [/TABLE]
leonardo_c Posted December 30, 2018 Posted December 30, 2018 (edited) Probably very necro but I'm still seeing this error and cannot really figure out what is happening. When I see these errors then nothing will spawn in the enitre map, it does not happen sistematically and I've been so far to reproduce it with a 100% chance, it just appears to happen randomly. Please disregard the quality of my code in the script, I'm very very new to lua scripting. (any code review feedback is greatly appreciated :D ) In attachment you have mission and scripts for your own debugging pleasure. :)Operation_Dauntless_Resolution.zip Edited December 30, 2018 by leonardo_c My DCS Campaigns - DOWNLOAD
Recommended Posts