nightingale Posted March 8, 2016 Author Share Posted March 8, 2016 1 hour ago, inigma said: thanks @nightingale for working hard on CC. it is much appreciated. i'll be jumping back into GAP development shortly as soon as I find time. I love how 1.9.7 is shaping up. Thanks, and congratulations on the new job! 1.9.7 should be coming out relatively soon (tonight or tomorrow). That's the last planned release for KSP 1.0.5. After that will be 1.10.0 for the KSP 1.1 opt-in pre-release and 1.10.1 (if needed) for the KSP 1.1 full release. I'm planning on sticking to semantic versioning a little bit closer than I have in the past, so expect to see more 1.x.0 releases in future. Other plans in the works for some cool new features that'll affect the players for Contract Configurator 1.10.x and beyond, but I won't go into detail until what I'm planning has actually been at least prototyped (so I know it'll work). Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 8, 2016 Author Share Posted March 8, 2016 (edited) New release, download here! Contract Configurator 1.9.7 KerbalDeaths now supports a vessel identifier to only check for Kerbal deaths on a specific vessel. Added support for AlbertKermin's Surface Experiments Pack to science subsystem. Allow multiple targetBody values in ReachState. Added new Orbit class with methods. Fixed default values for RemoteTech CelestialBodyCoverage requirement (thanks severedsolo). Fixed minor bug in Sigma Binary support. Fixed possible exception when saving in ContractVesselTracker (thanks apocriva). Minor bug fixes. Edited March 8, 2016 by nightingale Quote Link to comment Share on other sites More sharing options...
Deimos Rast Posted March 8, 2016 Share Posted March 8, 2016 @nightingale thanks for all your work with this and other contract packs (and Strategia); really adds a lot of immersion. My favorite is by far the tourism plus one; those missions are a bit crazy, but provide a lot of fun. Cheers. Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 New release, as 1.9.7 broke the GAP intro contract. Download here. Contract Configurator 1.9.8 Fixed problem with using multiple targetBody values via expression in ReachState (thanks NathanKell). Fixed issue with KerbalDeaths not completing correctly (thanks vardicd). Quote Link to comment Share on other sites More sharing options...
vardicd Posted March 9, 2016 Share Posted March 9, 2016 59 minutes ago, nightingale said: New release, as 1.9.7 broke the GAP intro contract. Download here. Contract Configurator 1.9.8 Fixed problem with using multiple targetBody values via expression in ReachState (thanks NathanKell). Fixed issue with KerbalDeaths not completing correctly (thanks vardicd). damn that was fast. thanks Quote Link to comment Share on other sites More sharing options...
smjjames Posted March 9, 2016 Share Posted March 9, 2016 @nightingale After I updated and started up a save, I noticed that I got a bunch of these exceptions. Not exactly sure when they appeared as I didn't notice them until a little later: MissingMethodException: Cannot find method 'Radius' for class 'List`1'. at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[CelestialBody]].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction) [0x00000] in <filename unknown>:0 at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[CelestialBody]].ParseMethod[Single] (ContractConfigurator.ExpressionParser.Token token, System.Collections.Generic.List`1 obj, Boolean isFunction) [0x00000] in <filename unknown>:0 Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Single].ParseSpecialIdentifier (ContractConfigurator.ExpressionParser.Token token) [0x00000] in <filename unknown>:0 Rethrow as Exception: Error parsing statement. Error occurred near '*': @targetBody.Radius() / 2.0 ...................* <-- HERE at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Single].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Single] (System.String key, System.String stringValue, Boolean allowExpression) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseValue[Single] (.ConfigNode configNode, System.String key, Boolean allowExpression) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseValue[Single] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Single defaultValue, System.Func`2 validation) [0x00000] in <filename unknown>:0 UnityEngine.Debug:Internal_LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Single, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Func`2) ContractConfigurator.DeferredLoadUtil:ExecuteLoad(DeferredLoadObject`1) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) ContractConfigurator.ConfigNodeUtil:ExecuteDeferredLoads() ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__1e:MoveNext() ContractConfigurator.ContractConfigurator:Update() output log: http://sta.sh/019oka5q41oa Also, KSP crashed the first time I started it up after installing the update, but was fine the second time, so, *shrug*, I think that was a fluke. Quote Link to comment Share on other sites More sharing options...
vardicd Posted March 9, 2016 Share Posted March 9, 2016 (edited) @nightingale sadly the just released patch did not fix the G.A.P. Issue. mission still fails to complete, even though all reqs are met. EDIT: Mission failed to complete when craft was recovered. after visiting the mission control building and leaving, mission completed. not sure why I had to go into Mission control before it registered as complete. Edited March 9, 2016 by vardicd Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 45 minutes ago, smjjames said: @nightingale After I updated and started up a save, I noticed that I got a bunch of these exceptions. Not exactly sure when they appeared as I didn't notice them until a little later: MissingMethodException: Cannot find method 'Radius' for class 'List`1'. at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[CelestialBody]].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction) [0x00000] in <filename unknown>:0 at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[CelestialBody]].ParseMethod[Single] (ContractConfigurator.ExpressionParser.Token token, System.Collections.Generic.List`1 obj, Boolean isFunction) [0x00000] in <filename unknown>:0 Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Single].ParseSpecialIdentifier (ContractConfigurator.ExpressionParser.Token token) [0x00000] in <filename unknown>:0 Rethrow as Exception: Error parsing statement. Error occurred near '*': @targetBody.Radius() / 2.0 ...................* <-- HERE at ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Single].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Single] (System.String key, System.String stringValue, Boolean allowExpression) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseValue[Single] (.ConfigNode configNode, System.String key, Boolean allowExpression) [0x00000] in <filename unknown>:0 at ContractConfigurator.ConfigNodeUtil.ParseValue[Single] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Single defaultValue, System.Func`2 validation) [0x00000] in <filename unknown>:0 UnityEngine.Debug:Internal_LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Single, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Func`2) ContractConfigurator.DeferredLoadUtil:ExecuteLoad(DeferredLoadObject`1) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) ContractConfigurator.ConfigNodeUtil:ExecuteDeferredLoads() ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__1e:MoveNext() ContractConfigurator.ContractConfigurator:Update() output log: http://sta.sh/019oka5q41oa Also, KSP crashed the first time I started it up after installing the update, but was fine the second time, so, *shrug*, I think that was a fluke. Yeah, my update broke the Tourism pack - I'll have to go fix that. 9 minutes ago, vardicd said: @nightingale sadly the just released patch did not fix the G.A.P. Issue. mission still fails to complete, even though all reqs are met. EDIT: Mission failed to complete when craft was recovered. after visiting the mission control building and leaving, mission completed. not sure why I had to go into Mission control before it registered as complete. That should be fine - I think it would've worked normally if you'd done the mission from scratch, but it was already a little messed up from before the fix came out. Quote Link to comment Share on other sites More sharing options...
smjjames Posted March 9, 2016 Share Posted March 9, 2016 Just now, nightingale said: Yeah, my update broke the Tourism pack - I'll have to go fix that. What exactly broke about the tourism pack? I'm currently doing the tourism kickoff one atm. Quote Link to comment Share on other sites More sharing options...
vardicd Posted March 9, 2016 Share Posted March 9, 2016 1 minute ago, nightingale said: That should be fine - I think it would've worked normally if you'd done the mission from scratch, but it was already a little messed up from before the fix came out. Negative, this occurred on a brand new game, new save. Wanted to be sure there was no issue with the old save being broken. Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 11 minutes ago, smjjames said: What exactly broke about the tourism pack? I'm currently doing the tourism kickoff one atm. The Gas Giant contract (it's a couple lines up from the log excerpt you sent). 10 minutes ago, vardicd said: Negative, this occurred on a brand new game, new save. Wanted to be sure there was no issue with the old save being broken. Okay, I'll take a look. Quote Link to comment Share on other sites More sharing options...
smjjames Posted March 9, 2016 Share Posted March 9, 2016 (edited) Is anybody else noticing problems with the latest CC and the latest SCANsat's SCANsatofficial? While declining a bunch of contracts, I'm noticing that the SCANsat scan contracts are briefly appearing and then disappearing when they come into the contract list. At one point, a SCANSat contract did stick around, but then when I accidentially moved the description scroll, it disappeared off of the list. The fact that I have three 1star contracts active already might have something to do with it. Edited March 9, 2016 by smjjames Quote Link to comment Share on other sites More sharing options...
Svm420 Posted March 9, 2016 Share Posted March 9, 2016 14 minutes ago, smjjames said: Is anybody else noticing problems with the latest CC and the latest SCANsat's SCANsatofficial? While declining a bunch of contracts, I'm noticing that the SCANsat scan contracts are briefly appearing and then disappearing when they come into the contract list. At one point, a SCANSat contract did stick around, but then when I accidentially moved the description scroll, it disappeared off of the list. The fact that I have three 1star contracts active already might have something to do with it. Noticed that for a while maybe 2 or 3 reales ago. Not a big issue to me so I never came to post about it. Quote Link to comment Share on other sites More sharing options...
smjjames Posted March 9, 2016 Share Posted March 9, 2016 3 minutes ago, Svm420 said: Noticed that for a while maybe 2 or 3 reales ago. Not a big issue to me so I never came to post about it. It's still a bug, and it wasn't a big issue in my previous game, but I'd like to be able to have access to those in my new one. Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 52 minutes ago, vardicd said: Negative, this occurred on a brand new game, new save. Wanted to be sure there was no issue with the old save being broken. Think this is a side effect of how the completeInSequence works, and there is a plan on the horizon to fix that... so for now it's something you have to live with. 22 minutes ago, smjjames said: Is anybody else noticing problems with the latest CC and the latest SCANsat's SCANsatofficial? While declining a bunch of contracts, I'm noticing that the SCANsat scan contracts are briefly appearing and then disappearing when they come into the contract list. At one point, a SCANSat contract did stick around, but then when I accidentially moved the description scroll, it disappeared off of the list. The fact that I have three 1star contracts active already might have something to do with it. I'm aware of it, but hadn't been able to reproduce it. This is the first time someone's pointed me to a specific contract pack though (there was previously an issue in Field Research that was fixed). I'll look into it. Quote Link to comment Share on other sites More sharing options...
vardicd Posted March 9, 2016 Share Posted March 9, 2016 9 minutes ago, nightingale said: Think this is a side effect of how the completeInSequence works, and there is a plan on the horizon to fix that... so for now it's something you have to live with. I can live with it, so long as I know its not symptomatic of a bigger problem. thanks Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 (edited) @smjjames - I think I fixed the SCANsat contract recycling issue. Are you able to grab the dev version and check for me? EDIT: Wait, nevermind, I don't think my fix will work. EDIT2: Raised #492. Edited March 9, 2016 by nightingale Quote Link to comment Share on other sites More sharing options...
smjjames Posted March 9, 2016 Share Posted March 9, 2016 (edited) 'k, checking. Just grabbing it off of CC-master should be fine, right? edit: Yes that fix works.editwhiletyping: Wait, one of the two that were on when I went to edit disappeared. and the other one went while I was typing the above. edit2: I enabled all of the stock contracts and disabled all of the non-stock other than SCANsat official and it happens even with just stock contracts. edit3: You know what, I'm going to test on the branchoff KSP to see if it's a problem with SCANsat itself. edit4: Not working in the copied over save, so, going to try a new one..... Edited March 9, 2016 by smjjames Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 30 minutes ago, smjjames said: 'k, checking. Just grabbing it off of CC-master should be fine, right? edit: Yes that fix works.editwhiletyping: Wait, one of the two that were on when I went to edit disappeared. and the other one went while I was typing the above. edit2: I enabled all of the stock contracts and disabled all of the non-stock other than SCANsat official and it happens even with just stock contracts. edit3: You know what, I'm going to test on the branchoff KSP to see if it's a problem with SCANsat itself. edit4: Not working in the copied over save, so, going to try a new one..... See edits above your post. It needs a more thought out fix, not something I'm going to be able to solve right away. Might do this with the KSP 1.1 changes. Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 9, 2016 Author Share Posted March 9, 2016 Almost missed this one - congrats to @Keniamin on his release of his contract pack - Kerbin Side GAP. It combines ideas from GAP and Kerbin-SideJobs to create a contract pack focused on air transit between Kerbin-Side bases. Quote Link to comment Share on other sites More sharing options...
g00bd0g Posted March 16, 2016 Share Posted March 16, 2016 Hmm, did some updating and now I am getting this error... Exception occured while loading contract parameter 'ReachAlt' in contract 'RP0.SoundingRocketMedium': System.InvalidOperationException: Operation is not valid due to the current state of the object at System.Linq.Enumerable.First[CelestialBody] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.BodyList () [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.OnParameterLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 16, 2016 Author Share Posted March 16, 2016 4 minutes ago, g00bd0g said: Hmm, did some updating and now I am getting this error... Exception occured while loading contract parameter 'ReachAlt' in contract 'RP0.SoundingRocketMedium': System.InvalidOperationException: Operation is not valid due to the current state of the object at System.Linq.Enumerable.First[CelestialBody] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.BodyList () [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ReachState.OnParameterLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0 Sounds like something (Kopernicus maybe) got messed up? Need more logs to say anything beyond that. Quote Link to comment Share on other sites More sharing options...
g00bd0g Posted March 16, 2016 Share Posted March 16, 2016 Uninstalled CC via CKAN which uninstalled RP-0 as well. Re-installed both and now everything works... Quote Link to comment Share on other sites More sharing options...
nightingale Posted March 16, 2016 Author Share Posted March 16, 2016 29 minutes ago, g00bd0g said: Uninstalled CC via CKAN which uninstalled RP-0 as well. Re-installed both and now everything works... Huh, not sure what that was, but glad it worked out. Quote Link to comment Share on other sites More sharing options...
Nori Posted March 17, 2016 Share Posted March 17, 2016 (edited) Heya, long time no see. Sooo, started working on contracts again and am trying to get what I had working in 1.0.5 and the newest CC. Running into a error while parsing the minAltitude below. I think it worked a while back, but I don't recall, no doubt I'm just being dumb. PARAMETER { name = ReachState type = ReachState situation = ESCAPING minAltitude = @targetBody.SphereOfInfluence() * 0.9 - @targetBody.Radius() } Oh and how is Factorio? Sounds fun. ~edit - and I'm a idiot I think... Changed @targetBody to @/targetBody and I guess that was it. Edited March 17, 2016 by Nori Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.