On Demand Fuel Cells (ODFC) by Orum

On Demand Fuel Cells (ODFC) by Orum

3.1k Downloads

[Bug 🐞]: Missing History config error

New-Account-5728415 opened this issue Β· 3 comments

commented

Brief description of your issue (aka the problem)

The config for Missing History's Mk2-B "Palici" Command Pod (commandPod_1p5) isn't set up properly to patch its electric charge and monopropellant capacity. When starting the game with Module Manager, Missing History, and ODFC, the following error is logged:
[LOG 22:53:37.166] Applying update OnDemandFuelCells/Config/MissingHistory/@part[commandPod_1p5]:NEEDS[OnDemandFuelCells,MissingHistory]:AFTER[OnDemandFuelCells] to MissingHistory/parts/PaliciPod/PaliciPod.cfg/PART[commandPod_1p5]
[ERR 22:53:37.167] Error - Cannot parse variable search when replacing (%) key amount = #$../../CrewCapacity$

Operating system

Windows 10

KSP version

1.12.5

Version of addon

1.2.99.1

Steps to reproduce the behavior or issue

  1. install Module Manager, ODFC, Missing History
  2. run game

Expected behavior

The electric charge and monopropellant capacity would be patched based off of the crew capacity.

Actual behavior

The patch results in an error in Module Manager and does not apply.

Environment

Module Manager: 4.2.3
OnDemandFuelCells: 1.2.99.1
Missing History: 1.9.3

KSP: 1.12.5

Module Manager: CKAN
ODFC: CurseForge
Missing History: Spacedock

Log files

Player.log
ModuleManager.log

Screenshots

No response

Additional context

No response

How did you download and install this?

CurseForge (download and manual installation)

commented

πŸ‘ Thank you @New-Account-5728415 :octocat:

❓❔

Have you reviewed the open issues logs and recent changelogs?

In order to help us help you, please provide:

  • <KSP_ROOT>/KSP.LOG
  • and one of the following:
    • if Module Manger is installed
      • <KSP_ROOT>/GameData/ModuleManager.ConfigCache
    • if Module Manger /L is installed
      • <KSP_ROOT>/PluginData\ModuleManager\ConfigCache.cfg
  • Screenshots of issue (if appropriate) (images tell a much stronger tale)

You can archive these files (rar or zip, sadly no 7zip) and drag-n-drop them into an issue comment

πŸ“³πŸ‘€Please either watch this repositiory for updates.

πŸ’¬Kindly read our simple guides to:

commented

I forgot to add screenshots:

Image
Image

commented

I was able to get rid of the error by replacing #$../../CrewCapacity$ with #$../CrewCapacity$, which was commented earlier in the config, but I'm not sure if the value calculated is what is intended.