Jump to content

[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]


nightingale

Recommended Posts

Hello Nightingale. Great mod! I've really enjoyed the ability to make my own contracts, thank you!

Is there a way to add paragraph breaks to large text blocks? For example in CONTRACT_TYPE description or DIALOG_BOX text fields?

\n is a new line, so I use \n\n for a new line with an empty line between it.

Link to comment
Share on other sites

Got this message after Updating:

Exception occured while loading contract parameter 'SCANsatCoverage1' in contract 'ScanMinmus':

System.ArgumentException: Missing required value 'targetBody'.

at ContractConfigurator.ConfigNodeUtil.ParseValue[CelestialBody] (.ConfigNode configNode, System.String key, Boolean allowExpression) [0x00000] in <filename unknown>:0

at ContractConfigurator.SCANsatCoverage.OnParameterLoad (.ConfigNode node) [0x00000] in <filename unknown>:0

at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

Got this message after Updating:

Exception occured while loading contract parameter 'SCANsatCoverage1' in contract 'ScanMinmus':

System.ArgumentException: Missing required value 'targetBody'.

at ContractConfigurator.ConfigNodeUtil.ParseValue[CelestialBody] (.ConfigNode configNode, System.String key, Boolean allowExpression) [0x00000] in <filename unknown>:0

at ContractConfigurator.SCANsatCoverage.OnParameterLoad (.ConfigNode node) [0x00000] in <filename unknown>:0

at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnLoad (.ConfigNode node) [0x00000] in <filename unknown>:0

I know that isn't one of mine, so I'm guessing that you are using DT85's ScanSat contract pack and RSS (or another planet altering mod)?. They won't work together - Also ScanSAT has it's own contracts now, so DT85's pack isn't needed.

Link to comment
Share on other sites

Hi nightinale,

I also got some exections in the newest version of cc. The result is, that ksp stops loading.


[LOG 13:13:11.572] [INFO] ContractConfigurator.ContractConfigurator: Contract Configurator 1.7.4 loading...
[LOG 13:13:11.573] [INFO] ContractConfigurator.LoggingUtil: Loading DebuggingConfig node.
[WRN 13:13:11.579] ContractConfigurator.LoggingUtil: No debugging config found! LogLevel set to INFO
[EXC 13:13:11.598] ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes ()
ContractConfigurator.ContractConfigurator+<GetAllTypes>d__2c`1[ContractConfigurator.ParameterFactory].MoveNext ()
Rethrow as Exception: Error loading types from assembly MechJebRPM, Version=0.17.0.0, Culture=neutral, PublicKeyToken=null
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.<GetAllTypes>d__2c`1:MoveNext()
System.Linq.<CreateWhereIterator>c__Iterator1D`1:MoveNext()
ContractConfigurator.ContractConfigurator:RegisterParameterFactories()
ContractConfigurator.ContractConfigurator:Update()
[LOG 13:13:11.654] [INFO] ContractConfigurator.ContractConfigurator: Finished Registering ParameterFactories
[LOG 13:13:11.725] [INFO] ContractConfigurator.ContractConfigurator: Finished Registering BehaviourFactories
[LOG 13:13:11.797] [INFO] ContractConfigurator.ContractConfigurator: Finished Registering ContractRequirements
[LOG 13:13:11.804] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'AdvancedProgression'
[LOG 13:13:11.977] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'BaseConstruction'
[LOG 13:13:11.978] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'HistoricMissions'
[LOG 13:13:11.987] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'KerbinSpaceStation'
[LOG 13:13:11.992] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'RoverWhyren'
[LOG 13:13:11.994] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'ScanSatLite'
[LOG 13:13:11.995] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'Tourism'
[LOG 13:13:12.901] [INFO] ContractConfigurator.ContractConfigurator: Loading CONTRACT_GROUP: 'ScanSatOfficial'
[ERR 13:13:13.006] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'title'.

[ERR 13:13:13.007] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'synopsis'.

[ERR 13:13:13.007] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'completedMessage'.

[WRN 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': unexpected attribute 'minVersion' found, ignored.
[ERR 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Need at least one parameter for a contract!

[ERR 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescope1': Error parsing group

[EXC 13:13:13.011] ArgumentException: No contract group with name 'CactEyeNewTelescopeGroup'
ContractConfigurator.ConfigNodeUtil.ParseSingleValue[ContractGroup] (System.String key, System.String stringValue, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[ContractGroup] (.ConfigNode configNode, System.String key, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[ContractGroup] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, ContractConfigurator.ContractGroup defaultValue, System.Func`2 validation)
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, ContractGroup, Func`2)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, ContractGroup)
ContractConfigurator.ContractType:Load(ConfigNode)
ContractConfigurator.<LoadContractConfig>d__1e:MoveNext()
ContractConfigurator.ContractConfigurator:Update()
[ERR 13:13:13.047] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescope1': Need at least one parameter for a contract!

[WRN 13:13:13.498] ContractConfigurator.Behaviour.ExperimentalPartFactory: The 'add' attribute of ExperimentalPartFactory is deprecated. Use 'unlockCriteria' instead.
[WRN 13:13:13.498] ContractConfigurator.Behaviour.ExperimentalPartFactory: The 'remove' attribute of ExperimentalPartFactory is deprecated. Use 'lockCriteria' instead.
[WRN 13:13:13.566] ContractConfigurator.Behaviour.ChangeVesselOwnershipFactory: Warning, values for onState have changed - attempting to load using obsolete values.
[WRN 13:13:13.580] ContractConfigurator.Behaviour.ChangeVesselOwnershipFactory: Warning, values for onState have changed - attempting to load using obsolete values.
[WRN 13:13:13.581] ContractConfigurator.Behaviour.ChangeVesselOwnershipFactory: CONTRACT_TYPE 'BaseCommsLost', BEHAVIOUR 'ChangeVesselOwnership2' of type 'ChangeVesselOwnership': unexpected attribute 'parameter' found, ignored.
[WRN 13:13:13.581] ContractConfigurator.Behaviour.ChangeVesselOwnershipFactory: Warning, values for onState have changed - attempting to load using obsolete values.
[ERR 13:13:15.839] ContractConfigurator.ContractType: CONTRACT_TYPE 'SoyuzTM-13': Error parsing description

[EXC 13:13:15.840] WrongDataType: Expected System.Double got System.String
ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseNumericConstant ()
ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseToken ()
ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseMethodToken ()
ContractConfigurator.ExpressionParser.ExpressionParser`1[System.String].CompleteIdentifierParsing[String] (System.String value)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters)
ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseDataStoreIdentifier (ContractConfigurator.ExpressionParser.Token token)
Rethrow as Exception: Error parsing statement.
Error occurred near '*':
Soyuz-TM 13 carried Austrian cosmonaut-researcher Franz Viehbock and still Soviet-Kazakh cosmonaut-researcher Toktar Aubakirov. The flight was unusual for carrying no flight engineer. Veteran Russian cosmonaut Alexandr Volkov commanded. The Austrians paid $7 million to fly Viehb�ck to Mir, and the Kazakh cosmonaut flew partly in an effort to encourage newly independent Kazakhstan to continue to permit launchings from Baikonur Cosmodrome. The cosmonaut-researchers photographed their respective countries from orbit and conducted the usual range of materials processing and medical experiments. Artsebarsky traded places with Volkov and returned to Earth in Soyuz TM-12.
.................................................................................................................................................................................................................................................................* <-- HERE
ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode)
ContractConfigurator.ConfigNodeUtil.ParseSingleValue[String] (System.String key, System.String stringValue, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[String] (.ConfigNode configNode, System.String key, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[String] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, System.String defaultValue, System.Func`2 validation)
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, String, Func`2)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, String)
ContractConfigurator.ContractType:Load(ConfigNode)
ContractConfigurator.<LoadContractConfig>d__1e:MoveNext()
ContractConfigurator.ContractConfigurator:Update()
[WRN 13:13:16.401] ContractConfigurator.AnyFactory: CONTRACT_TYPE 'SurfaceSample', PARAMETER 'Labs' of type 'Any': unexpected child node '' found, ignored.
[LOG 13:13:18.101] [INFO] ContractConfigurator.ContractConfigurator: Loaded 540 out of 543 CONTRACT_TYPE nodes.

Hope this helps to fix it, if it is a problem of CC (first error might ??), i will also post in the contracts packs.

Link to comment
Share on other sites

Hi nightinale,

I also got some exections in the newest version of cc. The result is, that ksp stops loading.


[EXC 13:13:11.598] ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes ()
ContractConfigurator.ContractConfigurator+<GetAllTypes>d__2c`1[ContractConfigurator.ParameterFactory].MoveNext ()
Rethrow as Exception: Error loading types from assembly MechJebRPM, Version=0.17.0.0, Culture=neutral, PublicKeyToken=null
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.<GetAllTypes>d__2c`1:MoveNext()
System.Linq.<CreateWhereIterator>c__Iterator1D`1:MoveNext()
ContractConfigurator.ContractConfigurator:RegisterParameterFactories()
ContractConfigurator.ContractConfigurator:Update()

This means that there was an issue with that particular DLL. Since in this case it looks like that's for the MechJeb/RPM integration, it's most likely because you don't have RPM installed and can be ignored. There's a way for MechJeb to set that up so you don't get that error (using KSPAssemblyDependency), but it only works if RPM is also using the right method (using KSPAssembly). So if you want to get it to go away, you may have to chase down both of those developers. But that being said, it shouldn't be affecting anything at all.

[ERR 13:13:13.006] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'title'.
[ERR 13:13:13.007] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'synopsis'.
[ERR 13:13:13.007] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Missing required value 'completedMessage'.
[WRN 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': unexpected attribute 'minVersion' found, ignored.
[ERR 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescopeGroup': Need at least one parameter for a contract!
[ERR 13:13:13.010] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescope1': Error parsing group
[EXC 13:13:13.011] ArgumentException: No contract group with name 'CactEyeNewTelescopeGroup'
ContractConfigurator.ConfigNodeUtil.ParseSingleValue[ContractGroup] (System.String key, System.String stringValue, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[ContractGroup] (.ConfigNode configNode, System.String key, Boolean allowExpression)
ContractConfigurator.ConfigNodeUtil.ParseValue[ContractGroup] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, ContractConfigurator.ContractGroup defaultValue, System.Func`2 validation)
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, ContractGroup, Func`2)
ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, ContractGroup)
ContractConfigurator.ContractType:Load(ConfigNode)
ContractConfigurator.<LoadContractConfig>d__1e:MoveNext()
ContractConfigurator.ContractConfigurator:Update()
[ERR 13:13:13.047] ContractConfigurator.ContractType: CONTRACT_TYPE 'CactEyeNewTelescope1': Need at least one parameter for a contract!

Looks like some problem with this contract pack (seems almost like it could be due to parsing issue) - but I don't know where those are coming from (it's not a contract pack I remember seeing recently).

[LOG 13:13:18.101] [INFO] ContractConfigurator.ContractConfigurator: Loaded 540 out of 543 CONTRACT_TYPE nodes.

Hope this helps to fix it, if it is a problem of CC (first error might ??), i will also post in the contracts packs.

This last one is saying that (almost) everything loaded correctly. So if KSP is not loading for you - it's for some other reason.

- - - Updated - - -

Hello nightingale,

Any chance you could add a vessel parameter HasResourceCapacity?

No problem, will get that in the next version. Raised [#323].

Link to comment
Share on other sites

New release, few features, few bug fixes. Download now!

Contract Configurator 1.7.5

  • Added HasResourceCapacity parameter.
  • Added Round function for Duration class.
  • Fixed issue with hidden parameters in a sequence not unhiding in Contracts Window +.
  • Fixed issue with Duration parameter when not used with VesselParameterGroup (thanks master18).
  • Fixed issue with handling of $ character in strings (thanks ManuxKerb).

Link to comment
Share on other sites

New release, few features, few bug fixes. Download now!

Contract Configurator 1.7.5

  • Added HasResourceCapacity parameter.
  • Added Round function for Duration class.
  • Fixed issue with hidden parameters in a sequence not unhiding in Contracts Window +.
  • Fixed issue with Duration parameter when not used with VesselParameterGroup (thanks master18).
  • Fixed issue with handling of $ character in strings (thanks ManuxKerb).

You rock! Thank you!

Link to comment
Share on other sites

Welcome again nightingale and thank you for the fast patch yesterday. The modification worked marvelously well.

I told you about a problem with the Vessel Type detection when I tried to validate my Space Station two days ago.

Well I have the exact same problem with another contract "vesselType = Rover". The contract just won't detect the type of my Rover on Minmus and it won't validate the contract.

Link to comment
Share on other sites

Hey Nightingale, I'm trying to spawn an asteroid in a random orbit around a random planet but I can't seem to get it to work. First I tried using orbit generator but that clearly was the wrong parameter, now I'm trying spawn vessel with it linked to a vessel I created of just an asteroid in the vab with all the ECC, SAM, INC, ETC. set to "random". The contract is green in the debug menu and I am able to accept it but when I go to the host planet it isn't there. I can upload all the files if you want to see for yourself. So, any suggestions on how to spawn in an asteroid in a random orbit around a random body? Feedback is always appreciated :).

Link to comment
Share on other sites

Welcome again nightingale and thank you for the fast patch yesterday. The modification worked marvelously well.

I told you about a problem with the Vessel Type detection when I tried to validate my Space Station two days ago.

Well I have the exact same problem with another contract "vesselType = Rover". The contract just won't detect the type of my Rover on Minmus and it won't validate the contract.

Well, took a quick peek, and the check for vessel type happens on a number of different conditions, including switching vessels. So the first question would be - if you save and reload, does it work then?

Otherwise, I'd have to see a screenshot of the contract in question (the contract window while in flight). Once I get that I'll have a look at the rover contracts - could be an issue with those.

- - - Updated - - -

Hey Nightingale, I'm trying to spawn an asteroid in a random orbit around a random planet but I can't seem to get it to work. First I tried using orbit generator but that clearly was the wrong parameter, now I'm trying spawn vessel with it linked to a vessel I created of just an asteroid in the vab with all the ECC, SAM, INC, ETC. set to "random". The contract is green in the debug menu and I am able to accept it but when I go to the host planet it isn't there. I can upload all the files if you want to see for yourself. So, any suggestions on how to spawn in an asteroid in a random orbit around a random body? Feedback is always appreciated :).

Well, I've had an asteroid spawner on the backlog for a while (#184). But you've got the right idea otherwise - it's basically just vessel spawning, so if you can get the .craft file set up right, it should work. Try it first with a .craft file that you've saved yourself in the VAB. If you can get that loading, then you know it's an issue with your .craft file. Otherwise, it's something with the contract and I'd need to see them to comment further.

Link to comment
Share on other sites

Well, took a quick peek, and the check for vessel type happens on a number of different conditions, including switching vessels. So the first question would be - if you save and reload, does it work then?
It didn't. I tried that many times without success... But now I'm trying to take a screenshot and as soon as I reload it validates the contract, but it's still not marked okay in the normal contract window, it is in contract++... I have the feeling it's a random bug which occurs in some situations but not others. :(
Otherwise, I'd have to see a screenshot of the contract in question (the contract window while in flight). Once I get that I'll have a look at the rover contracts - could be an issue with those.

RoverContract.jpg

CONTRACT            {
guid = 110f657b-289b-4e23-91ab-e96ced863acd
type = ConfiguredContract
prestige = 0
seed = 1533371644
state = Active
agent = O.M.B. Demolition Enterprises
deadlineType = Floating
expiryType = Floating
values = 96060,216000000,22500,23624.9989271164,78749.9964237213,0,3.809524,15,7026230.42523143,7010917.416065,223010917.416065,0
subtype = RoverDeployWhyren
title = Rover Deployment
description = Much of Minmus is a mystery to us still. We could learn a lot by deploying a new rover there.
synopsis = Launch a new rover to Minmus
completedMessage = The rover is on location and ready for research!
notes = Launch a new rover to Minmus. Include all the scientific instrumentation you can!
hash = -375281307
PARAM
{
name = NewVessel
id = NewVessel
state = Complete
disableOnStateChange = False
values = 0,0,0,0,0
ContractIdentifier = RoverDeployWhyren
title = Launch a new rover
notes =
completedMessage =
allowStateReset = True
launchID = 46
}
PARAM
{
name = ReachState
id = ReachState
state = Complete
disableOnStateChange = False
values = 0,0,0,0,0
ContractIdentifier = RoverDeployWhyren
title =
notes =
completedMessage =
allowStateReset = True
targetBody = Minmus
biome =
situation = LANDED
minAltitude = 0
minTerrainAltitude = 0
minSpeed = 0
PARAM
{
name = ParameterDelegate`1
id = Destination: Minmus
state = Complete
disableOnStateChange = False
values = 0,0,0,0,0
ContractIdentifier = RoverDeployWhyren
title = Destination: Minmus
notes =
completedMessage =
}
PARAM
{
name = ParameterDelegate`1
id = Situation: Landed
state = Complete
disableOnStateChange = False
values = 0,0,0,0,0
ContractIdentifier = RoverDeployWhyren
title = Situation: Landed
notes =
completedMessage =
}
}
PARAM
{
name = VesselIsType
id = VesselIsType
state = Incomplete
disableOnStateChange = False
values = 0,0,0,0,0
ContractIdentifier = RoverDeployWhyren
title = Set vessel type to Rover
notes =
completedMessage =
allowStateReset = True
vesselType = Rover
}
}

Link to comment
Share on other sites

so i got this and

Exception occured while attempt to generate contract of type 'EquatorialDunaOrbitalSat':System.ArgumentNullException: Argument cannot be null.

Parameter name: value

at System.String.Insert (Int32 startIndex, System.String value) [0x00000] in <filename unknown>:0

at Contracts.TextGen.ProcessTextReplacements (System.String src, Boolean wipeReplacements) [0x00000] in <filename unknown>:0

at Contracts.TextGen.GenerateBackStories (System.String agency, System.String mindset, System.String topic, System.String subject, System.String motivation, Int32 seed) [0x00000] in <filename unknown>:0

at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00000] in <filename unknown>:0

I`m guessing something`s up with one of my mods messing something up ... so here you go.

Groups Extended (AGExt 1.33a)

Adjustable Landing Gear (AdjustableLandingGear v1.2.0)

Advanced Jet Engine (AdvancedJetEngine 2.4.1)

Airlock (Airlock 1.0.1)

ALCOR (ALCOR 0.9.4)

ALCOR IVA Patch (ALCORIVAPatch 0.9.4)

Alternate Resource Panel (AlternateResourcePanel 2.7.3.0)

Animate Emissive Module (ModuleAnimateEmissive v1.11)

ASET Props (ASETProps 1.3)

Atmospheric Sound Enhancement (AtmosphericSoundEnhancement 2.2)

Atomic Age (AtomicAge 3.1.2)

B9 Aerospace Procedural Parts (B9AerospaceProceduralParts 0.40)

BahamutoD Animation Modules (BDAnimationModules v0.6.2)

Better Buoyancy (BetterBuoyancy v1.4)

blackheart612's KW Procedural Fairings (ProceduralFairings-Textures-KW 0)

blackheart612's KW Procedural Fairings KSLO (ProceduralFairings-Textures-KSLO 0)

blackheart612's KW Procedural Fairings Textures (ProceduralFairings-Textures-TJCCA 0)

blackheart612's Procedural Part Textures (ProceduralParts-Textures-SCCKSCS 0)

BZ-1 Radial Attachment Point (BZ1RadialAttachmentPoint 1.0.0)

CapCom - Mission Control On The Go (CapCom 1.2)

Champagne Bottle "Lafitte" (ChampagneBottleLafitte 2)

Chatterer (Chatterer 0.9.6)

Coherent Contracts (CoherentContracts 1.02)

Collision FX (CollisionFX 3.2)

Command Inventory (CommandInventory 1.0.0)

Community Resource Pack (CommunityResourcePack 0.4.4)

Community Tech Tree (CommunityTechTree 2.1)

Connected Living Space (ConnectedLivingSpace 1.1.3.1)

Contract Configurator (ContractConfigurator 1.7.5)

Contract Pack: Advanced Progression (ContractConfigurator-AdvancedProgression 4.5)

Contract Pack: Anomaly Surveyor (ContractConfigurator-AnomalySurveyor 1.4.2)

Contract Pack: Base Construction (ContractConfigurator-BaseConstuction 0.2.3)

Contract Pack: RemoteTech (ContractConfigurator-RemoteTech 2.0.01)

Contract Pack: Rover Missions by Whyren (ContractConfigurator-RoverMissionsbyWhyren 3)

Contract Pack: SCANSat (ContractConfigurator-ContractPack-SCANsat v0.5.2.1)

Contract Pack: Tourism Plus (ContractConfigurator-Tourism 1.2.0)

Contract Pack: Unmanned Contracts (ContractConfigurator-UnmannedContracts 0.3.10)

Contract Pack: Useful Space Stations (ContractConfigurator-UsefulSpaceStations 1.1.1)

Contract Window + (ContractsWindowPlus 5.3)

ContractPack: Kerbal Aircraft Builders (ContractConfigurator-KerbalAircraftBuilders 1.1)

Crossfeed Enabler (CrossFeedEnabler v3.3)

Cryogenic Engines (CryoEngines 1:0.1.10)

Dated QuickSaves (DatedQuickSaves 1.1.0)

DeepFreeze Continued... (DeepFreeze V0.18.2.1)

Distant Object Enhancement (DistantObject v1.6.1)

Distant Object Enhancement default config (DistantObject-default v1.6.1)

DMagic Orbital Science (DMagicOrbitalScience 1.0.8)

Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.2.0)

Docking Sounds (DockingSounds 1.2)

DSD Mobile Processing Labs (DSDMobileProcessingLabs 1.0.0)

Editor Extensions (EditorExtensions 2.12)

Engine Lighting (EngineLighting 1.4.0)

EngineResponseTime (EngineResponseTime 1.0.5)

Enhanced Navball (EnhancedNavBall 1.3.6.0)

EPL part hider for MKS (EPL-MKS 1.0)

ERS (ERS 0.2.3)

EVA Enhancements (EVAEnhancements 1.0.0)

EVA Parachutes (VNG-Parachute 1.2)

EVA Parachutes by default (VNG-Parachute-EVALoading 1.0)

EVAManager (EVAManager 6)

Extraplanetary Launchpads (ExtraPlanetaryLaunchpads 5.2.2)

FASA Launch Clamps and Towers (FASALaunchClamps 5.34)

Ferram Aerospace Research (FerramAerospaceResearch 3:0.15.5.1)

Field Experience (FieldExperience 1.0.2)

Filter Extensions - Default Configuration (FilterExtensionsDefaultConfig 2.4.1)

Filter Extensions - Plugin (FilterExtensions 2.4.1)

Final Frontier (FinalFrontier 0.8.6-1370)

Firespitter Core (FirespitterCore v7.1.4)

Fusebox (Fusebox 1.51)

G-Effects (G-Effects 0.2.2)

Graphic Memory Monitor (GCMonitor 1.2.6)

Haystack Continued (HaystackContinued 0.4.1.0)

Heat Management (HeatManagement 0.26)

Heat Shield for the Mk1 Command Pod (HeatShieldfortheMk1CommandPod 1.1)

Historian (Historian 1.1.1)

HotRockets (HotRockets 1.0.4.1)

HotRockets - Community Configs (HotRocketsCommunityConfigs 7.25)

Hullcam VDS (HullcamVDS 0.50)

Impact! (Impact v1.2.0)

Interstellar Fuel Switch Core (InterstellarFuelSwitch-Core 1.17)

JebediahKerman42's Procedural Parts Textures a.k.a. FreedomTex (FreedomTex 1.5.1)

JSIPartUtilities (JSIPartUtilities v0.3)

Karibou Expedition Rover (KaribouExpeditionRover 0.0.4)

Kerbal Alarm Clock (KerbalAlarmClock v3.4.0.0)

Kerbal Attachment System (KAS 0.5.4)

Kerbal Construction Time (KerbalConstructionTime 1.2.2)

Kerbal Engineer Redux (KerbalEngineerRedux 1.0.18.0)

Kerbal Foundries Wheels and Repulsors ALPHA (KerbalFoundries Beta_19.B)

Kerbal Inventory System (KIS 1.2.2)

Kerbal Joint Reinforcement (KerbalJointReinforcement v3.1.4)

Kerbal Stats (KerbalStats 2.0.0)

Kopernicus Planetary System Modifier (Kopernicus 1:beta-04)

KSI - Placement Services (KSIPlacementServices 0.1.7)

KSP AVC (KSP-AVC 1.1.5.0)

LightsOut (LightsOut 0.1.4)

Lithobrake Exploration Technologies (LithobrakeExplorationTechnologies 0.2.1)

MagiCore (MagiCore 1.0.0.0)

Menu Stabilizer (MenuStabilizer 1)

'MK1-2 Pod' IVA Replacement by ASET (MK12PodIVAReplacementbyASET 0.1.1)

Mk2 cockpit expansion (Mk2CockpitExpansion 1.2.5)

Mk3 Hypersonic Systems (Mk3HypersonicSystems 1.0.2.3)

Mk3 Mini Expansion Pack (Mk3MiniExpansionPack V1.2)

MK3 Pod IVA Replacement by Apex (MK3InternalsApex 0.1.1)

ModularFlightIntegrator (ModularFlightIntegrator 1.1.1)

Module Manager (ModuleManager 2.6.8)

ModuleRCSFX (ModuleRCSFX v4.2)

Navball Docking Alignment Indicator (NavballDockingIndicator 7)

Navball Up Default (NavballUpDefault V0.1)

NavHud (NavHud 1.2.1)

Near Future Electrical (NearFutureElectrical 0.5.3)

Near Future Electrical Core (NearFutureElectrical-Core 0.5.3)

Near Future Electrical Extras: Decaying RTGs Patch (NearFutureElectrical-DecayingRTGs 0.5.3)

Near Future IVA Props (NearFutureProps 0.4.3)

Near Future Propulsion (NearFuturePropulsion 0.5.3)

Near Future Propulsion Extras: Hydrogen NTR Configs (NearFuturePropulsionExtras 0.5.3)

Near Future Solar (NearFutureSolar 0.5.3)

Near Future Spacecraft Parts (NearFutureSpacecraft 0.4.3)

Olympic1's ARP Icons (Olympic1ARPIcons 0.6.0a)

OpenTree (OpenTree 2.3)

ORIGAME Foldable assets RT Dishes (origameFoldableAssets 0.5)

OSE Workshop (Workshop 0.10.2)

Part Commander (PartCommander 1.0.2.4)

PlanetShine (PlanetShine 0.2.3.1)

PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.3.1)

Portrait Stats (PortraitStats 6.0)

Precise Node (PreciseNode 1.1.3)

Procedural Fairings (ProceduralFairings v3.15)

Procedural Fairings - For Everything! (ProceduralFairings-ForEverything v0.1)

Procedural Parts (ProceduralParts v1.1.7)

Procedural Parts - MainSailor's Gamma Textures (GammaTextures v1.11)

Procedural Parts - Saturn / Nova Texture Pack (ProceduralParts-Textures-SaturnNova 1)

QuickBrake (QuickBrake v1.01)

QuickSearch (QuickSearch v1.13)

QuizTech Aero Pack (QuizTechAeroPack v1.2.9)

RasterPropMonitor (RasterPropMonitor v0.23.0)

RasterPropMonitor Core (RasterPropMonitor-Core v0.23.0)

RCS Build Aid (RCSBuildAid 0.7.2)

RCS Sounds (RCSSounds 4.3a)

RealChute Parachute Systems (RealChute 1.3.2.3)

Reflection Plugin for KSP (ReflectionPlugin 1.2)

RemoteTech (RemoteTech v1.6.8)

REPOSoftTech-Agencies (REPOSoftTech-Agencies V1.0.2.0)

Resource Details in Tracking Center (TCShipInfo 0.3)

Rover Wheel Sounds (RoverWheelSounds 1.2)

S.K.B. (Serious Kerbal Business) (SeriousKerbalBusiness 1.6)

SCANsat (SCANsat v14.2)

Science Revisited Revisited (ScienceRevisitedRevisited 1.3.1)

ScienceAlert (ScienceAlert 1.8.9)

ScreenMessageHider (ScreenMessageHider 1.1)

Ship Manifest (ShipManifest 4.4.1.1)

ShowAllFuels (ShowAllFuels 1)

SmokeScreen - Extended FX Plugin (SmokeScreen 2.6.9)

Solver Engines plugin (SolverEngines v1.11)

Sounding Rockets! (SoundingRockets 0.2.2)

Spacetux Shared Assets (SpacetuxSA 0.3.6)

StageRecovery (StageRecovery 1.5.7)

Station Science (StationScience 1.5)

Stock Bug Fix Modules (StockBugFixModules v1.0.4c.2)

Stockalike Station Parts Expansion (StationPartsExpansion 0.3.3)

Surface Lights (surfacelights 1.0)

TAC Fuel Balancer (TacFuelBalancer v2.5.1)

TAC Life Support (TACLS v0.11.1.20)

TAC Life Support (TACLS) - stock config (TACLS-Config-Stock v0.11.1.20)

Targetron (Targetron v1.4.2.1)

Tarsier Space Technology with Galaxies (TarsierSpaceTechnologyWithGalaxies 1:5.4.1)

Taurus HCV - 3.75 m Stock-ish Crew Pod (RandSCapsuledyne 1:1.5.3)

Thermometer (Thermometer 1.0.10)

ToadicusTools (ToadicusTools 15)

Toolbar (Toolbar 1.7.9)

Trajectories (Trajectories v1.4.3)

Transfer Window Planner (TransferWindowPlanner v1.3.1.0)

Tweakable Everything - Engine Staging Toggle (TweakableEverything-EngineStagingToggle 1.12)

Tweakable Everything - Fairing Staging Toggle (TweakableEverything-FairingStagingToggle 1.12)

TweakableEverything (TweakableEverything 1.12)

USI Kolonization Systems (MKS/OKS) (UKS 0.31.9)

USI Survival Pack (USI-SRV 0.3.1)

USI Tools (USITools 0.4.2)

Vanguard Technologies Core (VNG-Plugin 0.7.2)

Ven's Stock Part Revamp (VenStockRevamp v1.8.1)

Vessel Viewer (VesselView v0.71)

Water Sounds (WaterSounds 1.1)

Waypoint Manager (WaypointManager 2.4.2)

Sorry for the trouble

Link to comment
Share on other sites

so i got this and

Exception occured while attempt to generate contract of type 'EquatorialDunaOrbitalSat':System.ArgumentNullException: Argument cannot be null.

Parameter name: value

at System.String.Insert (Int32 startIndex, System.String value) [0x00000] in <filename unknown>:0

at Contracts.TextGen.ProcessTextReplacements (System.String src, Boolean wipeReplacements) [0x00000] in <filename unknown>:0

at Contracts.TextGen.GenerateBackStories (System.String agency, System.String mindset, System.String topic, System.String subject, System.String motivation, Int32 seed) [0x00000] in <filename unknown>:0

at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00000] in <filename unknown>:0

I`m guessing something`s up with one of my mods messing something up ... so here you go.

Groups Extended (AGExt 1.33a)

Adjustable Landing Gear (AdjustableLandingGear v1.2.0)

Advanced Jet Engine (AdvancedJetEngine 2.4.1)

Airlock (Airlock 1.0.1)

ALCOR (ALCOR 0.9.4)

ALCOR IVA Patch (ALCORIVAPatch 0.9.4)

Alternate Resource Panel (AlternateResourcePanel 2.7.3.0)

Animate Emissive Module (ModuleAnimateEmissive v1.11)

ASET Props (ASETProps 1.3)

Atmospheric Sound Enhancement (AtmosphericSoundEnhancement 2.2)

Atomic Age (AtomicAge 3.1.2)

B9 Aerospace Procedural Parts (B9AerospaceProceduralParts 0.40)

BahamutoD Animation Modules (BDAnimationModules v0.6.2)

Better Buoyancy (BetterBuoyancy v1.4)

blackheart612's KW Procedural Fairings (ProceduralFairings-Textures-KW 0)

blackheart612's KW Procedural Fairings KSLO (ProceduralFairings-Textures-KSLO 0)

blackheart612's KW Procedural Fairings Textures (ProceduralFairings-Textures-TJCCA 0)

blackheart612's Procedural Part Textures (ProceduralParts-Textures-SCCKSCS 0)

BZ-1 Radial Attachment Point (BZ1RadialAttachmentPoint 1.0.0)

CapCom - Mission Control On The Go (CapCom 1.2)

Champagne Bottle "Lafitte" (ChampagneBottleLafitte 2)

Chatterer (Chatterer 0.9.6)

Coherent Contracts (CoherentContracts 1.02)

Collision FX (CollisionFX 3.2)

Command Inventory (CommandInventory 1.0.0)

Community Resource Pack (CommunityResourcePack 0.4.4)

Community Tech Tree (CommunityTechTree 2.1)

Connected Living Space (ConnectedLivingSpace 1.1.3.1)

Contract Configurator (ContractConfigurator 1.7.5)

Contract Pack: Advanced Progression (ContractConfigurator-AdvancedProgression 4.5)

Contract Pack: Anomaly Surveyor (ContractConfigurator-AnomalySurveyor 1.4.2)

Contract Pack: Base Construction (ContractConfigurator-BaseConstuction 0.2.3)

Contract Pack: RemoteTech (ContractConfigurator-RemoteTech 2.0.01)

Contract Pack: Rover Missions by Whyren (ContractConfigurator-RoverMissionsbyWhyren 3)

Contract Pack: SCANSat (ContractConfigurator-ContractPack-SCANsat v0.5.2.1)

Contract Pack: Tourism Plus (ContractConfigurator-Tourism 1.2.0)

Contract Pack: Unmanned Contracts (ContractConfigurator-UnmannedContracts 0.3.10)

Contract Pack: Useful Space Stations (ContractConfigurator-UsefulSpaceStations 1.1.1)

Contract Window + (ContractsWindowPlus 5.3)

ContractPack: Kerbal Aircraft Builders (ContractConfigurator-KerbalAircraftBuilders 1.1)

Crossfeed Enabler (CrossFeedEnabler v3.3)

Cryogenic Engines (CryoEngines 1:0.1.10)

Dated QuickSaves (DatedQuickSaves 1.1.0)

DeepFreeze Continued... (DeepFreeze V0.18.2.1)

Distant Object Enhancement (DistantObject v1.6.1)

Distant Object Enhancement default config (DistantObject-default v1.6.1)

DMagic Orbital Science (DMagicOrbitalScience 1.0.8)

Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.2.0)

Docking Sounds (DockingSounds 1.2)

DSD Mobile Processing Labs (DSDMobileProcessingLabs 1.0.0)

Editor Extensions (EditorExtensions 2.12)

Engine Lighting (EngineLighting 1.4.0)

EngineResponseTime (EngineResponseTime 1.0.5)

Enhanced Navball (EnhancedNavBall 1.3.6.0)

EPL part hider for MKS (EPL-MKS 1.0)

ERS (ERS 0.2.3)

EVA Enhancements (EVAEnhancements 1.0.0)

EVA Parachutes (VNG-Parachute 1.2)

EVA Parachutes by default (VNG-Parachute-EVALoading 1.0)

EVAManager (EVAManager 6)

Extraplanetary Launchpads (ExtraPlanetaryLaunchpads 5.2.2)

FASA Launch Clamps and Towers (FASALaunchClamps 5.34)

Ferram Aerospace Research (FerramAerospaceResearch 3:0.15.5.1)

Field Experience (FieldExperience 1.0.2)

Filter Extensions - Default Configuration (FilterExtensionsDefaultConfig 2.4.1)

Filter Extensions - Plugin (FilterExtensions 2.4.1)

Final Frontier (FinalFrontier 0.8.6-1370)

Firespitter Core (FirespitterCore v7.1.4)

Fusebox (Fusebox 1.51)

G-Effects (G-Effects 0.2.2)

Graphic Memory Monitor (GCMonitor 1.2.6)

Haystack Continued (HaystackContinued 0.4.1.0)

Heat Management (HeatManagement 0.26)

Heat Shield for the Mk1 Command Pod (HeatShieldfortheMk1CommandPod 1.1)

Historian (Historian 1.1.1)

HotRockets (HotRockets 1.0.4.1)

HotRockets - Community Configs (HotRocketsCommunityConfigs 7.25)

Hullcam VDS (HullcamVDS 0.50)

Impact! (Impact v1.2.0)

Interstellar Fuel Switch Core (InterstellarFuelSwitch-Core 1.17)

JebediahKerman42's Procedural Parts Textures a.k.a. FreedomTex (FreedomTex 1.5.1)

JSIPartUtilities (JSIPartUtilities v0.3)

Karibou Expedition Rover (KaribouExpeditionRover 0.0.4)

Kerbal Alarm Clock (KerbalAlarmClock v3.4.0.0)

Kerbal Attachment System (KAS 0.5.4)

Kerbal Construction Time (KerbalConstructionTime 1.2.2)

Kerbal Engineer Redux (KerbalEngineerRedux 1.0.18.0)

Kerbal Foundries Wheels and Repulsors ALPHA (KerbalFoundries Beta_19.B)

Kerbal Inventory System (KIS 1.2.2)

Kerbal Joint Reinforcement (KerbalJointReinforcement v3.1.4)

Kerbal Stats (KerbalStats 2.0.0)

Kopernicus Planetary System Modifier (Kopernicus 1:beta-04)

KSI - Placement Services (KSIPlacementServices 0.1.7)

KSP AVC (KSP-AVC 1.1.5.0)

LightsOut (LightsOut 0.1.4)

Lithobrake Exploration Technologies (LithobrakeExplorationTechnologies 0.2.1)

MagiCore (MagiCore 1.0.0.0)

Menu Stabilizer (MenuStabilizer 1)

'MK1-2 Pod' IVA Replacement by ASET (MK12PodIVAReplacementbyASET 0.1.1)

Mk2 cockpit expansion (Mk2CockpitExpansion 1.2.5)

Mk3 Hypersonic Systems (Mk3HypersonicSystems 1.0.2.3)

Mk3 Mini Expansion Pack (Mk3MiniExpansionPack V1.2)

MK3 Pod IVA Replacement by Apex (MK3InternalsApex 0.1.1)

ModularFlightIntegrator (ModularFlightIntegrator 1.1.1)

Module Manager (ModuleManager 2.6.8)

ModuleRCSFX (ModuleRCSFX v4.2)

Navball Docking Alignment Indicator (NavballDockingIndicator 7)

Navball Up Default (NavballUpDefault V0.1)

NavHud (NavHud 1.2.1)

Near Future Electrical (NearFutureElectrical 0.5.3)

Near Future Electrical Core (NearFutureElectrical-Core 0.5.3)

Near Future Electrical Extras: Decaying RTGs Patch (NearFutureElectrical-DecayingRTGs 0.5.3)

Near Future IVA Props (NearFutureProps 0.4.3)

Near Future Propulsion (NearFuturePropulsion 0.5.3)

Near Future Propulsion Extras: Hydrogen NTR Configs (NearFuturePropulsionExtras 0.5.3)

Near Future Solar (NearFutureSolar 0.5.3)

Near Future Spacecraft Parts (NearFutureSpacecraft 0.4.3)

Olympic1's ARP Icons (Olympic1ARPIcons 0.6.0a)

OpenTree (OpenTree 2.3)

ORIGAME Foldable assets RT Dishes (origameFoldableAssets 0.5)

OSE Workshop (Workshop 0.10.2)

Part Commander (PartCommander 1.0.2.4)

PlanetShine (PlanetShine 0.2.3.1)

PlanetShine - Default configuration (PlanetShine-Config-Default 0.2.3.1)

Portrait Stats (PortraitStats 6.0)

Precise Node (PreciseNode 1.1.3)

Procedural Fairings (ProceduralFairings v3.15)

Procedural Fairings - For Everything! (ProceduralFairings-ForEverything v0.1)

Procedural Parts (ProceduralParts v1.1.7)

Procedural Parts - MainSailor's Gamma Textures (GammaTextures v1.11)

Procedural Parts - Saturn / Nova Texture Pack (ProceduralParts-Textures-SaturnNova 1)

QuickBrake (QuickBrake v1.01)

QuickSearch (QuickSearch v1.13)

QuizTech Aero Pack (QuizTechAeroPack v1.2.9)

RasterPropMonitor (RasterPropMonitor v0.23.0)

RasterPropMonitor Core (RasterPropMonitor-Core v0.23.0)

RCS Build Aid (RCSBuildAid 0.7.2)

RCS Sounds (RCSSounds 4.3a)

RealChute Parachute Systems (RealChute 1.3.2.3)

Reflection Plugin for KSP (ReflectionPlugin 1.2)

RemoteTech (RemoteTech v1.6.8)

REPOSoftTech-Agencies (REPOSoftTech-Agencies V1.0.2.0)

Resource Details in Tracking Center (TCShipInfo 0.3)

Rover Wheel Sounds (RoverWheelSounds 1.2)

S.K.B. (Serious Kerbal Business) (SeriousKerbalBusiness 1.6)

SCANsat (SCANsat v14.2)

Science Revisited Revisited (ScienceRevisitedRevisited 1.3.1)

ScienceAlert (ScienceAlert 1.8.9)

ScreenMessageHider (ScreenMessageHider 1.1)

Ship Manifest (ShipManifest 4.4.1.1)

ShowAllFuels (ShowAllFuels 1)

SmokeScreen - Extended FX Plugin (SmokeScreen 2.6.9)

Solver Engines plugin (SolverEngines v1.11)

Sounding Rockets! (SoundingRockets 0.2.2)

Spacetux Shared Assets (SpacetuxSA 0.3.6)

StageRecovery (StageRecovery 1.5.7)

Station Science (StationScience 1.5)

Stock Bug Fix Modules (StockBugFixModules v1.0.4c.2)

Stockalike Station Parts Expansion (StationPartsExpansion 0.3.3)

Surface Lights (surfacelights 1.0)

TAC Fuel Balancer (TacFuelBalancer v2.5.1)

TAC Life Support (TACLS v0.11.1.20)

TAC Life Support (TACLS) - stock config (TACLS-Config-Stock v0.11.1.20)

Targetron (Targetron v1.4.2.1)

Tarsier Space Technology with Galaxies (TarsierSpaceTechnologyWithGalaxies 1:5.4.1)

Taurus HCV - 3.75 m Stock-ish Crew Pod (RandSCapsuledyne 1:1.5.3)

Thermometer (Thermometer 1.0.10)

ToadicusTools (ToadicusTools 15)

Toolbar (Toolbar 1.7.9)

Trajectories (Trajectories v1.4.3)

Transfer Window Planner (TransferWindowPlanner v1.3.1.0)

Tweakable Everything - Engine Staging Toggle (TweakableEverything-EngineStagingToggle 1.12)

Tweakable Everything - Fairing Staging Toggle (TweakableEverything-FairingStagingToggle 1.12)

TweakableEverything (TweakableEverything 1.12)

USI Kolonization Systems (MKS/OKS) (UKS 0.31.9)

USI Survival Pack (USI-SRV 0.3.1)

USI Tools (USITools 0.4.2)

Vanguard Technologies Core (VNG-Plugin 0.7.2)

Ven's Stock Part Revamp (VenStockRevamp v1.8.1)

Vessel Viewer (VesselView v0.71)

Water Sounds (WaterSounds 1.1)

Waypoint Manager (WaypointManager 2.4.2)

Sorry for the trouble

Looks like a small bug in the text generation code - can you try the dev dll? I believe that should fix it.

Link to comment
Share on other sites

I'm trying to create a contract that requires you to reach a certain orbit, hold that orbit for a certain amount of time, then change your orbit and hold the new orbit for a certain amount of time. To do that, I setup an Orbit parameter (name = Orbit) with the first set of requirements followed by a Duration parameter (name = Duration) with the first timer. Then I have a second Orbit parameter (name = Orbit2) followed by a second Duration parameter (name = Duration2). The first orbit parameter and duration timer works perfectly. And the second orbit parameter works. But I'm running into a problem with the second Duration parameter. It works but only so long as you do not leave the active vessel. If you leave (including by loading a savegame) the second duration gets reset back to it's starting value. Am I setting up the parameters incorrectly?

Link to comment
Share on other sites

I'm trying to create a contract that requires you to reach a certain orbit, hold that orbit for a certain amount of time, then change your orbit and hold the new orbit for a certain amount of time. To do that, I setup an Orbit parameter (name = Orbit) with the first set of requirements followed by a Duration parameter (name = Duration) with the first timer. Then I have a second Orbit parameter (name = Orbit2) followed by a second Duration parameter (name = Duration2). The first orbit parameter and duration timer works perfectly. And the second orbit parameter works. But I'm running into a problem with the second Duration parameter. It works but only so long as you do not leave the active vessel. If you leave (including by loading a savegame) the second duration gets reset back to it's starting value. Am I setting up the parameters incorrectly?

Are you wrapping the whole thing in a VesselParameterGroup? That's what allows for tracking of parameter state across non-active vessels. Otherwise, post up the config and I'll take a closer look.

Link to comment
Share on other sites

chrisl - I realized that this was an RP-0 question, so I found the contract that was causing the issue and did some testing with it. There was a bug where the state of the timer could get reset if there was lots of parameters and a scene change or vessel change. I've fixed the bug for 1.7.6.

In future you may want to mention that it's RP-0 (or better yet, link to the contract in question in GitHub). It'll help me investigate much quicker. :)

Link to comment
Share on other sites

My game told me to post this here:

Exception occured while loading contract parameter 'PartValidation' in contract 'MunStationCore':
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: 'cupola' is not a valid Part.
at ContractConfigurator.ConfigNodeUtil.ParsePartValue (System.String partName) [0x00000] in <filename unknown>:0
at ContractConfigurator.ConfigNodeUtil.ParseSingleValue[AvailablePart] (System.String key, System.String stringValue, Boolean allowExpression) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
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
--- End of inner exception stack trace ---
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.ConfigNodeUtil.ParseValue[List`1] (.ConfigNode configNode, System.String key, Boolean allowExpression) [0x00000] in <filename unknown>:0

I updated a couple of mods and now things have broken severely.. Trying to find the culprit, but it seems like the game can't find any parts, even stock ones (like the PotatoRoid). EDIT: Either CollisionFX or BOMPs, just in case you were interested. Probably the former.

Edited by ObsessedWithKSP
Link to comment
Share on other sites

chrisl - I realized that this was an RP-0 question, so I found the contract that was causing the issue and did some testing with it. There was a bug where the state of the timer could get reset if there was lots of parameters and a scene change or vessel change. I've fixed the bug for 1.7.6.

In future you may want to mention that it's RP-0 (or better yet, link to the contract in question in GitHub). It'll help me investigate much quicker. :)

Thanks for the fast response and I'll remember that for next time. :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...