Skip to content

Conversation

@lyravega
Copy link

@lyravega lyravega commented Jul 4, 2025

Fixes #807, Fixes #820


Fixes:

• Fuel tanks were being included as extra mass in 'unladenMass', causing the calculations to use fuel mass value twice. Separated fuel from 'unladenMass' as 'outfittedMass' and utilized it in place to avoid the calculation issues.

Changes:

• 'reserveFuelCapacity' isn't included in FSD range calculations except the Unladen ones. This allows the jump range values on the website to match the in-game ones.
• Similarly, Unladen/Laden Mass displays include 'reserveFuelCapacity' to match the in-game values now. Unsure if this actually is used in calculations, but since the above fix allowed some values to match, decided to match this one as well.


In-game values and fix result for this build:
image

Profile comparison for live (orange) & fix (blue) for this fuel tank loaded build:
image

…calculations, matching some in-game numbers
@lyravega lyravega changed the base branch from master to develop July 4, 2025 08:28
@lyravega lyravega marked this pull request as ready for review July 4, 2025 08:36
@alex-williams
Copy link
Collaborator

Thanks for this, I haven't had a chance to properly look at this yet, despite trying (Busy IRL). I will take a look as soon as I can. There was previously an issue where the fuel tank mass was/wasn't being taken into account in different circumstances and it was screwing with the mass calculations and Distance calculations and I fixed that previously, so will need to take a close look at what this is actually doing.

@lyravega
Copy link
Author

lyravega commented Jul 15, 2025

Eh, I just noticed that I messed up spacing (especially in Calculations.js). Fixed.

@lyravega lyravega closed this Aug 18, 2025
@alex-williams alex-williams reopened this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants