Gambit21 Posted December 20, 2016 Posted December 20, 2016 Working on 2 missions The first one opened just fine after the update after deleting the msbin file before even trying for the first time. The second mission did not - "Error Reading Mission" Any suggestions?
Crash_Gordon Posted December 20, 2016 Posted December 20, 2016 I had to edit the .mission file in a text editor to change CheckEntities entries for the complex triggers to CheckPlanes. Make a backup first as ymmv!
Habu Posted December 20, 2016 Posted December 20, 2016 (edited) You have to do what Crash Gordon said. We talked about that in that post, i gave how to do it : https://forum.il2sturmovik.com/topic/26501-complex-trigger-upcoming-changes/ Edited December 20, 2016 by Habu
No601_Swallow Posted December 20, 2016 Posted December 20, 2016 I really recommend a good text editor like Notepad++. The find/replace functions like a charm. Even for a large complex mission, it takes seconds - actually less than a second! - to just swap all those "CheckEntities" for "CheckPlanes".
Habu Posted December 20, 2016 Posted December 20, 2016 I really recommend a good text editor like Notepad++. The find/replace functions like a charm. Even for a large complex mission, it takes seconds - actually less than a second! - to just swap all those "CheckEntities" for "CheckPlanes". I agree, and you can do it for several mission in one directory.
Gambit21 Posted December 20, 2016 Author Posted December 20, 2016 Thanks guys - missed the text editor bit in the announcement.
Gambit21 Posted December 20, 2016 Author Posted December 20, 2016 (edited) Fixed with Notepad++...verified I did it correctly, but that mission still fails to load after the update. My work-around will be recreating it I guess unless someone else has another idea. Edit - I have most of the groups saved, so I'm simply going to re-create the mission. So no help needed, however if someone is still curious and want's to problem solve for grins, let me know and I'll send you the mission. I don't want to post it on the forum though. Edited December 20, 2016 by Gambit21
Habu Posted December 20, 2016 Posted December 20, 2016 Did you delete the msnbin file, if not, that's the problem.
Gambit21 Posted December 20, 2016 Author Posted December 20, 2016 Yep, had already deleted it, and verified it wasn't present.
Gambit21 Posted December 21, 2016 Author Posted December 21, 2016 OK - might have found the problem but unsure how to solve it. I used Monkey's firefight group in that mission, and I just tried to open it for use in a another mission and I got an "error reading group" message, and the group would not import. I did find the "check entities" entry and changed it to "checkplanes' but the group still would not import. so maybe this group was the problem.
Habu Posted December 21, 2016 Posted December 21, 2016 Be carreful, some group use complex triger (i have some), and you need to do the same search of check entities and replace it.
WWGeezer Posted December 22, 2016 Posted December 22, 2016 Swallows instructions worked perfectly for me. None of my missions would load even though I deleted the .msnbn file. I downloaded Notepad++, opened the .mission file, Searched and Replaced the CheckEntities with CheckPlane and saved Reloaded mission and worked fine Thanks Swallow!
Gambit21 Posted December 22, 2016 Author Posted December 22, 2016 (edited) I did that swap and it still wouldn't open. I'll look at it again later. Deleted the msbin file too. Edited December 22, 2016 by Gambit21
Habu Posted December 22, 2016 Posted December 22, 2016 Gambit put your mission, i'll have a look quickly.
Gambit21 Posted December 22, 2016 Author Posted December 22, 2016 Out and about Habu - I'll send it to you later. Thank you
JimTM Posted December 27, 2016 Posted December 27, 2016 (edited) One suggestion: Check the mission file in a text editor like NotePad++ for an apostrophe in any MCU or object name and remove every instance of the apostrophe. For example, in a mission with a complex trigger, under MCU_TR_ComplexTrigger, I had ObjectName = "Jim's FW190" and when I removed the apostrophe, my mission loaded. This may apply to other punctuation marks in names too. Edited December 27, 2016 by JimTM
Gambit21 Posted December 29, 2016 Author Posted December 29, 2016 Thanks Jim - but I think that will take me longer than rebuilding the mission. I really hope that in the future they can make a small change like this without breaking missions.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now