Jump to content
  • 2

Ion Engines Continue To Produce Thrust After Running Out Of EC During Accelerate Under Timewarp, But Stop Consuming Xenon Fuel (Leading To Infinite Acceleration)


The Space Peacock

Bug Report

Reported Version: v0.2.0 (latest) | Mods: none | Can replicate without mods? Yes 
OS: Windows 10 | CPU: Intel Core I7 10th Gen | GPU: NVIDIA GeForce MX350 | RAM8GB

 

Issue:
Ion engines continue to produce thrust during accelerate under timewarp after EC runs out, but stop consuming Xenon fuel.

Steps to Replicate:

  1. Load ion_kraken_drive_v2.json
  2. Set throttle to 100%
  3. Engage 10.000x timewarp
  4. Observe that when the vessel runs out of EC, the player is not kicked out of timewarp and the vessel continues to accelerate without consuming proppelant for a while

Note: The player does get kicked out of timewarp  eventually, after which these steps can be repeated to gain what's essentially infinite acceleration (also known as a 'Kraken Drive')
 

Speculation:
Ion engines have a discrepancy between the code that checks whether an engine should be consuming fuel and the code that checks if the vessel is close to running out of fuel during accelerate under timewarp. The former correctly detects the ion engine doesnt have sufficient EC and stops consuming Xenon fuel, but the latter only considers Xenon fuel levels and thus incorrectly keeps the craft in accelerate under timewarp after EC runs out. This may be related to the 'XenonEC' fuel type used by ion engines. The player does eventually get kicked out of timewarp; i assume this happens at the point where the game calculates the player would have run out of Xenon proppelant if it were still being consumed.


Video Evidence:

Edited by The Space Peacock
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Reported Version: v0.2.0 (latest) | Mods: none | Can replicate without mods? Yes 
OS: Microsoft Windows 10 | CPU: AMD Ryzen 7 3700X 8-Core | GPU: NVIDIA GeForce RTX 3070 | RAM15.95

Severity: Mid

Frequency: High

As noted in the title, When timewarping under xenon thruster acceleration, depleting vessel EC results in thrusters continuing to work while not depleting xenon, giving infinite acceleration without depleting propellant. I have confirmed this with some users in the KSP discord. Apparently this is due to an improper resource check that lacks parity between the timewarp controller and the engine resource depletion.

I have attached a save that includes a craft that this can be done on. In my case the xenon does deplete, albeit too slowly, slowly as the solar panels will recharge the EC enough for both to deplete, but the same principle applies.

Included Attachments:

quicksave_433.json

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...