zer0Kerbal / SimpleConstruction

Provides simple craft building capability in flight mode to stock parts for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/191424-*/
GNU General Public License v3.0
6 stars 7 forks source link

[Bug 🐞]: ELxxxSkill Log Spam #84

Closed zer0Kerbal closed 2 years ago

zer0Kerbal commented 2 years ago

Brief description of your issue

``from: 👾 eightiesboi eightiesboi

KSP Forums

[ERR 16:24:52.448] ExperienceTrait: Cannot add effect 'ELSurveySkill' as it does not exist. [ERR 16:24:52.448] ExperienceTrait: Cannot add effect 'ELConstructionSkill' as it does not exist. [ERR 16:24:52.449] ExperienceTrait: Cannot add effect 'ELConstructionSkill' as it does not exist. [ERR 16:24:52.449] ExperienceTrait: Cannot add effect 'ELSurveySkill' as it does not exist. [ERR 16:24:52.450] ExperienceTrait: Cannot add effect 'ELConstructionSkill' as it does not exist. [ERR 16:24:52.451] ExperienceTrait: Cannot add effect 'ELConstructionSkill' as it does not exist. [ERR 16:24:52.451] ExperienceTrait: Cannot add effect 'ELConstructionSkill' as it does not exist. [ERR 16:24:52.451] ExperienceTrait: Cannot add effect 'ELSurveySkill' as it does not exist.

And then I found this on the forums:

@EXPERIENCE_TRAIT[Pilot] {
    EFFECT {
        name = ELSurveySkill
    }
}

@EXPERIENCE_TRAIT[Engineer] {
    EFFECT {
        name = ELConstructionSkill
    }
}

What do you think?  What did I screw up... again? 

Logs here: EL SC.zip

Steps to reproduce

  1. install SCON
  2. start the game
  3. read the KSP.log

Expected behavior

no spam 🍝

No Spam :(

Actual behavior

spamming log

Spam in a can with black ham

Environment

latest

How did you download and install this?

CurseForge (download and manual installation)

zer0Kerbal commented 2 years ago

currently the patch reads like this:

@EXPERIENCE_TRAIT[Pilot]
{
    EFFECT
    {
        %name = ELSurveySkill
    }
}

@EXPERIENCE_TRAIT[Engineer]
{
    EFFECT
    {
        %name = ELConstructionSkill
    }
}
zer0Kerbal commented 2 years ago

it should read like this:

@EXPERIENCE_TRAIT[Pilot]
{
    EFFECT
    {
        name = ELSurveySkill
    }
}

@EXPERIENCE_TRAIT[Engineer]
{
    EFFECT
    {
        name = ELConstructionSkill
    }
}