jasonstory44 Posted April 1, 2022 Share Posted April 1, 2022 If anyone can help or point me in the direction of how to track down and trouble shoot these errors greatly appreciated. The errors in my moose scripts seem fairly easy to track down as they tell you what line and script so these errors seem different and I’m at a loss of where to begin. any help greatly appreciated. thanks, Jason 2022-03-30 23:04:01.841 INFO SCRIPTING: Error in SCHEDULER function:[string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:126604: attempt to index field 'PatrolZone' (a nil value) 2022-03-30 23:04:01.841 INFO SCRIPTING: stack traceback: [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:28323: in function <[string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:28319> [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:126604: in function 'onafterPatrolRoute' [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:131264: in function <[string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:131261> (tail call): ? [C]: in function 'xpcall' [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:28332: in function '_call_handler' [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:28021: in function <[string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:27913> (tail call): ? [C]: in function 'xpcall' [string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:8892: in function <[string "C:\Users\Jason\AppData\Local\Temp\DCS.openbeta\/~mis00005C9E.lua"]:8837> Win 10 Pro, Intel i9 9900k overclocked to 5.1 (water cooled), 64 gb Corsair Dominator platinum RAM (3444 MHz) Titan RTX overclocked and water cooled 1.1 TB SSD 2 TB M.2 SSD TM Warthog Stick and throttle MFG Crosswinds Reverb VR Buttkicker LFE, SimShaker, Jetseat. All DCS modules Link to comment Share on other sites More sharing options...
PravusJSB Posted April 3, 2022 Share Posted April 3, 2022 The first line tells you, wherever PatrolZone is being passed, start there. It's nil for whatever reason and it needs to be something. Creator & Developer of XSAF ::An AI model that wants to kill you, and needs no help from humans. Discord: PravusJSB#9484 twitch.tv/pravusjsb https://www.patreon.com/XSAF https://discord.gg/pC9EBe8vWU https://bmc.link/johnsbeaslu Work with me on Fiverr: https://www.fiverr.com/pravusjsb Link to comment Share on other sites More sharing options...
jasonstory44 Posted April 3, 2022 Author Share Posted April 3, 2022 Hmm…I don’t believe I have anything setup in the DCS editor for patrol zone. All my CAP flights are MOOSE driven and that script doesn’t seem to be throwing any errors but I will try and look through again Win 10 Pro, Intel i9 9900k overclocked to 5.1 (water cooled), 64 gb Corsair Dominator platinum RAM (3444 MHz) Titan RTX overclocked and water cooled 1.1 TB SSD 2 TB M.2 SSD TM Warthog Stick and throttle MFG Crosswinds Reverb VR Buttkicker LFE, SimShaker, Jetseat. All DCS modules Link to comment Share on other sites More sharing options...
Recommended Posts