rassy7 Posted May 31, 2013 Posted May 31, 2013 ok, so I can't figure out this error. I design a mission, adding little by little and at some point along the way, I start getting this error, "Unexpected Symbol Near" then it assigns a certain line. After a while, the error is followed by a second identical error but it shows a different line. Somewhere in the script I am doing something to throw an error and I can't figure it out and I can't seem to roll it back. Has anybody encountered this before and how have you dealt with it? Thanks, ~Josh The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
Grimes Posted May 31, 2013 Posted May 31, 2013 Something is wrong with the mission script you are using. Its nearly impossible to help solve the issue without seeing the script being used. I suggest open the script up in notepad++ and select the lua syntax and see if anything is out of place. 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
rassy7 Posted May 31, 2013 Author Posted May 31, 2013 Ok, I agree. I would post the script but I'm fairly new to DCS so I'm not exactly sure which file to post, nor how to attach/include it. I assume you mean I should unpack a copy of the .miz file and open a certain file in notepad and scan those lines for errors but I'm not sure which file the error is referring to. The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
Grimes Posted May 31, 2013 Posted May 31, 2013 You can upload the .miz file, or just PM a link to download it if you dont want to share it publicly. My best guess would be that you have a trigger using an expression condition or do script action somewhere which is causing the error. 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
rassy7 Posted May 31, 2013 Author Posted May 31, 2013 I too, have a feeling it is trigger-related since I'm essentially using this mission as a testing ground to figure out what the ME guid doesn't explain. Let me try and upload it somewhere and post a link to it here. The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
rassy7 Posted May 31, 2013 Author Posted May 31, 2013 I just put it in my Dropbox public folder. Here it is: https://dl.dropboxusercontent.com/u/37925345/Chopper%20Down.miz Let me know if you can't get to it. Thanks again for your help, ~Josh The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
Grimes Posted May 31, 2013 Posted May 31, 2013 Its your Russian aircraft. The "condition" box should be empty. That box is a lua condition meant for code to be in there. The number "93" isn't exactly a lua condition, thus the error. Simply remove that entry and it will work. If you wanted the aircraft to spawn with a 93% chance you need to change that box to the right that reads 100 to 93. 1 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
rassy7 Posted May 31, 2013 Author Posted May 31, 2013 (edited) Got it. Edited July 12, 2013 by rassy7 Foot In Mouth The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
rassy7 Posted May 31, 2013 Author Posted May 31, 2013 Ok, fixed it. I changed the values to zero, which apparently is the "line" the error reports. I had to remove it entirely to make it work and I had to just delete the units and remake them to make that happen, but you're right. Thanks! ~Josh The State Military (MAG 13) [sIGPIC][/sIGPIC] SHEEP WE-01 AV-8B BuNo 164553 VMA-214 Col J. “Poe” Rasmussen http://www.statelyfe.com Specs: Gigabyte Z390 Pro Wifi; i9-9900K; EVGA 2080 Ti Black; 32GB Corsair Vengeance LPX DDR4; Samsung 970 EVO Series M.2 SSD; WIN10; ASUS VG248QE; CV-1 and Index Modules: A-10C; AV8B; CA; FC3; F-5; F-14; F-18; F-86; HAWK; L-39; P-51; UH1H; NTTR; Normandy; Persian Gulf
Recommended Posts