JonnyOThan / TweakScale

Forked from Gaius Goodspeed's Goodspeed Aerospace Part & TweakScale plugin
Other
3 stars 2 forks source link

Report: ISRU does not scale outputs properly #80

Open JonnyOThan opened 1 month ago

JonnyOThan commented 1 month ago

KSP (44).log

JonnyOThan commented 1 month ago

Also there's an exception from persistenthrust in there that looks interesting.

[LOG 11:58:20.230] [PersistentThrust]: Loading TweakScaleExponents
[EXC 11:58:20.232] ArgumentNullException: Value cannot be null.
Parameter name: key
    System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <9577ac7a62ef43179789031239ba8798>:0)
    System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) (at <9577ac7a62ef43179789031239ba8798>:0)
    PersistentThrust.TweaksSaleHelper.GetTweakScaleExponents () (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.TweaksSaleHelper.GetTweakScaleExponent (System.String moduleName, System.String exponentName) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadModuleDeployableSolarPanel (System.Int32 partIndex, ProtoPartSnapshot protoPartSnapshot, PersistentThrust.BackgroundProcessing.VesselData vesselData, Part protoPart) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadUnloadedPart (System.Int32 partIndex, ProtoPartSnapshot protoPartSnapshot, PersistentThrust.BackgroundProcessing.VesselData vesselData) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadUnloadedParts (PersistentThrust.BackgroundProcessing.VesselData vesselData) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.FixedUpdate () (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
[EXC 11:58:21.716] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
    System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0)
    System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadModuleResourceConverters (System.Int32 partIndex, ProtoPartSnapshot protoPartSnapshot, PersistentThrust.BackgroundProcessing.VesselData vesselData, Part protoPart) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadUnloadedPart (System.Int32 partIndex, ProtoPartSnapshot protoPartSnapshot, PersistentThrust.BackgroundProcessing.VesselData vesselData) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.LoadUnloadedParts (PersistentThrust.BackgroundProcessing.VesselData vesselData) (at <7e02c23a705744b9b346ec5b6c751f1e>:0)
    PersistentThrust.BackgroundProcessing.PersistentScenarioModule.FixedUpdate () (at <7e02c23a705744b9b346ec5b6c751f1e>:0)