Jump to content

[1.12.4] ScrapYard (SYD) The Common Part Inventory - v2.2.99.0-prerelease `<Project Zelda II>` edition [08 Jan 2023]


zer0Kerbal

Recommended Posts

Is there a version without flowgraph or existing part issues? I can't play KSP without this mod. 

Edit: 

I uninstalled, deleted every KSP folder I could find, then reinstalled. It seems like it's working now with minimal mods installed. I am going to be slowly adding mods untill I find the culprit, and report back if it's helpful.

Theese mods seem compatable to my limited testing:

Breaking Ground (BreakingGround-DLC 1.7.1)
ClickThrough Blocker (ClickThroughBlocker 1:0.1.10.17)
Community Resource Pack (CommunityResourcePack 1.4.2)
Harmony 2 (Harmony2 2.0.4.0)
Kerbal Construction Time (KerbalConstructionTime 1:1.4.11.2)
Kerbal Joint Reinforcement - Next (KerbalJointReinforcementNext v4.1.15)
Kerbalism (Kerbalism 3.14)
Kerbalism - Default Config (Kerbalism-Config-Default 3.14)
MagiCore (MagiCore 1.3.2.5)
Making History (MakingHistory-DLC 1.12.1)
Module Manager (ModuleManager 4.2.1)
ScrapYard (SYD) (ScrapYard 2.2.0.0)
SpaceTux Library (SpaceTuxLibrary 0.0.8.2)
Toolbar Controller (ToolbarController 1:0.1.9.6)
Zero MiniAVC (ZeroMiniAVC 1:1.1.2.4)
 

Edited by Flybird
Link to comment
Share on other sites

  • 1 month later...

This mod works so well in tandem with KCT, but alas it seems to constantly crash KSP on the new career I just started.

1) Once with a FlowGraph error when editing a previously built craft:

KSP-log_FlowGraph_error

  Quote

[LOG 21:43:52.342] [ScrapYard] Copied tracker. Recovered 1 times with id 3052844665
[LOG 21:43:52.342] [ScrapYard] Copied tracker. Recovered 1 times with id 4210636885
[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part solidBooster.v2 with id 4290475568

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part solidBooster.v2 with id 4290475568

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part adapterSmallMiniShort with id 4290473316

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part adapterSmallMiniShort with id 4290473316

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part probeCoreOcto.v2 with id 4290474338

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part probeCoreOcto.v2 with id 4290474338

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part parachuteSingle with id 4290473800

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part parachuteSingle with id 4290473800

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part basicFin with id 4290471938

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part basicFin with id 4290471938

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part basicFin with id 4290471870

[ERR 21:43:52.412] [FlowGraph]: Graph already contains item! Part basicFin with id 4290471870

[ERR 21:43:52.492] [FlowGraph]: Graph already contains item! Part solidBooster.v2 with id 4290475568

[ERR 21:43:52.492] [FlowGraph]: Graph already contains item! Part solidBooster.v2 with id 4290475568

[ERR 21:43:52.492] [FlowGraph]: Graph already contains item! Part adapterSmallMiniShort with id 4290473316

[ERR 21:43:52.492] [FlowGraph]: Graph already contains item! Part adapterSmallMiniShort with id 4290473316

 

Expand  

 

2) And then again simply when entering the VAB editor:

KSP-log_Copied_Tracker_error

  Quote

[LOG 22:30:29.446] [UIMasterController]: ShowUI
[LOG 22:30:30.189] [ScrapYard] Copied tracker. Recovered 5 times with id 1981160644
[LOG 22:30:30.189] [ScrapYard] Copied tracker. Recovered 5 times with id 1811648985
[LOG 22:30:30.190] [ScrapYard] Copied tracker. Recovered 1 times with id 1246054522
[LOG 22:30:30.190] [ScrapYard] Copied tracker. Recovered 1 times with id 3431600991
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 2404134166
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 3520840750
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 785595778
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 4167597681
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 1978450955
[LOG 22:30:30.191] [ScrapYard] Copied tracker. Recovered 1 times with id 1281169419

 

Expand  

In both cases ScrapYard was the last entry in the log before crashing, so I uninstalled ScrapYard and that immediately got rid of the crash 2).

 

Edited by FasterThanFlourite
Link to comment
Share on other sites

  On 1/8/2022 at 11:05 PM, FasterThanFlourite said:

I did some further testing and uninstalled ScrapYard: No problem for hours.

Reinstalled ScrapYard again and the second time I build something, KSP crashes again with the same log as posted above.

 

Does anyone have a similar problem?

Expand  

I'm always getting the flowgraph errors and have the same "Copied tracker" mod, but haven't noticed related crashes

Link to comment
Share on other sites

things, well, delayed.

Had to take my NAS RAID offline due to failed Seagate Barracuda.

Don't blame Seagate, the drives went into service in 2011.

I have always loved Seagate - since even before the great drive cataclysm at Cray in 1991 (Again not Seagate's fault - it was the power company's fault).

New drive arriving later this week and after a lengthy rebuild should have me up and compiling shortly after that.

Edited by zer0Kerbal
Link to comment
Share on other sites

  On 1/12/2022 at 5:56 PM, -MadMan- said:

Hello @zer0Kerbal

I have an issue with deployed science from DLC

Total power available: N/A

4M75fYX.png

ScrapYard  v2.1.0.0

Log

Expand  

Think this might be a vanilla issue. They can be quite temperamental. redeploying them in the order given here fixed it for me - https://wiki.kerbalspaceprogram.com/wiki/Tutorial:Deployable_Science

Link to comment
Share on other sites

  On 1/12/2022 at 10:00 PM, baldamundo said:

Think this might be a vanilla issue

Expand  

@-MadMan- thank you for the report.

I agree with @baldamundo- there are no signs that SYD/OHS has caused a part failure. If only SYD is installed, then cannot be an issue since SYD only tracks parts. In fact I do not see evidence that OHS is installed.

However, could be wrong...

excerpts from log (VERY LONG), your game installation has issues - but it seems as if SYD is running just fine. It logs its use. :D One issue that I will try to address is the 1.12.x contract configurator issue - I don't want to make CC a dependency, and don't want to remove CC from SYD - but might have to.

  Reveal hidden contents

 

Edited by zer0Kerbal
Link to comment
Share on other sites

  On 1/12/2022 at 10:37 PM, zer0Kerbal said:

@-MadMan- thank you for the report.

I agree with @baldamundo- there are no signs that SYD/OHS has caused a part failure. If only SYD is installed, then cannot be an issue since SYD only tracks parts. In fact I do not see evidence that OHS is installed.

However, could be wrong...

excerpts from log (VERY LONG), your game installation has issues - but it seems as if SYD is running just fine. It logs its use. :D One issue that I will try to address is the 1.12.x contract configurator issue - I don't want to make CC a dependency, and don't want to remove CC from SYD - but might have to.

  Reveal hidden contents

 

Expand  

 Deployable Science works correct in vanilla.  When I install only SYD it doesn't work.  Doesn't  matter if  it's a new game or an old save. 

I checked the old devices installed long ago and they work. On the same save. If you don't move them, they will work correctly. I do not remember KSP version on which I installed them

 

 

 
Link to comment
Share on other sites

  On 1/13/2022 at 6:52 AM, -MadMan- said:

Deployable Science works correct in vanilla.  When I install only SYD it doesn't work.  Doesn't  matter if  it's a new game or an old save. 

I checked the old devices installed long ago and they work. On the same save. If you don't move them, they will work correctly. I do not remember KSP version on which I installed them

Expand  

I will be doing an update pass on SYD/OHS soon. (when - https://twitter.com/zer0Kerbal  will say). I will look at it then.

Until then - try adding the parts to `PartBlacklist.cfg`, which is currently located in /ScrapYard/Patches. It should prevent SYD from touching those parts (like kerbalEVA).

 

track issue here.

 

Edited by zer0Kerbal
Link to comment
Share on other sites

I'm having an issue with the whole-vessel "Quick Apply" and "Automatically Quick Apply" buttons not working as expected - quite often i have spares of the part in inventory, but my craft will still use new parts.

I'm wondering if I'm not understanding how modules and part options. I'm using RealAntennas, Kerbalism, and KiwiTechTree, as well as Procedural Parts, so most parts I'm using have a lot of options and tweakable settings. If I e.g. change the skin texture option on a part or upgrade its RealAntenna antenna or change the Kerbalism life support configuration, so that it's slightly different from the one saved in the inventory, will it no longer automatically draw that part from the inventory?  And what happens if I use the Scrapyard menu to automatically apply the part and then change the settings?

I also seem to be having an issue where if I manually apply a control surface to use a version from the inventory, the "deploy angle" often gets reset to a NaN error and can't be edited again (and deploying it causes it to just rotate infinitely)

Link to comment
Share on other sites

  • 2 months later...
  On 1/17/2022 at 10:10 PM, baldamundo said:

I'm having an issue with the whole-vessel "Quick Apply" and "Automatically Quick Apply" buttons not working as expected - quite often i have spares of the part in inventory, but my craft will still use new parts.

I'm wondering if I'm not understanding how modules and part options. I'm using RealAntennas, Kerbalism, and KiwiTechTree, as well as Procedural Parts, so most parts I'm using have a lot of options and tweakable settings. If I e.g. change the skin texture option on a part or upgrade its RealAntenna antenna or change the Kerbalism life support configuration, so that it's slightly different from the one saved in the inventory, will it no longer automatically draw that part from the inventory?  And what happens if I use the Scrapyard menu to automatically apply the part and then change the settings?

I also seem to be having an issue where if I manually apply a control surface to use a version from the inventory, the "deploy angle" often gets reset to a NaN error and can't be edited again (and deploying it causes it to just rotate infinitely)

Expand  

Same

Link to comment
Share on other sites

  On 1/13/2022 at 7:00 AM, zer0Kerbal said:

I will be doing an update pass on SYD/OHS soon. (when - https://twitter.com/zer0Kerbal  will say). I will look at it then.

Until then - try adding the parts to `PartBlacklist.cfg`, which is currently located in /ScrapYard/Patches. It should prevent SYD from touching those parts (like kerbalEVA).

 

track issue here.

 

Expand  

 

Link to comment
Share on other sites

  On 9/25/2021 at 3:37 AM, zer0Kerbal said:

@zer0Kerbal zer0Kerbal released this 23 Sep 2021

SYD! Version

KSP version License Expat-MIT

CODE KSP-AVC AVC .version files


Version 2.2.1.0-prerelease - t-minus...the final countdown

  • 23 September 2021
  • Release for Kerbal Space Program [KSP 1.12.2]
  • recompile for KSP 1.12.2 using KSP 1.12.2 assemblies (instead of 1.12.0)

 

DO A CLEAN INSTALL:
DELETE EXISTING THEN RE-INSTALL

Does not contain .dll's - download from Curseforge


Finally proper credit given to

This has been dropped to SpaceDock and therefore CKAN

  Reveal hidden contents

 

 


See Full Changelog for full details of changes
See Known Issues for known issues

Localization

  •  English American-flag-sm.png
  • [ ]

See the README in the Localization folder for instructions for adding or improving translations for languages other than English. GitHub push is the best way to contribute.


How to support this and other great mods by zer0Kerbal

Support Patreon Github Sponsor Buy zer0Kerbal a snack


*red box below is a link to forum post on how to get support*

How to get support

Kerbal Space Program 1.12.2 — Unity 2019.2.2f1 — .NET Framework 4.7.2

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

Expand  

 

Link to comment
Share on other sites

  On 1/6/2022 at 9:45 PM, FasterThanFlourite said:

This mod works so well in tandem with KCT, but alas it seems to constantly crash KSP on the new career I just started.

1) Once with a FlowGraph error when editing a previously built craft:

KSP-log_FlowGraph_error

 

2) And then again simply when entering the VAB editor:

KSP-log_Copied_Tracker_error

In both cases ScrapYard was the last entry in the log before crashing, so I uninstalled ScrapYard and that immediately got rid of the crash 2).

 

Expand  

 

Quoting myself a couple a months later, starting a fresh playthrough. Alas it seems the [FlowGraph]: Graph already contains item! - bug still remains with  ScrapYard 2.2.10. And it's  quite a massive spam of those messages :

About 1.7 million [FlowGraph]: Graph already contains item! error messages during 10 minutes in this 175 MB large KSP.log :D , @zer0Kerbal.

I might have to play without ScrapYard as of now, haha.

Edited by FasterThanFlourite
Link to comment
Share on other sites

  On 3/29/2022 at 10:27 PM, FasterThanFlourite said:

 

Quoting myself a couple a months later, starting a fresh playthrough. Alas it seems the [FlowGraph]: Graph already contains item! - bug still remains with  ScrapYard 2.2.10. And it's  quite a massive spam of those messages :

About 1.7 million [FlowGraph]: Graph already contains item! error messages during 10 minutes in this 175 MB large KSP.log :D , @zer0Kerbal.

I might have to play without ScrapYard as of now, haha.

Expand  

Since I "can't" play without ScrapYard, KCT, KRASH and OhScrap!, now I'm playing with:

  • KSP 1.12.3.3173 (Linux), with both DLCs
  • ScrapYard 2.1.0.0
  • KCT 1.4.11.2
  • OhScrap! 2.1.1.1
  • KRASH 0.5.33.5 (some minor problems with DV during simulations)
Link to comment
Share on other sites

  On 3/29/2022 at 11:55 PM, jlcarneiro said:

Since I "can't" play without ScrapYard, KCT, KRASH and OhScrap!, now I'm playing with:

  • KSP 1.12.3.3173 (Linux), with both DLCs
  • ScrapYard 2.1.0.0
  • KCT 1.4.11.2
  • OhScrap! 2.1.1.1
  • KRASH 0.5.33.5 (some minor problems with DV during simulations)
Expand  

lets do some sleuthing here.

@jlcarneiroif you upgrade to say SYD 2.1.1.0 does it still appear? if not 2.2.0.0?

I am thinking of recompiling SYD against .NET 4.7.2 and KSP 1.9.1 - and see if that stops this issue. It should still work just fine in 1.12.x.

Comments? This would just be a stop-gap to get a working edition out to players.

Link to comment
Share on other sites

  On 3/29/2022 at 10:27 PM, FasterThanFlourite said:

About 1.7 million [FlowGraph]: Graph already contains item! error messages during 10 minutes in this 175 MB large KSP.log :D , @zer0Kerbal.

I might have to play without ScrapYard as of now, haha.

Expand  

I think you should also fix Contract Configurator, Texture Unlimited and CTB because they are throwing exceptions on key events of the system, aborting the execution of code that, so, is not executed - and this can be a source of problems on more complex add'ons as Oh Scrap - if a callback that should clean up something is not called because something else aborted the thread, then whatever should had cleaned, it not - and it's a plausible explanation for the problem being issued by Oh Scrap (something is trying to add a object that is already there on the data structure, and it shouldn't).

Additionally, you have an Error on some patch as Module Manager is not creating the config cache. So the patches are being applied every time you startup KSP, what makes your startup process longer:

[WRN 23:51:12.527] Errors in patch prevents the creation of the cache
[LOG 23:51:12.634] ModuleManager: 12806 patches applied, found <color=orange>1 error</color>
1 error related to GameData/ContractPacks/AnomalySurveyor/SCANsat.cfg

I suggest you reach ContrackPacks's maintainer and ask for further help.

You also have problems on:

  • Kerbal Change Log
  • Quick Start
  • Contract Configurator
  • Scatterer
    • But this one I was told is harmless for sure
  • Texture Unlimited
    • And this one is serious, as it triggers a KSP bug on the Assembly Resolver that screws up everybody after it happens, and more than one it was the cause of a lot of problems that appears to be unrelated, as yours.
  • ClickThroughFix
[LOG 23:54:25.862] [KCL] Validating url: forum.kerbalspaceprogram.com/index.php?/topic/200702-kerbal-changelog
[EXC 23:54:25.866] ArgumentException: Invalid version: v1.1.0.107 (2018-03-18)
        KerbalChangelog.ChangelogVersion..ctor (System.String version, System.String cfgDirName) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        KerbalChangelog.ChangelogVersion..ctor (System.String version, System.String cfgDirName, System.String vName) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        KerbalChangelog.ChangelogVersion..ctor (System.String version, System.String cfgDirName, System.String vName, System.String vDate, System.String vKSP) (at <3df0e8
        KerbalChangelog.ChangeSet..ctor (ConfigNode vn, System.String cfgDirName) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        KerbalChangelog.Changelog+<>c__DisplayClass1_0.<.ctor>b__0 (ConfigNode vn) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
        System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
        KerbalChangelog.Changelog..ctor (ConfigNode cn, UrlDir+UrlConfig cfgDir) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        KerbalChangelog.ChangelogAddonMainMenu+<>c.<Start>b__0_0 (UrlDir+UrlConfig cfg) (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToList () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
        System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
        KerbalChangelog.ChangelogAddonMainMenu.Start () (at <3df0e8f79e4f4c60b17db000dc0cdeca>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[WRN 23:54:25.883] DontDestroyOnLoad only works for root GameObjects or components on root GameObjects.
          
-----------
          
[LOG 23:54:41.228] QuickStart(QMainMenu)[2.21]: OnDestroy
[EXC 23:54:41.236] NullReferenceException
        scatterer.SkySphereContainer.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.SkyNode.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.ProlandManager.OnDestroy () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.ScattererCelestialBodiesManager.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.Scatterer.OnDestroy () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

------------
          
[EXC 23:54:41.236] NullReferenceException
        scatterer.SkySphereContainer.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.SkyNode.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.ProlandManager.OnDestroy () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.ScattererCelestialBodiesManager.Cleanup () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        scatterer.Scatterer.OnDestroy () (at <56c3b87186e74625a9fef6a636c18aab>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

-------
          
[ERR 23:54:57.116] ContractConfigurator.ContractType: CONTRACT_TYPE 'RoverExplore': Error parsing hasScientist

[EXC 23:54:57.117] NullReferenceException: Object reference not set to an instance of an object
        ContractConfigurator.ExpressionParser.ExperienceTraitParser.EQ (Experience.ExperienceTrait a, Experience.ExperienceTrait b) (at <ef0243a06f2841fe9bf57034a334902e>
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ApplyBooleanOperator (T lval, System.String op, T rval) (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ApplyOperator[TResult] (T lval, System.String op, T rval) (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseOperation[TResult] (T lval, System.String op) (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseStatement[TResult] (T lval) (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseStatementInner[TResult] () (at <ef0243a06f2841fe9bf57034a334902e>:0)
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9577ac7a62ef43179789031239ba8798>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseStatement[TResult] () (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ListExpressionParser`1[T].ParseWhereMethod[TResult] (System.Collections.Generic.List`1[T] obj) (at <ef0243a06f2841fe9bf57034
        ContractConfigurator.ExpressionParser.ListExpressionParser`1[T].ParseMethod[TResult] (ContractConfigurator.ExpressionParser.BaseParser+Token token, System.Collect
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9577ac7a62ef43179789031239ba8798>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseMethod[TResult] (ContractConfigurator.ExpressionParser.BaseParser+Token token, T obj, System.Bool
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].CompleteIdentifierParsing[U] (U value) (at <ef0243a06f2841fe9bf57034a334902e>:0)
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
        System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, Sy
        System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9577ac7a62ef43179789031239ba8798>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseSpecialIdentifier (ContractConfigurator.ExpressionParser.BaseParser+Token token) (at <ef0243a06f2
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseSimpleStatement[TResult] () (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseStatementInner[TResult] () (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseStatement[TResult] () (at <ef0243a06f2841fe9bf57034a334902e>:0)
        ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.Da
        Rethrow as Exception: Error parsing statement.
        Error occurred near '*':
        @/targetVessel.Crew().Where(k => k.ExperienceTrait() == "Scientist").Count() > 0
        ...................................................................* <-- HERE

--------
                                                                                 
[LOG 23:55:05.583] [AddonLoader]: Instantiating addon 'TexturesUnlimitedDebug' from assembly 'TexturesUnlimited'
[EXC 23:55:05.584] NullReferenceException: Object reference not set to an instance of an object
        KSP.UI.Screens.ApplicationLauncher.RemoveModApplication (KSP.UI.Screens.ApplicationLauncherButton button) (at <39c0323fb6b449a4aaf3465c00ed3c8d>:0)
        KSPShaderTools.Addon.TexturesUnlimitedDebug.Awake () (at <d05d146f0f32458d9a30cf17e61f35a8>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.GameObject:AddComponent(Type)
        AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup)
        AddonLoader:StartAddons(Startup)
        AddonLoader:OnLevelLoaded(GameScenes)
        AddonLoader:OnSceneLoaded(Scene, LoadSceneMode)
        UnityEngine.SceneManagement.SceneManager:Internal_SceneLoaded(Scene, LoadSceneMode)
          
---------------

[EXC 23:55:41.187] KeyNotFoundException: The given key was not present in the dictionary.
        System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <9577ac7a62ef43179789031239ba8798>:0)
        ClickThroughFix.CBTMonitor.Update () (at <240ebba80d2648b793e96ae12e59a654>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

I suggest you remove first Textures Unlimited, and then one by one the ones I mentioned above (leave CTB, as it is a hard dependency for a lot of LGG's addons).

If by removing all the add'ons I mentioned above, you still get the exception on the ClickThroughFix, you will need to reach LGG for further help.

Since KSP 1.8, Exceptions on the KSP.log should be avoided like the plague - KSP 1.8.0 introduced a lot of optimizations that made KSP faster, but also made it less resilient from abuses as we were used to tolerate previously.

Link to comment
Share on other sites

  On 3/30/2022 at 2:42 AM, zer0Kerbal said:

lets do some sleuthing here.

@jlcarneiroif you upgrade to say SYD 2.1.1.0 does it still appear? if not 2.2.0.0?

I am thinking of recompiling SYD against .NET 4.7.2 and KSP 1.9.1 - and see if that stops this issue. It should still work just fine in 1.12.x.

Comments? This would just be a stop-gap to get a working edition out to players.

Expand  

Hi, @zer0Kerbal! First of all, thanks for your (and all other mods') hard work! 

Unfortunately, my last career save got plagued by VERY SLOW saving processes (game froze for a few seconds after eache save). At that time, I had already started using MechJeb to get correct deltaV calculations because stock calculations were getting too small.

When saving become virtualy impossible, I started a new career save and fortunately, I didn't get those freezing savegames. Maybe the old one got corrupted, I don't know. DeltaV calculation were still off, though.

I don't know if it was an interaction with other mods, but when I removed SYD and OHS, deltaV ceased (freezings had already stopped, new save). 

I found those versions I listed above restored correct deltaV calculations. 

I tried newer versions (including SYD 2.1.1.0) but deltaV diversions started again still in VAB/SPH. Same with OHS, newer versions were associated with diverging deltaV calculations.

How may I help you more? I have quite a lot of mods, I'll get you a list:

  Reveal hidden contents

Thanks! ;) 

Link to comment
Share on other sites

  • 3 weeks later...
  On 1/17/2022 at 10:10 PM, baldamundo said:

I'm having an issue with the whole-vessel "Quick Apply" and "Automatically Quick Apply" buttons not working as expected - quite often i have spares of the part in inventory, but my craft will still use new parts.

I'm wondering if I'm not understanding how modules and part options. I'm using RealAntennas, Kerbalism, and KiwiTechTree, as well as Procedural Parts, so most parts I'm using have a lot of options and tweakable settings. If I e.g. change the skin texture option on a part or upgrade its RealAntenna antenna or change the Kerbalism life support configuration, so that it's slightly different from the one saved in the inventory, will it no longer automatically draw that part from the inventory?  And what happens if I use the Scrapyard menu to automatically apply the part and then change the settings?

I also seem to be having an issue where if I manually apply a control surface to use a version from the inventory, the "deploy angle" often gets reset to a NaN error and can't be edited again (and deploying it causes it to just rotate infinitely)

Expand  

I'm also getting this issue, the only one of the mods listed here that I'm using is Kerbalism. Though I am using quite a few others including KCT. Individual parts can be applied still, it's only the whole vessel shortcut that doesn't work. Neither the button for quick apply, nor the automatic quick apply option.

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...