Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Duplicate" patch being applied for ReStock Plus Cherenkov when 'Other Mod Support' patches are installed #90

Closed
Poodmund opened this issue Nov 8, 2020 · 5 comments
Assignees
Labels

Comments

@Poodmund
Copy link

Poodmund commented Nov 8, 2020

As https://github.com/ChrisAdderley/KerbalAtomics/blob/master/GameData/KerbalAtomics/Patches/NTR/hydrogenNTRsRestockPlus.cfg is bundled in with the main core distribution, when a user also installs the 'Other Mod Support' patches and has ReStock Plus installed, https://github.com/ChrisAdderley/KerbalAtomics/blob/master/Extras/KerbalAtomicsLH2NTRModSupport/hydrogenNTRsRestockPlus.cfg also gets applied to the Cherenkov engine. This causes 2 engine mode switch modules to get applied to the engine. See below:

Untitled-1

Comparison of the two config files below:

Untitled-2

Is it best to consolidate the correct config patches to https://github.com/ChrisAdderley/KerbalAtomics/blob/master/Extras/KerbalAtomicsLH2NTRModSupport/hydrogenNTRsRestockPlus.cfg and remove https://github.com/ChrisAdderley/KerbalAtomics/blob/master/GameData/KerbalAtomics/Patches/NTR/hydrogenNTRsRestockPlus.cfg that is bundled with the core mod?

@hemeac
Copy link

hemeac commented Jan 18, 2021

@ChrisAdderley, do you have any strong feelings about the solution to this? Happy to submit a PR, I've had a few people use this with KTT which causes an issue with B9 as this leads to the Cherenkov having two ModuleEnginesFX with engineID = LF which I cannot easily distinguish. Rather have the solution come by patching this rather than doing a workaround in KTT.

@ChrisAdderley
Copy link
Collaborator

Uh I guess i have to fix this sometime, sorry, didn't really realize this was urgent

@hemeac
Copy link

hemeac commented Jan 18, 2021

Not super urgent, was just reminded of this as I was going through my to do list of things for bug fixing.

hemeac added a commit to hemeac/kiwiTechTree that referenced this issue Jan 20, 2021
Color coded upgrades to be green in the tech tree for easier identification (Thanks Freethinker); Removed patch that adds 1 kerbuck to partupgrades as it is now redundant; Eased transition of save games to Kiwi Tech Tree (Thanks Freethinker); Support for SimpleAdjustableFairings-KWRocketry (Thanks evileye.x for the patch) Fixed the Swivel ASL ISP (thanks antilochus for logging issue); Fixed bug causing spontaneous combustion of Kerbals if mods add ElectricCharge to them (thanks WLLP for logging issue); Adds MechJeb Config (Thanks Clamp-O-Tron for the Pull Request); Disable Fuel Tank Upgrades if Configurable Containers is installed (Thanks DeadJohn for logging issue); Nerfed Cheetah and Wolfhound engines from Making History (Thanks to Darkherring (Discord) for logging issue). Added partial support for KerbalAtomicsLH2NTRModSupport [Github Issue](still requires fix in Kerbal Atomics, see post-kerbin-mining-corporation/KerbalAtomics#90) (Thanks WLLP for logging issue). Added  JNSQ Science Param Config (Thanks Kwebib for logging the issue).
@ChrisAdderley ChrisAdderley self-assigned this Mar 15, 2021
@Wyzard256
Copy link
Contributor

I just noticed this too. Looking at the change history, I see that the file from Patches/NTR was moved out to Extras in commit adf2ff7, then a new copy of the file was created in Patches/NTR in commit 6529987.

The older copy of the file (the one that's now in Extras) has a comment at the top that says it's for the Nerv (it clearly began as a copy of the actual Nerv patch), and the newer copy (in Patches/NTR) correctly says it's for the Cherenkov, so it looks like that one is the newer version of the patch, development-wise (in addition to being the more-recent commit). The one in Extras should probably just be removed.

@hemeac
Copy link

hemeac commented Jul 24, 2021

The latest 1.3 release fixed the incompatibility with the Cherenkov getting duplicate ModuleEnginesFX when used with KerbalAtomicsLH2NTRModSupport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants