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

"Could not find matching module" check occurs before all MM patching is done? #223

Open
Gordon-Dry opened this issue Dec 12, 2021 · 2 comments

Comments

@Gordon-Dry
Copy link

That ominous message even appears when the IDENTIFIER is properly patched, as if the check occurs before all MM patching is done.

Examples for proper patches:

RealActiveRadiators

@PART[*]:HAS[@MODULE[ModuleRealActiveRadiator],@MODULE[ModuleB9PartSwitch]]:NEEDS[B9PartSwitch]:AFTER[RealActiveRadiators]
{
	@MODULE[ModuleB9PartSwitch],*:HAS[@SUBTYPE:HAS[@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]]]
	{
		@SUBTYPE,*:HAS[@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]]
		{
			@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]
			{
				@IDENTIFIER[ModuleActiveRadiator]
				{
					@name = ModuleRealActiveRadiator
				}
				@DATA:HAS[#maxEnergyTransfer[>0]]
				{
					maxCryoEnergyTransfer = #$maxEnergyTransfer$
					@maxCryoEnergyTransfer /= 500
				}
			}
		}
	}
}

zKerbalismSystemHeat

@PART[radiator-microchannel-fixed-*]:NEEDS[Kerbalism,B9PartSwitch]:AFTER[SystemHeat]
{
	@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[sizeSwitch]]
	{
		@SUBTYPE,*
		{
			@MODULE
			{
				@IDENTIFIER
				{
					@name = SystemHeatRadiatorKerbalism
				}
			}
		}
	}
} 
@Gordon-Dry
Copy link
Author

To avoid misunderstandings:
Those are two examples, those two mods are NOT installed together, so it's either RealActiveRadiators OR SystemHeat (+ Kerbalism stuff).
But in either case the message appears, caption "Could not find matching module".

@blowfishpro
Copy link
Owner

Can you include the log from a run where this happened?

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

No branches or pull requests

2 participants