NecroBones

[1.4] SpaceY Heavy-Lifter Parts Pack v1.17.1 (2018-04-02)

Recommended Posts

I'm using these all the time in 1.7.3, no problems.  I do use KJRNext

Share this post


Link to post
Share on other sites

Hi. An user just report me a duplicate patch on the SpaceY-Lifters/Patches/SpaceY_TweakScale.cfg patch. A "rogue" wildcard is patching a part twice, with two completely different patches.

[LOG 13:07:36.605] Applying update SpaceY-Lifters/Patches/SpaceY_TweakScale/@PART[SYtank5m3mAdapter]:NEEDS[TweakScale] to SpaceY-Lifters/Parts/FuelTanks/tank5m3mAdapter.cfg/PART[SYtank5m3mAdapter]
[LOG 13:07:36.609] Applying update SpaceY-Lifters/Patches/SpaceY_TweakScale/@PART[SYtank5m*]:NEEDS[TweakScale] to SpaceY-Lifters/Parts/FuelTanks/tank5m3mAdapter.cfg/PART[SYtank5m3mAdapter]

What renders the ModuleManager.ConfigCache with this duplicated entry for TweakScale:

               MODULE
                {
                        name = TweakScale
                        type = adapter_4_3
                        defaultScale = 5.0
                }
                MODULE
                {
                        name = TweakScale
                        type = stack
                        defaultScale = 5.0
                }

I don't know what patch is the correct one, however. Apparently no harm is being done, but TweakScale "fix" for this problem induces am annoying warning from KSP every time the craft is being loaded.

Cheers!

Share this post


Link to post
Share on other sites
On 11/11/2019 at 10:07 PM, Lisias said:

Hi. An user just report me a duplicate patch on the SpaceY-Lifters/Patches/SpaceY_TweakScale.cfg patch. A "rogue" wildcard is patching a part twice, with two completely different patches.

Here is the module configuration that is causing the problem:

@PART[SYtank5m3mAdapter]:NEEDS[TweakScale] // 5m-3.75m fueled adapter
{
	MODULE
	{
		name = TweakScale
		type = adapter_4_3
		defaultScale = 5.0
	}
}
@PART[SYtank5m*]:NEEDS[TweakScale] // 5m short fuel tank
{
	MODULE
	{
		name = TweakScale
		type = stack
		defaultScale = 5.0
	}
}

SYtank5m* matches the following parts:

  • SYtank5m3mAdapter
  • SYtank5mCone2
  • SYtank5mL0188
  • SYtank5mL0375
  • SYtank5mL0750
  • SYtank5mL1125
  • SYtank5mL1500

The easiest solution would then be to replace SYtank5m* with SYtank5mL*|tank5mCone2 to match everything but the adapter.

Edited by MadProgrammer

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.