nightingale

[1.6.x+] Contract Configurator [v1.27.1] [2018-12-28]

Recommended Posts

@Tossy64 & @severedsolo that's an upgrade problem from something that got removed.  I'll write up something that just auto-cancels the contract (best I can offer in this instance).

@AccidentalDisassembly - I don't think GAP is actually the problem though (that's just what's exposing it in Contract Configurator.  I'm hoping once you clear up those other issues that it should be resolved.

@crapstar - That is now fixed for the next release.

@Warezcrawler - That error is 100% stock.  If I had to guess it happened because a part changed in some way (got renamed or removed).  Could be stock or from a  mod.

---

I'm pretty much out of time until sometime tomorrow, so releasing this to fix the couple breaking issues that have been identified.  Download here.

Contract Configurator 1.11.3

  • Revert additional check added in 1.11.0 that broke PartModuleTypeUnlocked (thanks KnotaiG).
  • Work around upgrade issue with ReachSpecificOrbit (thansk Tossy64).
Edited by nightingale

Share this post


Link to post
Share on other sites

I recommend that you set this: 

"KSP_VERSION_MAX":{
  "MAJOR":1,
  "MINOR":1,
  "PATCH":2

to this:

"KSP_VERSION_MAX":{
  "MAJOR":1,
  "MINOR":2,
  "PATCH":0

 

in anticipation of future patches.

Share this post


Link to post
Share on other sites
1 hour ago, inigma said:

I recommend that you set this: 

"KSP_VERSION_MAX":{
  "MAJOR":1,
  "MINOR":1,
  "PATCH":2

to this:

"KSP_VERSION_MAX":{
  "MAJOR":1,
  "MINOR":2,
  "PATCH":0

 

in anticipation of future patches.

That would be inadvisable.  KSP 1.2.0 is probably guaranteed to break Contract Configurator.  You may have mean 1.1.99 (or something along those lines).  But that's also inadvisable.  Looking back we have:

KSP releases that broke Contract Configurator:

  • 0.25
  • 0.90
  • 1.0
  • 1.0.1
  • 1.0.2
  • 1.0.3 (yup, the one that came 2 days after 1.0.2)
  • 1.0.4
  • 1.0.5
  • 1.1

KSP releases that didn't break Contract Configurator:

  • 1.1.1
  • 1.0.5 ultra secret patch

Contract Configurator is a huge mod in terms of the KSP footprint...  so it's really rare to get a KSP release that doesn't break Contract Configurator in even a small way.  So I'd rather be the one to certify when it's ready on a new KSP version.

Share this post


Link to post
Share on other sites

Makes sense. No worries on the AVC thing.

I have however discovered a bug in CC not counting CommandSeats  (GAP 1.2.4, CC 1.11.3, KSP 1.1.2): https://github.com/jrossignol/ContractConfigurator/issues/505

 

Savegame:

https://www.dropbox.com/s/mn7vfadcri9rqn9/CoastGuard-Certification.cfg?dl=0

 

Code:

        PARAMETER
        {
            name = HasCrewCapacity
            type = HasCrewCapacity
            title = have at least 1 passenger seat
            
            minCapacity = 2
            
            disableOnStateChange = false
            
        }

JbGSUWB.png

 

Just confirmed by removing all those fancy mods in the screenshot. CC, MM, and GAP only. Still not working.

 

 

Nothing appears in log indicating issue:

[LOG 15:58:07.713] Launching vessel from Runway. Craft file: C:\Users\Administrator\Documents\KSP\KSP_win_DEV\saves\Development\Ships\SPH\Auto-Saved Ship.craft
[LOG 15:58:07.713] Flight State Captured
[LOG 15:58:07.719] Saving Achievements Tree...
[LOG 15:58:07.719] Saving Achievements Tree...
[LOG 15:58:07.721] [MessageSystem] Save Messages
[LOG 15:58:07.737] Game State Saved to saves/Development/persistent
[LOG 15:58:07.740] UIMasterController: HideUI
[WRN 15:58:07.743] [HighLogic]: =========================== Scene Change : From SPACECENTER to FLIGHT (Async) =====================
[LOG 15:58:08.117] ScaleModList: listSize 41 maxListSize 1713
[LOG 15:58:08.221] [UIApp] OnDestroy: ContractsApp
[LOG 15:58:08.221] ScaleModList: listSize 41 maxListSize 1713
[LOG 15:58:08.222] [UIApp] OnDestroy: KSPedia
[LOG 15:58:08.223] ScaleModList: listSize 41 maxListSize 1713
[LOG 15:58:08.368] AddonLoader: Instantiating addon 'TitleTrackerHelper' from assembly 'ContractConfigurator'
[LOG 15:58:08.369] UIMasterController: HideUI
[WRN 15:58:09.186] The referenced script on this Behaviour is missing!
[WRN 15:58:09.187] The referenced script on this Behaviour is missing!
[WRN 15:58:09.420] [UiApp] Awake: ResourceDisplay
[LOG 15:58:09.421] UICanvasPrefabSpawner FlightUI spawning Flight
[LOG 15:58:09.567] AddonLoader: Instantiating addon 'NavWaypoint' from assembly 'KSP'
[LOG 15:58:09.572] AddonLoader: Instantiating addon 'AeroGUI' from assembly 'KSP'
[LOG 15:58:09.576] AddonLoader: Instantiating addon 'TitleTrackerHelper' from assembly 'ContractConfigurator'
[LOG 15:58:09.576] UIMasterController: HideUI
[LOG 15:58:09.577] [PlanetariumCamera]: Focus: Kerbin
[LOG 15:58:09.605] ------------------- initializing flight mode... ------------------
[LOG 15:58:09.630] [MessageSystem] Save Messages
[LOG 15:58:09.633] Loading ship from file: C:\Users\Administrator\Documents\KSP\KSP_win_DEV\saves\Development\Ships\SPH\Auto-Saved Ship.craft
[WRN 15:58:09.655] [Part]: PartModule TransferDialogSpawner at Mark2Cockpit, index 7: index exceeds module count as defined in cfg.
Looking for TransferDialogSpawner in other indices...
[WRN 15:58:09.656] ...no TransferDialogSpawner module found on part definition. Skipping...
[LOG 15:58:09.800] Dove loaded!
[LOG 15:58:10.675] Putting to ground, manually-defined ground offset: 1.15
[LOG 15:58:10.676] Putting to ground, manually-defined ground offset: 1.15
[LOG 15:58:10.676] Putting to ground, manually-defined ground offset: 1.15
[LOG 15:58:10.677] putting ship to ground: 7.511275
[LOG 15:58:10.681] [Dove]: Ready to Launch - waiting to start physics...
[LOG 15:58:10.687] Crewmember Jebediah Kerman assigned to Mk1 Inline Cockpit, seat # 0 (crew seat index: 0)
[LOG 15:58:10.688] [FLIGHT GLOBALS]: Switching To Vessel Dove ---------------------- 
[LOG 15:58:10.689] setting new dominant body: Kerbin
FlightGlobals.mainBody: Kerbin
[LOG 15:58:10.691] Reference Frame: Rotating
[LOG 15:58:10.716] Vessel assembly complete!
[LOG 15:58:10.716] all systems started
[LOG 15:58:10.773] [FlightIntegrator]: Reloaded drag cube for zeroed cube root part Mark2Cockpit on vessel Dove
[LOG 15:58:10.817] Look rotation viewing vector is zero
[LOG 15:58:11.159] [ScenarioDestructibles]: Loading... 0 objects registered
[LOG 15:58:11.160] [ScenarioUpgradeableFacilities]: Loading... 0 objects registered
[LOG 15:58:11.189] [DEBUG] ContractConfigurator.ContractDisabler: Disabling contract types...
[LOG 15:58:11.190] [INFO] ContractConfigurator.ContractDisabler: Disabled 0 ContractTypes.
[ERR 15:58:11.235] Cannot find a Module of typename 'HoloDeck'

[ERR 15:58:11.236] ScenarioModule is null.

[ERR 15:58:11.236] Cannot find a Module of typename 'CustomWaypoints'

[ERR 15:58:11.236] ScenarioModule is null.

[LOG 15:58:11.237] Loading Depletion Nodes
[LOG 15:58:11.237] DepNodeCount:  0
[LOG 15:58:11.238] Loading Biome Nodes
[LOG 15:58:11.238] BiomeNodeCount:  0
[LOG 15:58:11.238] Loading Planet Nodes
[LOG 15:58:11.239] PlanetNodeCount:  0
[WRN 15:58:11.240] [UiApp] Awake: CurrencyWidgetsApp
[WRN 15:58:11.240] [UiApp] Awake: ContractsApp
[WRN 15:58:11.241] [UiApp] Awake: ResourceDisplay
[WRN 15:58:11.241] [UiApp] Awake: KSPedia
[LOG 15:58:11.242] [ApplicationLauncher] OnSceneLoadedGUIReady: scene FLIGHT ShouldBeVisible() True ShouldBeOnTop() True iIsPositionedAtTop False
[LOG 15:58:11.242] [ApplicationLauncher] SpawnSimpleLayout: VerticalTopDown
[WRN 15:58:11.244] [KnowledgeBase] OnAppLauncherReady 11793
[LOG 15:58:11.259] Look rotation viewing vector is zero
[LOG 15:58:11.261] ScaleModList: listSize 41 maxListSize 879
[LOG 15:58:11.262] ScaleModList: listSize 82 maxListSize 870
[LOG 15:58:11.262] ScaleModList: listSize 41 maxListSize 870
[LOG 15:58:11.288] [FlightIntegrator]: Vessel Dove has been unloaded 1.79769313486232E+308, applying analytic temperature 312.399299545607
[LOG 15:58:11.365] [MessageSystem] Reposition 0.02 11794
[LOG 15:58:11.472] [PlanetariumCamera]: Focus: Dove
[LOG 15:58:11.495] [UIApp] Adding ResourceDisplay to Application Launcher
[LOG 15:58:11.496] ScaleModList: listSize 41 maxListSize 829
[LOG 15:58:11.496] [UIApp] Adding ResourceDisplay to Application Launcher
[LOG 15:58:11.497] ScaleModList: listSize 41 maxListSize 788
[WRN 15:58:11.510] [ResourceDisplay] OnAppStarted(): id: -222584
[LOG 15:58:11.511] [GenericAppFrame] Reposition 0.1398905 11798
[LOG 15:58:11.512] [UIApp] Adding ContractsApp to Application Launcher
[LOG 15:58:11.513] ScaleModList: listSize 41 maxListSize 747
[WRN 15:58:11.513] [ResourceDisplay] OnAppStarted(): id: 109420
[LOG 15:58:11.514] ResourceDisplay already exist, destroying this instance
[LOG 15:58:11.514] [UIApp] OnDestroy: ResourceDisplay
[LOG 15:58:11.515] ScaleModList: listSize 41 maxListSize 747
[LOG 15:58:11.543] [GenericAppFrame] Reposition 0.1650883 11799
[LOG 15:58:11.547] CURRENCY WIDGET True True True
[LOG 15:58:11.547] [UIApp] Adding CurrencyWidgetsApp to Application Launcher
[LOG 15:58:11.548] ScaleModList: listSize 41 maxListSize 747
[LOG 15:58:11.562] [UIApp] Adding KSPedia to Application Launcher

Edited by inigma

Share this post


Link to post
Share on other sites
19 minutes ago, inigma said:

[ERR 15:58:11.235] Cannot find a Module of typename 'HoloDeck'

[ERR 15:58:11.236] ScenarioModule is null.

[ERR 15:58:11.236] Cannot find a Module of typename 'CustomWaypoints'

[ERR 15:58:11.236] ScenarioModule is null.

Yup it does :wink:

Share this post


Link to post
Share on other sites
1 hour ago, AlphaAsh said:

Yup it does :wink:

Those are savegame artifacts unrelated to CC. The Holodeck mod is not installed.

Edited by inigma

Share this post


Link to post
Share on other sites
5 hours ago, inigma said:

Those are savegame artifacts unrelated to CC. The Holodeck mod is not installed.

Was it not always like this, with the exception of when TakeCommand is installed?

Edited by nightingale

Share this post


Link to post
Share on other sites
9 minutes ago, nightingale said:

@DMagic (forum terrible on mobile and won't let me delete your name, DMagic)

 

Was it not always like this, with the exception of when TakeCommand is installed?

Even with TC installed the artifact appears. But I can duplicate the issue in a new save too (which does not have the holodeck artifacts in the logs). Did CC lose its ability to count command seats in the parameter? 

Share this post


Link to post
Share on other sites
1 minute ago, inigma said:

Even with TC installed the artifact appears. But I can duplicate the issue in a new save too (which does not have the holodeck artifacts in the logs). Did CC lose its ability to count command seats in the parameter? 

To be honest I think it's just looking at a field/method provided by stock, do can't really say for sure without doing some digging (which I'll do when I can tonight or tomorrow).

Share this post


Link to post
Share on other sites
4 hours ago, nightingale said:

To be honest I think it's just looking at a field/method provided by stock, do can't really say for sure without doing some digging (which I'll do when I can tonight or tomorrow).

Checked, and all Contract Configurator does here is tally up the part.CrewCapacity values.  For a stock command seat that will be zero (and as far as I can tell always has been).  If TakeCommand isn't setting that value when it adds itself then I'd take the issue over there.

Share this post


Link to post
Share on other sites

@nightingale Exception Detector is throwing this about every 10 seconds.  Is this possibly related to a contract pack that hasn't been updated to use the CC version?

Spoiler

NullReferenceException: Object reference not set to an instance of an object
  at ContractConfigurator.PartModuleUnlockedRequirement.RequirementMet (ContractConfigurator.ConfiguredContract contract) [0x00000] in <filename unknown>:0
  at ContractConfigurator.ContractRequirement.CheckRequirement (ContractConfigurator.ConfiguredContract contract) [0x00000] in <filename unknown>:0
  at ContractConfigurator.ContractRequirement.RequirementsMet (ContractConfigurator.ConfiguredContract contract, ContractConfigurator.ContractType contractType, IEnumerable`1 contractRequirements) [0x00000] in <filename unknown>:0 
Rethrow as Exception: ContractConfigurator: Exception checking requirements!

UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.ContractRequirement:RequirementsMet(ConfiguredContract, ContractType, IEnumerable`1)
ContractConfigurator.ContractType:MeetExtendedRequirements(ConfiguredContract, ContractType)
ContractConfigurator.<ContractGenerator>d__26:MoveNext()
ContractConfigurator.<ContractGenerator>d__25:MoveNext()
ContractConfigurator.ContractPreLoader:Update()

Thanks for all the work you do on keeping this updated!

Share this post


Link to post
Share on other sites
18 minutes ago, rasta013 said:

@nightingale Exception Detector is throwing this about every 10 seconds.  Is this possibly related to a contract pack that hasn't been updated to use the CC version?

  Reveal hidden contents

NullReferenceException: Object reference not set to an instance of an object
  at ContractConfigurator.PartModuleUnlockedRequirement.RequirementMet (ContractConfigurator.ConfiguredContract contract) [0x00000] in <filename unknown>:0
  at ContractConfigurator.ContractRequirement.CheckRequirement (ContractConfigurator.ConfiguredContract contract) [0x00000] in <filename unknown>:0
  at ContractConfigurator.ContractRequirement.RequirementsMet (ContractConfigurator.ConfiguredContract contract, ContractConfigurator.ContractType contractType, IEnumerable`1 contractRequirements) [0x00000] in <filename unknown>:0 
Rethrow as Exception: ContractConfigurator: Exception checking requirements!

UnityEngine.Debug:Internal_LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ContractConfigurator.LoggingUtil:LogException(Exception)
ContractConfigurator.ContractRequirement:RequirementsMet(ConfiguredContract, ContractType, IEnumerable`1)
ContractConfigurator.ContractType:MeetExtendedRequirements(ConfiguredContract, ContractType)
ContractConfigurator.<ContractGenerator>d__26:MoveNext()
ContractConfigurator.<ContractGenerator>d__25:MoveNext()
ContractConfigurator.ContractPreLoader:Update()

Thanks for all the work you do on keeping this updated!

Can you post a KSP.log

Share this post


Link to post
Share on other sites
19 minutes ago, nightingale said:

Can you post a KSP.log

Yup.  Here's a link to both for you in case you need them.  These were generated on a restart so as to avoid the humongous file size that had generated before.  Same errors though...

Here's the output_log

Here's the KSP.log

Let me know if there's anything else I can do to help!

Share this post


Link to post
Share on other sites
4 hours ago, rasta013 said:

Yup.  Here's a link to both for you in case you need them.  These were generated on a restart so as to avoid the humongous file size that had generated before.  Same errors though...

Here's the output_log

Here's the KSP.log

Let me know if there's anything else I can do to help!

This looks like the exact same problem that @AccidentalDisassembly was having, and I see a whole ton of errors in your log as well.  Could you update/remove the mods that aren't confirmed as working in 1.1.2?  The ones that I see suspicious errors for are:

  • MKS
  • Orion Pulse Drive
  • Wild Blue Industries
  • AntennaRange

I'll continue to see if I can fix something in Contract Configurator, but I believe that one of those mods is actually the root cause.

---

And on another note - congrats to @Syntax for releasing his new contract pack, Interplanetary Mountaineer!  Explore the high and low points throughout the solar system!

Share this post


Link to post
Share on other sites
7 minutes ago, *MajorTom* said:

https://dropmefiles.com/cDmwH log file

Exception every 3-5 sec. What could it be? Something with some contract or whether it is a problem of the configurator?

screen:

 

This is the same error I'm getting but I'm trying to isolate what is causing it.  Decent possibility this is mod related and outside of CC but I've yet to figure out which one is causing it grief.  That said, I've got 160+ mods and not all of them have come up to 1.1.2 yet.  If you're going to help figure this one out start by making sure everything you've got is updated to 1.1.2 if it can be then start working through the ones that aren't.  I'm still going through mine that are 1.1.0 and working fine but could still be the culprit and will be moving into my 1.1.1 mods here soon.

Share this post


Link to post
Share on other sites

Hello,

Just curious, what release of RemoteTech is this version compiled against?

I just want to be sure I download the right Dev version of RemoteTech.

 

Thank you!

Share this post


Link to post
Share on other sites
8 minutes ago, mtpatane said:

Hello,

Just curious, what release of RemoteTech is this version compiled against?

I just want to be sure I download the right Dev version of RemoteTech.

One of the dev versions - I don't remember which one.  Unless something broke again, the expectation is that the latest will work.

Share this post


Link to post
Share on other sites

Woah, I found a hiccup. Pretty sure it's from the KerbinSide GAP Pack.

Exception occured while saving contract parameter 'RecoverKerbal' in contract 'KerbinSideJobs.VIKRecruit':
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[System.String,System.Boolean].get_Item (System.String key) [0x00000] in <filename unknown>:0 
  at ContractConfigurator.Parameters.RecoverKerbalCustom.OnParameterSave (.ConfigNode node) [0x00000] in <filename unknown>:0 
  at ContractConfigurator.Parameters.ContractConfiguratorParameter.OnSave (.ConfigNode node) [0x00000] in <filename unknown>:0 

Share this post


Link to post
Share on other sites

@rasta013, @AccidentalDisassembly, @MajorTom - I took another look, and although I still think you've got some other mod that needs updating to 1.1.2, I've done the following:

  • Fixed one more spot that could be the one throwing the exception
  • Added a ton of debug

So if one of you doesn't mind grabbing the dev dll, and telling me:

  1. If it fixes this particular exception
  2. If not, please provide the log file

Share this post


Link to post
Share on other sites

@nightingaleYeah I spent a good deal of time last night pulling out mods that haven't gone to 1.1.2 yet in an effort to figure out what's going on but didn't finish going through all of them yet.  I've grabbed the .dll and will give this a run right now.  I need logs for a different problem I'm trying to track down so will have those posted shortly anyway.  Will update as soon as I've tested this out and provide links to the logs if necessary.

Edited by rasta013

Share this post


Link to post
Share on other sites

@nightingale Ok.  Wanted to post this and give some info because this was weird to say the very least and the new DLL blew me up...

Spoiler

[LOG 12:24:35.557] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:35.557] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:35.586] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:35.587] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:36.040] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:36.040] PartModuleUnlockedRequirement.OnLoad

[LOG 12:24:36.114] 5/2/2016 12:24:36 PM,KerbalAlarmClock,Contracts System Ready

[LOG 12:24:36.117] Contracts Loaded

[LOG 12:24:36.131] Strategia: Setting up Kerbal Experience

[LOG 12:24:36.134] CurrencyOperationRandomized.OnLoadFromConfig

[LOG 12:24:36.137] CurrencyOperationRandomized.OnLoadFromConfig

[LOG 12:24:36.137] CurrencyOperationRandomized.OnLoadFromConfig

[LOG 12:24:36.145] Strategia: Setting up Media Star Experience

[LOG 12:24:36.156] [MessageSystem] Reposition 0.02 47156

[LOG 12:24:36.360] [INFO] ContractConfigurator.ContractConfigurator: Finished Adjusting ContractTypes

[LOG 12:24:36.382] PartModuleUnlockedRequirement.RequirementMet

[LOG 12:24:36.383]     partModules = System.Collections.Generic.List`1[System.String]

[LOG 12:24:36.383]     partModule = ModuleWheelBase

[LOG 12:24:36.384]     PartLoader.Instance = PartLoader (PartLoader)

[LOG 12:24:36.384]     PartLoader.Instance.parts = System.Collections.Generic.List`1[AvailablePart]

[LOG 12:24:36.385]         p = AvailablePart

[LOG 12:24:36.385]         p.partPrefab = kerbalEVA_RD (Part)

[LOG 12:24:36.386]         p.partPrefab.Modules = PartModuleList

[LOG 12:24:36.386]         p = AvailablePart

[LOG 12:24:36.387]         p.partPrefab = kerbalEVA_female (Part)

[LOG 12:24:36.387]         p.partPrefab.Modules = PartModuleList

[LOG 12:24:36.388]             pm = kerbalEVA_female (KerbalEVA)

[LOG 12:24:36.388]             pm = kerbalEVA_female (ModuleScienceExperiment)

[LOG 12:24:36.389]             pm = kerbalEVA_female (ModuleScienceExperiment)

[LOG 12:24:36.389]             pm = kerbalEVA_female (ModuleScienceContainer)

[LOG 12:24:36.390]             pm = kerbalEVA_female (FlagDecal)

[LOG 12:24:36.390]             pm = kerbalEVA_female (ModuleTripLogger)

[LOG 12:24:36.391]             pm = kerbalEVA_female (KIS.ModuleKISInventory)

[LOG 12:24:36.391]             pm = kerbalEVA_female (KIS.ModuleKISPickup)

[LOG 12:24:36.392]         p = AvailablePart

[LOG 12:24:36.392]         p.partPrefab = flag (Part)

[LOG 12:24:36.393]         p.partPrefab.Modules = PartModuleList

[LOG 12:24:36.393]         p = AvailablePart

[LOG 12:24:36.394]         p.partPrefab = ABL.Decoupler.A (Part)

[LOG 12:24:36.394]         p.partPrefab.Modules = PartModuleList

[LOG 12:24:36.395]             pm = ABL.Decoupler.A (ModuleDecouple)

[LOG 12:24:36.395]             pm = ABL.Decoupler.A (ModuleTestSubject)

[LOG 12:24:36.396]             pm = ABL.Decoupler.A (ActionGroupsExtended.ModuleAGX)

[LOG 12:24:36.397]             pm = ABL.Decoupler.A (AY.AYPart)

[LOG 12:24:36.397]             pm = ABL.Decoupler.A (Thermal_Monitor.ThermalMonitor)

[LOG 12:24:36.398]         p = AvailablePart

[LOG 12:24:36.398]         p.partPrefab = ABL.LFO.A (Part)

[LOG 12:24:36.398]         p.partPrefab.Modules = PartModuleList

[LOG 12:24:36.399]             pm = ABL.LFO.A (ActionGroupsExtended.ModuleAGX)

[LOG 12:24:36.399]             pm = ABL.LFO.A (AY.AYPart)

[LOG 12:24:36.399]             pm = ABL.LFO.A (Thermal_Monitor.ThermalMonitor)

[LOG 12:24:36.399]             pm = ABL.LFO.A (TweakableFuelPumps.ModuleTweakableFuelPump)

[LOG 12:24:36.400]             pm = ModuleB9PartSwitch (moduleID='fuelSwitch') on part ABL.LFO.A

[LOG 12:24:36.400]             pm = ABL.LFO.A (SimpleBoiloff.ModuleCryoTank)

This was generated with the new .dll on an existing save.  The info was pulled out of the KSP.LOG because the 256Mb (and climbing before I alt+f4 closed KSP) wouldn't even open up but at least the 125Mb KSP.LOG would. 

Approximately 110Mb worth of KSP log was filled with this starting from the very first part beginning with the letter 'A' and proceeding in alphabetical order through every part.  By 125Mb it had only made it to the letter 'K' before I forced it to close.  When I swapped back to the old .dll file the problem went away and everything loaded normally.  Seems like the .dll is causing serious weirdness but I have no idea what it is and can only give the info above since I never saw a single NRE.  Nevertheless, I couldn't get into the game to play because it was apparently stuck doing whatever that is up there.

Now for the good news in all this.  I believe I may have (mostly) isolated the issue that I was experiencing.  I had already removed the entire USI suite this morning except for USI-LS as it was the next piece I would be testing to try and isolate my problem.  With the old .dll file and the USI suite removed, the NRE was gone.  I'm not exactly sure which piece of it was causing it and there's a possibility that one of the 10 mods that had updates to 1.1.2 this morning may have also provided the solution but the point is, you were right in your estimation all along that it was something else causing the issue and not CC.  I'll continue to try and isolate specifically what caused my issue because it may be insight for someone else and I don't want to just blame something on USI without knowing exactly what it was.

Share this post


Link to post
Share on other sites

@rasta013 - Yeah, I may have overdone it on the debug statements.  I can say with near certainty that the amount of debug I added is what caused the slowdown.  Looks like with the USI updates all should be well now though.

Share this post


Link to post
Share on other sites
5 hours ago, nightingale said:

@rasta013, @AccidentalDisassembly, @MajorTom - I took another look, and although I still think you've got some other mod that needs updating to 1.1.2, I've done the following:

  • Fixed one more spot that could be the one throwing the exception
  • Added a ton of debug

So if one of you doesn't mind grabbing the dev dll, and telling me:

  1. If it fixes this particular exception
  2. If not, please provide the log file

For me, removing GAP seemed to fix the particular exception I was having, but I was changing a lot of things and can't be ABSOLUTELY sure that that was what fixed it (it also could have been removing a UKS part that was throwing exceptions having to do with its model, or something...).  Trying that DLL anyway though.

Share this post


Link to post
Share on other sites

....Edit:

 

 

I had an issue but I traced it to few other issues !

Edited by nismobg

Share this post


Link to post
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.