xcom Posted July 24, 2013 Share Posted July 24, 2013 Hi, Most of my missions started crashing immidietly after I updated to 1.2.5. I did some searching around the mission, seems that all of the condition expressions have been deleted, I'm guessing this is because the option name was changed to LUA PREDICATE (Which is worse imho). Is ED aware of this issue? this means numorous mission are useless and need to get worked on again... Xcom [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook Link to comment Share on other sites More sharing options...
Grimes Posted July 24, 2013 Share Posted July 24, 2013 I was aware the display name for the trigger changed, I was not aware that it broke compatibility of existing triggers utilizing expressions. I will report it. If you have a 1.2.4 saved version of the mission file you should be able to do a find/replace in the mission files for whatever the changed values are. I'll do some research to get you more specifics, but I think the 1.2.5 mission editor sees the older named condition, thinks its invalid, thus deletes it. You don't need to post the same bug information in 4 different locations... we see it. 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 Link to comment Share on other sites More sharing options...
xcom Posted July 24, 2013 Author Share Posted July 24, 2013 It was actualy 2 different posts, other posts were answers in already in progress threads as a possible solution. I'm inclined to posting in two different places as from past expirience I wasn't getting replys for reported bugs/issues - http://forums.eagle.ru/showthread.php?t=110195 [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook Link to comment Share on other sites More sharing options...
Grimes Posted July 24, 2013 Share Posted July 24, 2013 Make sure you have copies of the mission file as I don't know exactly how this might get resolved. Consider this a temporary solution that works ONLY with missions not already saved in 1.2.5. So if you have a mission that used the condition "expression" and haven't saved it in 1.2.5 yet, this fix will protect the triggers in 1.2.5. Open miz file with zip archive program of choice. Open mission file in text editor Find> c_expression > and replace with: c_predicate Repack the miz archive with the new mission file and you should be good to go. 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 Link to comment Share on other sites More sharing options...
xcom Posted July 26, 2013 Author Share Posted July 26, 2013 Thanks for that fix. I've just tested with the new hotfix for 1.2.5, seems that LUA PREDICATE doesn't work the same as EXPRESSION did? I have this trigger: - Swtiched condition. - LUA PREDICATE - if not Group.getByName("AI - F-15C") then return true end - DO SCRIPT local group = GroupTable["AI - F-15C"] coalition.addGroup(country.id.RUSSIA, Group.Category.AIRPLANE, group) GroupTable is loaded at the start and it includes all the group info for "AI - F-15C". This worked before EXPRESSION was changed to LUA PREDICATE, any ideas? [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook Link to comment Share on other sites More sharing options...
Grimes Posted July 26, 2013 Share Posted July 26, 2013 Yeah it was another bug discovered with this condition, right now its not working. The relevant dev is on it though. 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 Link to comment Share on other sites More sharing options...
Recommended Posts