Adrian858 Posted June 29, 2020 Posted June 29, 2020 (edited) Hi everyone, I just ran into a problem after saving and attempting to load a mission I've been working on... Never had this happen before, but now I'm unable to even edit the mission or load it at all. The error I received was: Error loading mission "C:\Users\Adrian\Saved Games\DCS.openbeta\Missions\Caucasus\Chemical Reaction.miz": [string "mission = ..."]:13175: '}' expected (to close '{' at line 2) near '['I've attached a copy of the mission and a screenshot of the error. When this error occurred, I believe it was right after modifying a trigger, deleting an entry. If someone can have a look, I'd greatly appreciate it! Thanks, AdrianChemical Reaction.miz Edited June 29, 2020 by Adrian858 Corsair Vengeance C-70 (OD), EVGA Z370 FTW, i7-8700k, Noctua NH-D15, RTX 4070ti TUF OC, Corsair Vengeance LPX 64GB DDR4 3200MHz, Samsung SSD 970 Pro NVMe M.2 1TB & 990 Pro NVMe M.2 2TB , WD Black 4TB Perf HDD - 7200 RPM SuperNOVA 750W P2 Modular, ASUS ROG Swift 27" 2560x1440 TM Warthog, TM F/A-18C Grip, TM Pendular Rudder Pedals, VPC CM3 Base, VPC Rotor TCS Base, VPC Apache-64, VPC Control Panel 1, WinWing PTO 2, Cougar MFD's, TekCreations F/A-18C Master Arm, Koolertron Keypad, Meta Quest 3 A-10C/II - AH-64D - AV-8B - CH-47F - F-4E - F-5E - F-14 - F-15E - F-16C - F/A-18C - OH-58D - P-51D - Bf-109K4 - FC3 - UH-1H - Combined Arms - Super Carrier Afghanistan - Nevada - Normandy - Persian Gulf - Sinai - Syria
Grimes Posted June 30, 2020 Posted June 30, 2020 It had a syntax error within the mission file. Unsure how it occurred. But easy enough fix to go in and manually adjust the lua table.Chemical Reaction_modf.miz 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
Adrian858 Posted June 30, 2020 Author Posted June 30, 2020 Grimes, has anyone on these forums ever told you how amazing you are? Cuz I think you're pretty damn awesome! Just tested it and it works on my end. :D I'm not really much of a scripter/coder... I tried looking through it and lets just say my brain stopped functioning. Thanks, Grimes! Corsair Vengeance C-70 (OD), EVGA Z370 FTW, i7-8700k, Noctua NH-D15, RTX 4070ti TUF OC, Corsair Vengeance LPX 64GB DDR4 3200MHz, Samsung SSD 970 Pro NVMe M.2 1TB & 990 Pro NVMe M.2 2TB , WD Black 4TB Perf HDD - 7200 RPM SuperNOVA 750W P2 Modular, ASUS ROG Swift 27" 2560x1440 TM Warthog, TM F/A-18C Grip, TM Pendular Rudder Pedals, VPC CM3 Base, VPC Rotor TCS Base, VPC Apache-64, VPC Control Panel 1, WinWing PTO 2, Cougar MFD's, TekCreations F/A-18C Master Arm, Koolertron Keypad, Meta Quest 3 A-10C/II - AH-64D - AV-8B - CH-47F - F-4E - F-5E - F-14 - F-15E - F-16C - F/A-18C - OH-58D - P-51D - Bf-109K4 - FC3 - UH-1H - Combined Arms - Super Carrier Afghanistan - Nevada - Normandy - Persian Gulf - Sinai - Syria
Recommended Posts