Jump to content

iulianov

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by iulianov

  1. I am getting the following in output_log.txt ArgumentOutOfRangeException: Argument is out of range.^M Parameter name: index at System.Collections.Generic.List`1[ModuleScienceContainer].get_Item (Int32 index) [0x00000] in <filename unknown>:0 ^M at ForScience.ForScience.TransferScience () [0x00000] in <filename unknown>:0 ^M at ForScience.ForScience.Update () [0x00000] in <filename unknown>:0 This happens when I have a Cyclotron from the Station Science mod connected to my ship (on the launchpad or in flight). I was planning to look into the code to see if I could figure out whose issue this is but it seems that your git repo does not reflect the latest compiled version from curse. Edit: I did some more testing and the issue only appears when the vessel does not contain any parts that have the ModuleScienceContainer module (currentVessel.FindPartModulesImplementing<ModuleScienceContainer>() returns an empty list). I encountered the issue when making an unmanned launcher to build my space station. The code should probably check if the vessel is able to store science before trying to store them (you will still want to display the experiment window on probes so that you can send transmit it)
×
×
  • Create New...