Nertea Posted August 12, 2020 Author Share Posted August 12, 2020 Dynamic Battery Storage 2.1.8 Added a new settings flag: DebugLoading, which decreases the number of messages emitted when loading (off by default) Added support for FFT modules: ModuleAntimatterTank, FusionReactor, FusionEngine, ModuleChargeableEngine Added support for SystemHeat modules: ModuleSystemHeatRadiator, ModuleSystemHeatHarvester, ModuleSystemHeatConverter, ModuleSystemHeatTemperatureAdjuster, ModuleSystemHeatConvector, ModuleSystemHeatFissionEngine, ModuleSystemHeatFissionReactor Added support for SpaceDust modules: ModuleSpaceDustScanner, ModuleSpaceDustHarvester Quote Link to comment Share on other sites More sharing options...
Lathari Posted September 13, 2020 Share Posted September 13, 2020 Hi, Anyone else having problems with solar panel simulation in VAB? I can only get any EC from panels if set the distance from sun to 5 Mm, when the efficiency is ~5000%, but if I increase the distance at all, it goes down to 0%. In-flight everything works correctly. With appreciation. Quote Link to comment Share on other sites More sharing options...
TBenz Posted September 13, 2020 Share Posted September 13, 2020 1 hour ago, Lathari said: Hi, Anyone else having problems with solar panel simulation in VAB? I can only get any EC from panels if set the distance from sun to 5 Mm, when the efficiency is ~5000%, but if I increase the distance at all, it goes down to 0%. In-flight everything works correctly. With appreciation. Since Lathari reminded me, I've been having the same issue. Player.log In the VAB Spoiler Mod list Spoiler Note: _Bensonian is where I keep some custom patches and flags, and a couple parts I ripped out of KNES. None of the patches touch solar panels or EC use (they're mostly custom life support configuration). Quote Link to comment Share on other sites More sharing options...
adriaans Posted September 14, 2020 Share Posted September 14, 2020 Hi, I have a long term save that after updating some mods have been spamming errors (to the point where my log file goes 100mb+) of the following; (Filename: <3de08e0cad914fa5bb1ef8fcc89a0f04> Line: 0) InvalidCastException: Specified cast is not valid. at DynamicBatteryStorage.KopernicusSolarPanelPowerHandler.Initialize (PartModule pm) [0x00009] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselElectricalData.SetupDataHandler (PartModule pm) [0x0008f] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselData.RefreshData (System.Boolean fromScratch, System.Collections.Generic.List`1[T] vesselParts) [0x001db] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x0001e] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselElectricalData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x00000] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselDataManager.RefreshVesselData () [0x00032] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselDataManager.FixedUpdate () [0x00039] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) I tried re-installing all the mods (I use CKAN, KSP version 1.8.1), but the issue has been persisting. I have no idea how to read log files so I am just guessing this is the mod to report it for? The game runs despite the errors, however the error spam does cause a lot of slowdowns. output_log.log file; https://www.dropbox.com/s/7j8dve83ncnlj1o/output_log.txt?dl=0 player.log file; https://www.dropbox.com/s/f6eof48mtwoslx7/Player.log?dl=0 Quote Link to comment Share on other sites More sharing options...
Nertea Posted September 15, 2020 Author Share Posted September 15, 2020 11 hours ago, adriaans said: Hi, I have a long term save that after updating some mods have been spamming errors (to the point where my log file goes 100mb+) of the following; (Filename: <3de08e0cad914fa5bb1ef8fcc89a0f04> Line: 0) InvalidCastException: Specified cast is not valid. at DynamicBatteryStorage.KopernicusSolarPanelPowerHandler.Initialize (PartModule pm) [0x00009] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselElectricalData.SetupDataHandler (PartModule pm) [0x0008f] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselData.RefreshData (System.Boolean fromScratch, System.Collections.Generic.List`1[T] vesselParts) [0x001db] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x0001e] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselElectricalData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x00000] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselDataManager.RefreshVesselData () [0x00032] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 at DynamicBatteryStorage.VesselDataManager.FixedUpdate () [0x00039] in <3de08e0cad914fa5bb1ef8fcc89a0f04>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) I tried re-installing all the mods (I use CKAN, KSP version 1.8.1), but the issue has been persisting. I have no idea how to read log files so I am just guessing this is the mod to report it for? The game runs despite the errors, however the error spam does cause a lot of slowdowns. output_log.log file; https://www.dropbox.com/s/7j8dve83ncnlj1o/output_log.txt?dl=0 player.log file; https://www.dropbox.com/s/f6eof48mtwoslx7/Player.log?dl=0 Can you tell me which version of DBS you are using? I have a thought that 2.1.9 is not compatible with Kopernicus for 1.8.1. On 9/13/2020 at 10:50 AM, TBenz said: Since Lathari reminded me, I've been having the same issue. Player.log In the VAB Reveal hidden contents Mod list Reveal hidden contents Note: _Bensonian is where I keep some custom patches and flags, and a couple parts I ripped out of KNES. None of the patches touch solar panels or EC use (they're mostly custom life support configuration). I'll check it out. Quote Link to comment Share on other sites More sharing options...
adriaans Posted September 15, 2020 Share Posted September 15, 2020 4 hours ago, Nertea said: Can you tell me which version of DBS you are using? I have a thought that 2.1.9 is not compatible with Kopernicus for 1.8.1. I have version 2.1.9 yes. Should I try to go to an older version? (if so which version and can I do that through CKAN or do I need to manually install it?) Quote Link to comment Share on other sites More sharing options...
adriaans Posted September 15, 2020 Share Posted September 15, 2020 7 hours ago, adriaans said: I have version 2.1.9 yes. Should I try to go to an older version? (if so which version and can I do that through CKAN or do I need to manually install it?) I figured out how to get an older version through CKAN and am now using 2.1.8 and it seems to have fixed the issue. Thank you for the help. Quote Link to comment Share on other sites More sharing options...
Nertea Posted September 15, 2020 Author Share Posted September 15, 2020 Cool - I do have a conceptual fix that will be reverse compatible with Kopernicus 1.8. Quote Link to comment Share on other sites More sharing options...
gulegule Posted October 23, 2020 Share Posted October 23, 2020 On 9/13/2020 at 12:31 PM, Lathari said: Hi, Anyone else having problems with solar panel simulation in VAB? I can only get any EC from panels if set the distance from sun to 5 Mm, when the efficiency is ~5000%, but if I increase the distance at all, it goes down to 0%. In-flight everything works correctly. With appreciation. Same issue. Quote Link to comment Share on other sites More sharing options...
Lathari Posted October 24, 2020 Share Posted October 24, 2020 Hi, I just noticed the ScanSat sensors are not being simulated. I was wondering how hard it would to write a patch or edit the DynamicBatteryStorageSetting.cfg to include them? Or would this need a new PartModuleHandler? Quote Link to comment Share on other sites More sharing options...
Nertea Posted October 24, 2020 Author Share Posted October 24, 2020 The sun bug will be fixed next release. 11 hours ago, Lathari said: I just noticed the ScanSat sensors are not being simulated. I was wondering how hard it would to write a patch or edit the DynamicBatteryStorageSetting.cfg to include them? Or would this need a new PartModuleHandler? I was working with dmagic on this at some point but we never finished it. It's nontrivial i think. Quote Link to comment Share on other sites More sharing options...
Lathari Posted October 25, 2020 Share Posted October 25, 2020 20 hours ago, Nertea said: The sun bug will be fixed next release. I was working with dmagic on this at some point but we never finished it. It's nontrivial i think. Well, I just have keep over-electrifying my probes for the near future (not sorry). But keep up the good work. Quote Link to comment Share on other sites More sharing options...
Nertea Posted October 30, 2020 Author Share Posted October 30, 2020 Released Dynamic Battery Storage 2.1.10 Added French translation from vinix38 Fixed a missing exponent in the Solar Panel UI planner Some fixes for solar panel detection in old (pre 1.9) Kopernicus versions Added support for ModuleSpaceDustTelescope Quote Link to comment Share on other sites More sharing options...
Lathari Posted October 31, 2020 Share Posted October 31, 2020 Re: ScanSat Would it be possible to have an option to add user defined EC drains to simulation? This a way you could manually add unsupported parts and check battery endurance. Quote Link to comment Share on other sites More sharing options...
Terrestris Posted November 6, 2020 Share Posted November 6, 2020 ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.ReloadModuleNode () [0x00108] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.GetFuelTypes () [0x00001] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.Initialize (PartModule pm) [0x00009] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselElectricalData.SetupDataHandler (PartModule pm) [0x0008f] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselData.RefreshData (System.Boolean fromScratch, System.Collections.Generic.List`1[T] vesselParts) [0x001db] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x0001e] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselElectricalData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x00000] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.EditorVesselDataManager.InitializeEditorConstruct (ShipConstruct ship, System.Boolean forceReset) [0x0002a] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.EditorVesselDataManager.onEditorVesselModified (ShipConstruct ship) [0x00024] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at EventData`1[T].Fire (T data) [0x000b0] in <c1858a3f77504bd1aaa946fdccf84670>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) EventData`1:Fire(ShipConstruct) KIS.ModuleKISInventory:<RefreshContents>b__e() KSPDev.ProcessingUtils.<WaitForEndOfFrameCoroutine>d__4:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0) Hi, my console keep sending me this and game lag for a while (FPS drop from 75 to 30). Here is my log: https://drive.google.com/file/d/18V9Cm60vKXzzq1AzakKULWj9V_wDq-Ae/view?usp=sharing Quote Link to comment Share on other sites More sharing options...
Nertea Posted November 6, 2020 Author Share Posted November 6, 2020 3 hours ago, Dr.Lxweei said: ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.ReloadModuleNode () [0x00108] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.GetFuelTypes () [0x00001] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.ModuleCryoTankPowerHandler.Initialize (PartModule pm) [0x00009] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselElectricalData.SetupDataHandler (PartModule pm) [0x0008f] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselData.RefreshData (System.Boolean fromScratch, System.Collections.Generic.List`1[T] vesselParts) [0x001db] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x0001e] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.VesselElectricalData..ctor (System.Collections.Generic.List`1[T] vesselParts) [0x00000] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.EditorVesselDataManager.InitializeEditorConstruct (ShipConstruct ship, System.Boolean forceReset) [0x0002a] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at DynamicBatteryStorage.EditorVesselDataManager.onEditorVesselModified (ShipConstruct ship) [0x00024] in <6a09c8c29f9843b7ac6467d87cf2369b>:0 at EventData`1[T].Fire (T data) [0x000b0] in <c1858a3f77504bd1aaa946fdccf84670>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) EventData`1:Fire(ShipConstruct) KIS.ModuleKISInventory:<RefreshContents>b__e() KSPDev.ProcessingUtils.<WaitForEndOfFrameCoroutine>d__4:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0) Hi, my console keep sending me this and game lag for a while (FPS drop from 75 to 30). Here is my log: https://drive.google.com/file/d/18V9Cm60vKXzzq1AzakKULWj9V_wDq-Ae/view?usp=sharing I think you need to share that differently: access denied. Quote Link to comment Share on other sites More sharing options...
Terrestris Posted November 6, 2020 Share Posted November 6, 2020 (edited) 16 minutes ago, Nertea said: I think you need to share that differently: access denied. My apologies, link should be fixed now. Edited November 6, 2020 by Dr.Lxweei Quote Link to comment Share on other sites More sharing options...
Nertea Posted November 6, 2020 Author Share Posted November 6, 2020 6 minutes ago, Dr.Lxweei said: My apologies, link should be fixed now. I think I need to see your ModuleManager cache. The log tells me that something is up with sspx-cargo-container-25-1, which is my part and doesn't have problems. Something is probably patching it and doing something that DBS isn't configured for. Quote Link to comment Share on other sites More sharing options...
Terrestris Posted November 6, 2020 Share Posted November 6, 2020 35 minutes ago, Nertea said: I think I need to see your ModuleManager cache. The log tells me that something is up with sspx-cargo-container-25-1, which is my part and doesn't have problems. Something is probably patching it and doing something that DBS isn't configured for. Here is the new log and MM Cache: https://drive.google.com/drive/folders/1IJ_giXXOT2DOexSppKVXVOh7DU6PI-mI?usp=sharing I have a HUGE mods list and few patch I made for myself, the following are the patchs relevant to container-25-1: @PART[*] { @skinMaxTemp *= 1.5 @maxTemp *= 1.5 @crashTolerance *= 1.5 @breakingForce *= 1.5 @breakingTorque *= 1.5 } B9_TANK_TYPE: { name = SSPXEquipment tankMass = 0.0000 tankCost = 0.0 RESOURCE { name = Equipment unitsPerVolume = 1 } } @PART[sspx-cargo-container*]:NEED[Pathfinder] { @MODULE[ModuleB9PartSwitch] { SUBTYPE { name = Equipment tankType = SSPXEquipment title = Equipment transform = SpecializedPartsDecal } } MODULE { name = ModuleReactionWheel PitchTorque = 30 YawTorque = 30 RollTorque = 30 RESOURCE { name = ElectricCharge rate = 2.4 } } MODULE { name = WBIResourceDistributor } } @PART[sspx-cargo-25-1]:NEED[KIS] { MODULE { name = ModuleKISInventory type = Pod maxVolume = 15000 externalAccess = true internalAccess = true slotsX = 6 slotsY = 6 slotSize = 50 itemIconResolution = 128 selfIconResolution = 128 openSndPath = KIS/Sounds/containerOpen closeSndPath = KIS/Sounds/containerClose defaultMoveSndPath = KIS/Sounds/itemMove } } Thanks Quote Link to comment Share on other sites More sharing options...
Nertea Posted November 6, 2020 Author Share Posted November 6, 2020 Hmm, it looks like the problem might be in a WBI template file, namely WildBlueIndustries/000WildBlueTools/ModuleManagerPatches/MM_CryoEngines.cfg. This config block is wrong. It's using the old CT spec, which will break CT. MODULE { name = ModuleCryoTank moduleIsEnabled = false FuelName = LqdHydrogen BoiloffRate = 0.05 CoolingCost = 0.08 showUpgradesInModuleInfo = true } I'll keep investigating, but if you want to check the theory, find that MODULE in the file I indicated, and replace it with this? MODULE { name = ModuleCryoTank CoolingEnabled = False BOILOFFCONFIG { FuelName = LqdHydrogen BoiloffRate = 0.05 CoolingCost = 0.09 } BOILOFFCONFIG { FuelName = LqdMethane BoiloffRate = 0.005 CoolingCost = 0.045 } } Quote Link to comment Share on other sites More sharing options...
Terrestris Posted November 6, 2020 Share Posted November 6, 2020 I replace the ModuleCryoTank with your code, problem still exists. Here are the new log and MM cache: https://drive.google.com/drive/folders/1bec5OIQv8DPh6drBzp1-osQbE1qIYwEl?usp=sharing Quote Link to comment Share on other sites More sharing options...
Nertea Posted November 6, 2020 Author Share Posted November 6, 2020 I'm still seeing the bad entries in the cache, you'll likely need to clear the cache and regenerate. There are also more bad entries, in : WildBlueIndustries/000WildBlueTools/Templates/CRP/Storage/LiquidHydrogen.cfg OPT_Reconfig/CRP/OPT_WBI_Extra.cfg WildBlueIndustries/000WildBlueTools/ModuleManagerPatches/MM_CryoEngines.cfg I will follow up with those mod authors to update their configs when I get a chance. Quote Link to comment Share on other sites More sharing options...
Terrestris Posted November 6, 2020 Share Posted November 6, 2020 I fixed those bad entries, problem still exists. Log and MM cache: https://drive.google.com/drive/folders/1KzsKe4xLyP_sFFSTUaSO791x1z14pgLg?usp=sharing PS: DBS UI weren't show stuff corrently. Quote Link to comment Share on other sites More sharing options...
Nertea Posted November 6, 2020 Author Share Posted November 6, 2020 I still see the issue in OPT_Reconfig/CRP/OPT_WBI_Extra.cfg in the cache. Since you have OPT parts in your screenshot, I think this is the one... Quote Link to comment Share on other sites More sharing options...
JadeOfMaar Posted November 6, 2020 Share Posted November 6, 2020 @Nertea For the situation of DBS and the abundant ElectricCharge storage, the root of the problem has to be that DBS does not agree with Angel-125's tank switcher module. (One of the OPT cargo bays must be set as a battery bank.) For the situation of the empty Thermal UI tab, the OPT cargo bays have radiator modules in them but no System Heat patch exists for them. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.