post-kerbin-mining-corporation / CryoTanks

Adds cryogenic fuel storage options and limited fuel switching to Kerbal Space Program
15 stars 30 forks source link

Fuel boils off on high timewarp #143

Closed Ferristik closed 3 weeks ago

Ferristik commented 3 weeks ago

Mods used on the craft: HeatControl Sterling Systems Core, Engines and Tankage NF Electrical RealChutes MkIV Expansion

and a zip file of everything you need including a video: https://www.mediafire.com/file/5d70bqha6r32krj/problem_stuff.zip/file (couldnt upload directly because github said it was too big)

ChrisAdderley commented 3 weeks ago

This might be related to Better Time Warp... you're running into exactly the problem DBS is supposed to solve but the system is not working.

Ferristik commented 3 weeks ago

This might be related to Better Time Warp... you're running into exactly the problem DBS is supposed to solve but the system is not working.

i don't use BetterTimeWarp, i use Time Control. does any timewarp mod cause this issue? i've seen other people have this issue too in the r/ksp discord server.

ChrisAdderley commented 3 weeks ago

It's the first I've heard of it.

There's hints of both mods in the log.

[LOG 15:59:35.979] [AddonLoader]: Instantiating addon 'BetterTimeWarp' from assembly 'CameraTools'

[LOG 16:16:39.687] [AddonLoader]: Instantiating addon 'TimeControl' from assembly 'CameraTools'

Ferristik commented 3 weeks ago

very weird, might be a remnant but i don't have bettertimewarp in my gamedata folder

Ferristik commented 3 weeks ago

should i try a reinstall of DBS?

ChrisAdderley commented 3 weeks ago

I installed the stuff to load your ship and a few weird things:

  1. Different resource counts when I launched your vessel (note EC in particular). It also looks a little different: image

  2. The problem does not reproduce (of course).

I'll install TimeControl later and see if that affects anything, but honestly you have so many mods in your install it will be very hard to track down.

One thing you could try is opening that Advanced rollout in DBS which shows debug info while the ship is losing power and screenshotting what it says.

Ferristik commented 3 weeks ago

different resource counts are because the original battery was tweakscaled and to reduce the mod count the craft had i rescaled the battery to the original scale.

and yes, i know i have a lot of mods. sorry :(

also how do i open advanced rollout?

ChrisAdderley commented 3 weeks ago

Click the header button that says Advanced

Ferristik commented 3 weeks ago

alright, just gotta wait for KSP to load

Ferristik commented 3 weeks ago

okay i found out the issue. even though im over 100x timewarp, DBS thinks im under 100x. i don't know why resim

ChrisAdderley commented 3 weeks ago

Yeah that's what I expectedmight be happening. Will look into it.

ChrisAdderley commented 3 weeks ago

Would you be able to repeat your tests? I may have a fix. If you can, grab DynamicBatteryStorage.dll from this link: https://github.com/post-kerbin-mining-corporation/DynamicBatteryStorage/tree/dev/GameData/DynamicBatteryStorage/Plugins and replace the one in your GameData folder with it and let me know the results

Ferristik commented 3 weeks ago

Sorry for late response, i would be very happy to help. i'll post the results soon

Ferristik commented 3 weeks ago

it worked, thank you so much! i finally can go interstellar without problems.

ChrisAdderley commented 3 weeks ago

Sweet, I'll sort out a new release soon.