slowmover Posted August 31 Posted August 31 Hello mates. i am getting this error when i try to open my mission. Any idea how can i fix it? [sIGPIC][/sIGPIC]
Solution razo+r Posted August 31 Solution Posted August 31 Open the script and fix it. Something in there is triggering that error.
slowmover Posted August 31 Author Posted August 31 (edited) Here is the LUA. i fix it i run mission lua and it crashes again almanac[32] = {} almanac[32]["System"] = SAT_SYS_GLONASS almanac[32]["Number"] = 4 almanac[32]["Orbital"] = 1 almanac[32]["GLONASS_Data"] = {} almanac[32]["GLONASS_Data"]["NKU_Number"] = 795 almanac[29]["GLONASS_Data"]["Cosmos_Number"] = 2403 -- WRONG almanac[32]["Eccentricity"] = 4.054000e-003 AND HERE almanac[36] = {} almanac[36]["System"] = SAT_SYS_GLONASS almanac[36]["GLONASS_Data"] = {} almanac[36]["Number"] = 8 almanac[36]["Orbital"] = 1 almanac[36]["GLONASS_Data"] = {} -- WRONG almanac[36]["GLONASS_Data"]["NKU_Number"] = 797 almanac[36]["GLONASS_Data"]["Cosmos_Number"] = 2412 GPS_GNSS.lua Edited August 31 by slowmover [sIGPIC][/sIGPIC]
razo+r Posted August 31 Posted August 31 10 minutes ago, slowmover said: I have no idea how to fix. i was lucky that CHATGTP knows. You can close this thread now We don't know either how to fix it if you don't upload it, as a reference for future issues like this.
slowmover Posted August 31 Author Posted August 31 Here is the mission. It seems i can not fix it.Maybe you can give it a look. Syria Operation Lizard Phase #1 .miz [sIGPIC][/sIGPIC]
Tobias00723 Posted September 1 Posted September 1 Heyo, please download the attached .miz file with the fix You used the "condition" field witch is a LUA statement and the number "30" is not valid LUA lol nothing todo with the previously attached "GPS_GNSS.lua" enjoy Syria Operation Lizard Phase #1 .miz 1 DCS Mission Scripting Wizard | TGFB Owner | Dev of HIP Dynamic Server | Maker of TGFB Dynamic | tgfb-dcs.com | Contact me | TGFB Discord
Recommended Posts