sswelm / KSPInterstellar

Obsolete
http://forum.kerbalspaceprogram.com/threads/111159-WIP-0-90-KSP-Interstellar-Extended-0-8-5-Improved-NTR-propelants
12 stars 10 forks source link

TweakScale config warnings with KSPI 1.7.6 #47

Open taleteller opened 8 years ago

taleteller commented 8 years ago

Hope I am not spamming you with tickets. Currently i am experiencing weird scale bugs with tweak scale and infernal robotics, stumbeling over these warnings on the same vessel:

[WRN 22:13:00.677] [TweakScale Warning] Failed to convert string value "0.625m, 1.25, 1.875, 2.5, 3.75, 5" to type Single
TweakScale.Tools:LogWf(String, Object[])
TweakScale.Tools:ConvertString(String, Single[])
TweakScale.Tools:ConfigValue(ConfigNode, String, Single[])
TweakScale.ScaleType:.ctor(ConfigNode)
TweakScale.TweakScale:Setup()
TweakScale.TweakScale:OnLoad(ConfigNode)
PartModule:Load(ConfigNode)
Part:LoadModule(ConfigNode, Int32&)
ProtoPartModuleSnapshot:Load(Part, Int32&)
ProtoPartSnapshot:Load(Vessel, Boolean)
ProtoVessel:LoadObjects()
Vessel:Load()
Vessel:MakeActive()
FlightGlobals:setActiveVessel(Vessel, Boolean)
FlightGlobals:SetActiveVessel(Vessel)
FlightDriver:Start()

caused by InterstellarFuelTank-X200-16.cfg Followed by this one:

[WRN 15:34:52.238] [TweakScale Warning] radiator1(Foldable Heat Radiator) has no valid scale factors. This is probably caused by an invalid TweakScale configuration for the part.
TweakScale.Tools:LogWf(String, Object[])
TweakScale.TweakScale:CheckForInvalidCfg()
TweakScale.TweakScale:Update()

[LOG 15:34:52.238] [TweakScale]TweakScale{

 _invalidCfg = True
 _setupRun = True
 isFreeScale = True
 0 scaleFactors = 
 tweakScale = 2
 currentScale = 2
 defaultScale = 1
}
[LOG 15:34:52.238] [TweakScale]ScaleType {
 name = surface_interstellar
 isFreeScale = True
 11 scaleFactors = 0.5  0.75  1  1.5  2  3  4  6  8  12  16  
 0 scaleNames = 
 10 incrementSlide = 0.005  0.005  0.01  0.01  0.02  0.02  0.04  0.04  0.08  0.08  
 11 TechRequired = advHeatManagement  advHeatManagement  advHeatManagement  advHeatManagement  advHeatManagement  specializedRadiators  specializedRadiators  specializedRadiators  specializedRadiators  specializedRadiators  specializedRadiators  
 defaultScale = 1
}

Possibly the missing names.

sswelm commented 8 years ago

mm, the first one is because a mistake in the config, good find, but it must have been there for over a year now. THe second one puzzles me, but it might have to do with the fact that I rescaled this particular radiator. It should be harmless , except for creating a smlaar or larger radiator than expected