Drach25 Posted August 4 Posted August 4 Hello, I am encountering a fundamental technical issue with my DCS installation. Whether I use the standard community library MOOSE (SPAWN:New) or the native game functions, I am unable to spawn and/or give orders to scripted units. Here is a summary of our troubleshooting steps: The native function coalition.addGroup is working (I was able to successfully spawn a Su-25T). The MOOSE functions SPAWN:New and STATIC:New fail to spawn anything. Basic MOOSE functions (MESSAGE:New) and native DCS functions (trigger.action.smoke) are working perfectly. The native function Controller.setTask systematically fails with an "Unknown task" error for all standard, documented tasks (PatrolRoute, CAP, Follow, Takeoff, etc.). I have already performed a full repair and a clean reinstall of the game, but the issue persists. I have also tried disabling overlays and running the game as an administrator. I suspect there is a deep issue with the scripting API on my system. I am attaching my dcs.log file and a simple test mission (.miz) that reproduces the "Unknown task" error when using setTask. Thank you for your help. Mariannes WWII.miz dcs.log
ED Team BIGNEWY Posted August 5 ED Team Posted August 5 19 minutes ago, draconus said: @BIGNEWY Can you please move the thread to some proper place? moved to scripting, thanks 1 1 Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal
Tobias00723 Posted 18 hours ago Posted 18 hours ago Ive taken a look at your miz and scripts and believe this is not a DCS issue A lot of your table structures are incorrect and some 'id' values you put in simply do not exist in DCS hense the "Unknown task" Errors and when the 'id' is valid you give it incorrect DATA than it wont accept so wont execute (BTW) in the scripting API attempting to making a plane land at the coords of a carrier i dont think it will do much because that would be a impossible task for the plane i dont know atm of a better solution for this.... Anyway DCS is requires specific table structures to make task works and even if it gets it it still does it own will TLDR; dont take this negatively but read the hoggit task wiki bit more : https://wiki.hoggitworld.com/view/Category:Tasks and follow the exact table structures and try doing one task at the time and maybe use "push task" not "set task" I have automated a lot of the task generation although working with AI is very difficult and annoying in the Scripting API All my systems still seem to work (Sorry cant share any) so with what ive seen very sure its not DCS today Hope this helps
Recommended Posts