net-lisias-ksp / KSP-Recall

Recall for KSP blunders, screw ups and borks.
GNU General Public License v2.0
25 stars 2 forks source link

ChillingOut apparently is screwing up KSPIE #25

Closed Lisias closed 3 years ago

Lisias commented 3 years ago

Felllow Kerbonaut ss8913 reported that KSP-Recall (almost sure ChillingOut) is screwing up KSPIE engines:

so I updated this last night... haven't updated or installed anything else since, and now all my KSPIE engines instantly overheat my craft as soon as activated, and instantly cool off as soon as I throttle down - stock engines don't do that.. I've been playing every night this week and this just started happening when I installed the latest version of this mod from CKAN... any ideas/known issue?

Check what's happening and fix it.

Lisias commented 3 years ago

I think I fixed this on commit https://github.com/net-lisias-ksp/KSP-Recall/commit/67aaaeed1ebb5c88642ad573cb25c77d829d2127

Lisias commented 3 years ago

From the user on Forum:

Upon further testing, it seems to happen with a wide variety of engines and other parts... probably the easiest way to reproduce it is a craft that looks like:

  • Nosecone
  • AI Core
  • Positron Tank
  • Big Hydrazine Tank
  • Short Thermal Generator
  • Positron Reactor
  • Krusader thermal nozzle set to use Hydrazine

Put some wraparound radiators on it, tested with just a few and with enough that KSPIE's thermal helper says it's fully good to go under max load.

Then launch it. Turn on SAS, engage the Krusader engine, and throttle it up. If you throttle it up slower you can maybe prevent it from exploding right away. Note that if you cut the throttle, all of the heat instantly goes away, like full glowing red hot to full cold in an instant when you close the throttle.

Lisias commented 3 years ago

Nahhh… I'm an idiot (no breaking news here).

I was using the vessel's mission time to count down a timeout while applying the fix (as I didn't knew at that time, and still don't know, what exactly is causing this problem, so I hammered my way out of the problem).

But the mission time don't start counting at respawn, but only when the vessel moves significantly!!!. So, if the user spend some time fooling around instead of launch the vehicle, ChillingOut will continuously initialising the part's temperatures in the mean time.

Seconds, minutes, hours, days - whatever. The part was being continuously having its temperatures reset (and I naively deciding to use 0°K as the initialising value didn't helped neither).

So, with the fix implemented on #26 using a good enough approximation of the local temperature as initial value and this new one using the time since spawning (the only situation where things blew up - see this post on KAX Thread on Forum), I think I finally nailed down the last coffin on the problems caused by ChillingOut.

(ufa!)

Lisias commented 3 years ago

Fixed on commit: https://github.com/net-lisias-ksp/KSP-Recall/commit/c4d2b3852ce8a68dc1eca671f70e804c0a07d31d

Lisias commented 3 years ago

(changed the tags from support to bug due obvious reasons)