ASCIInerd73

[1.7.3 Breaking Ground] Stop Breaking Ground Notification Spam

Recommended Posts

Notification spam is no longer an issue with KSP 1.8. Therefore, this mod will not be updated. Do not post asking about KSP 1.8, as this mod's functionality is handled by the stock game in that version.

 

Github Repo

Tired of the spam of notifications resulting from using the new surface experiments in the new expansion?

I was. So I made this mod which decreases the rate of notifications for those experiments to once per Kerbin day, which eases up the spam.

To Install

Download the latest version of Module Manager and install it. Then, download the latest version and unzip it into the GameData folder of your copy of KSP.

Issues

This mod only changes the rate for experiments which are deployed after you install the mod. To change for already deployed experiments, you need to open your persistent.sfs file and change the value under ScienceTimeDelay for each such experiment.

EDIT (9/22): I am getting some complaints that this mod seems to no longer work for some people. I will try to figure out what is happening as soon as I can; in the meantime, you may need to manually adjust the ScienceTimeDelay in your persistent.sfs for every science experiment you put down.

EDIT (10/16): It has been alleged that ksp 1.8 fixes this bug. This will, therefore, likely be the end of this mod.

Edited by ASCIInerd73

Share this post


Link to post
Share on other sites

Ten thousand million thanks.  From me.

Twenty thousand million thanks.  From my mouse button.

 

EDIT: It seems this will solve the issue for _new_ science clusters - if you want to reduce the spam from existing clusters in a save, you'll need to edit the same line in the persistent file as well.

Edited by AlexinTokyo

Share this post


Link to post
Share on other sites
17 hours ago, AlexinTokyo said:

Ten thousand million thanks.  From me.

Twenty thousand million thanks.  From my mouse button.

 

EDIT: It seems this will solve the issue for _new_ science clusters - if you want to reduce the spam from existing clusters in a save, you'll need to edit the same line in the persistent file as well.

Yeah, that's a known thing. I should probably make a note of that in the original post.

Share this post


Link to post
Share on other sites

but not - this not works

not even editation in GameData\SquadExpansion\Serenity\Resources\DeployedScience.cfg  :wacko:

Share this post


Link to post
Share on other sites
49 minutes ago, kyklop said:

but not - this not works

not even editation in GameData\SquadExpansion\Serenity\Resources\DeployedScience.cfg  :wacko:

Is this for experiments which were already deployed before installing the mod? I already know that it doesn't do anything then.

Share this post


Link to post
Share on other sites

It does not even work for the experiments set after the mod install in the same save.

Have yet to try to create an other game from the beginning to check.

 

Seems that science cluster functions by celestial body. So every other instruments that you set on the same celestial body than the first ones, (for example the Mun in my case) will have the same issue.

And the science cluster seems to be applied by the science control station.

One cumbersome fix you could apply is to delete the science stations on the said celestial body and install new ones either with a new mission or with hyperedit or whatever teleportation cheat you may have at your disposal.

It is just a hunch of course. If I were you I'd try to delete de stations, save the game and then set up the new ones.

Edited by Quoniam Kerman

Share this post


Link to post
Share on other sites
12 minutes ago, Quoniam Kerman said:

It does not even work for the experiments set after the mod install in the same save.

Have yet to try to create an other game from the beginning to check.

 

Seems that science cluster functions by celestial body. So every other instruments that you set on the same celestial body than the first ones, (for example the Mun in my case) will have the same issue.

And the science cluster seems to be applied by the science control station.

One cumbersome fix you could apply is to delete the science stations on the said celestial body and install new ones either with a new mission or with hyperedit or whatever teleportation cheat you may have at your disposal.

Is this in KSP 1.7.3? If so, could you check ScienceTimeDelay value for each such experiment you have in your save and reply with the values?

Share this post


Link to post
Share on other sites

There is no such delay for each experiment in each instrument value paragraph,there is only one set of value set for the entire scenario (aka save) and it always resets itself despite me changing it. For now, in my current save, I have put multiple experiments on the Mun only. (four sets of experiments to be precise, so I get four times more message spam.  I'm under the impression that the the number of experiment sets you install on any given celestial body is unimportant to the final upmost science number you'll gain, you just collect it faster It doesn't work as SEP mod was, aka biome dependant.

Hence why I suspect that it is set at game launch when you begin a new save, like other hard preference settings you customize at save launch but can't access after you have begun the game on that particular save.

Look for yourself:  (and yes, this is 1.7.3 with stopmessage spam mod installed but Installed it after having already 3 culsters on the Mun.

Spoiler

SCENARIO
    {
        name = DeployedScience
        scene = 7, 8, 5, 6
        ScienceTimeDelay = 60
        DataSendFailedTimeDelay = 600
        SCIENCECLUSTERS
        {
            SCIENCECLUSTER
            {
                ControlModulePartId = 4225961746
                DeployedBody = Mun
                ControlModuleEnabled = True
                LastScienceGeneratedUT = 1339065.5097678832
                MANNEDSCIENCEPARTS
                {
                    MANNEDSCIENCEPART
                    {
                        PartId = 4225961746
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = True
                        AntennaBoosterPower = 500000
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 3024993005
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 3409081424
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 4043857644
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 1996089088
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 1996089088
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedSeismicSensor
                            TotalScienceGenerated = 320
                            StoredScienceData = 0
                            TransmittedScienceData = 320
                            ScienceLimit = 320
                            ScienceValue = 1.39999998
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 1
                            LastScienceGeneratedUT = 1312019.8805570023
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = 40145182-d316-4814-abd5-d4e30d6fe2d9
                            distanceCurve
                            {
                                key = 0 0 50 50
                                key = 0.02 1 -0.04528769 -0.04528769
                                key = 0.3 0.5 0.02469246 0.02469246
                                key = 1 0.5 0 0
                            }
                        }
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 1618218911
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 1618218911
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedGooObservation
                            TotalScienceGenerated = 45.1843796
                            StoredScienceData = 0.000823046896
                            TransmittedScienceData = 45.1810989
                            ScienceLimit = 180
                            ScienceValue = 0.393750012
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 1
                            LastScienceGeneratedUT = 1339065.4897678832
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = 73b82649-27eb-45da-adf7-d2f8c4a237fb
                            distanceCurve
                            {
                            }
                        }
                    }
                }
            }
            SCIENCECLUSTER
            {
                ControlModulePartId = 1915049364
                DeployedBody = Mun
                ControlModuleEnabled = True
                LastScienceGeneratedUT = 1339065.3897678831
                MANNEDSCIENCEPARTS
                {
                    MANNEDSCIENCEPART
                    {
                        PartId = 1915049364
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = True
                        AntennaBoosterPower = 500000
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 3649743112
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 3808341524
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 2060318767
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 2060318767
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedGooObservation
                            TotalScienceGenerated = 11.7051105
                            StoredScienceData = 0.000264199218
                            TransmittedScienceData = 11.7040567
                            ScienceLimit = 180
                            ScienceValue = 0.28125
                            ScienceModifierRate = 25
                            ScienceDiminishingModifierRate = 0.449999988
                            LastScienceGeneratedUT = 1339065.3697678831
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = f0c58b56-685c-42d1-bf1f-adb751691047
                            distanceCurve
                            {
                            }
                        }
                    }
                }
            }
            SCIENCECLUSTER
            {
                ControlModulePartId = 2603944316
                DeployedBody = Mun
                ControlModuleEnabled = True
                LastScienceGeneratedUT = 1339065.5097678832
                MANNEDSCIENCEPARTS
                {
                    MANNEDSCIENCEPART
                    {
                        PartId = 2603944316
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = True
                        AntennaBoosterPower = 500000
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 2579234190
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 1750395881
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 651014303
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 1
                        ActualPowerUnitsProduced = 1
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 935163028
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 935163028
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedGooObservation
                            TotalScienceGenerated = 6.60746336
                            StoredScienceData = 0.000370494148
                            TransmittedScienceData = 6.60597944
                            ScienceLimit = 180
                            ScienceValue = 0.393750012
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 0.449999988
                            LastScienceGeneratedUT = 1339065.4697678832
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = 1dde719d-b535-4322-93fa-923b60a37120
                            distanceCurve
                            {
                            }
                        }
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 4090018304
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 4090018304
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedSeismicSensor
                            TotalScienceGenerated = 123.104996
                            StoredScienceData = 0
                            TransmittedScienceData = 2.90897965
                            ScienceLimit = 320
                            ScienceValue = 1.39999998
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 0.349999994
                            LastScienceGeneratedUT = 1312019.8805570023
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = d9d8d938-9463-46d7-b04f-cb3f5348b8b3
                            distanceCurve
                            {
                                key = 0 0 50 50
                                key = 0.02 1 -0.04528769 -0.04528769
                                key = 0.3 0.5 0.02469246 0.02469246
                                key = 1 0.5 0 0
                            }
                        }
                    }
                }
            }
            SCIENCECLUSTER
            {
                ControlModulePartId = 2721980174
                DeployedBody = Mun
                ControlModuleEnabled = True
                LastScienceGeneratedUT = 1339065.5097678832
                MANNEDSCIENCEPARTS
                {
                    MANNEDSCIENCEPART
                    {
                        PartId = 2721980174
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = True
                        AntennaBoosterPower = 500000
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 4286540907
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 2
                        ActualPowerUnitsProduced = 2
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 1661078706
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 2
                        ActualPowerUnitsProduced = 2
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 1161596375
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 1161596375
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedGooObservation
                            TotalScienceGenerated = 5.36113262
                            StoredScienceData = 0.000370494148
                            TransmittedScienceData = 5.35964966
                            ScienceLimit = 180
                            ScienceValue = 0.393750012
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 0.449999988
                            LastScienceGeneratedUT = 1339065.4697678832
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = d3dbce58-4376-49e4-ac9e-799294cdb4c4
                            distanceCurve
                            {
                            }
                        }
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 3854251018
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 0
                        ActualPowerUnitsProduced = 0
                        PowerUnitsRequired = 1
                        IsSolarPanel = False
                        IsAntenna = False
                        AntennaBoosterPower = 0
                        EXPERIMENT
                        {
                            PartId = 3854251018
                            ExperimentName = ModuleGroundExperiment
                            ExperimentId = deployedSeismicSensor
                            TotalScienceGenerated = 9.29674053
                            StoredScienceData = 0
                            TransmittedScienceData = 0
                            ScienceLimit = 320
                            ScienceValue = 1.39999998
                            ScienceModifierRate = 35
                            ScienceDiminishingModifierRate = 0.349999994
                            LastScienceGeneratedUT = 1312019.8805570023
                            noPowerMsgPosted = False
                            noCommNetMsgPosted = False
                            VesselId = 9d4fa283-0cf3-4cc9-88db-e57041ff8683
                            distanceCurve
                            {
                                key = 0 0 50 50
                                key = 0.02 1 -0.04528769 -0.04528769
                                key = 0.3 0.5 0.02469246 0.02469246
                                key = 1 0.5 0 0
                            }
                        }
                    }
                    MANNEDSCIENCEPART
                    {
                        PartId = 2417952553
                        Enabled = True
                        DeployedOnGround = True
                        PowerUnitsProduced = 2
                        ActualPowerUnitsProduced = 2
                        PowerUnitsRequired = 0
                        IsSolarPanel = True
                        IsAntenna = False
                        AntennaBoosterPower = 0
                    }
                }
            }
        }

One thing is sure Squad should make those messages not related to the meassge app just like asteroid research by the IR telescope because it is where these messages belong after all. You can still check the overall science gathering progress in the RéD center in the archive section. That is precise enough to make people understand that the research is classified by celestial body and that the max number of science points does't relate to the number of experiment cluster you've installed on the said celestial body.

I know I should lose the habit to put experiment clusters in each biom I visit just like I used to do with SEP.

One funny thing though is that it still works fine for passive seismic experiment, have more than one helps you to gather crashed vessel seismic science much faster... without any message spam... but be sure to have at least one relay comsat in orbit or the absence of com will generate an ultra message spam from those ten times higher than the Goo normal message spam hance why I found 9333 messages in the app after a few IG hours timewarp only...

Edited by Quoniam Kerman

Share this post


Link to post
Share on other sites
16 hours ago, ASCIInerd73 said:

Is this for experiments which were already deployed before installing the mod? I already know that it doesn't do anything then.

Ups... yes, experiments  are already deployed...

 

16 hours ago, ASCIInerd73 said:

Is this in KSP 1.7.3? If so, could you check ScienceTimeDelay value for each such experiment you have in your save and reply with the values?

interesting - how to do it?

 

Share this post


Link to post
Share on other sites

Go in your KSP folder, there is a subfolder named "saves" All saves and backups and quick saves are there. Open the savefiles with a text editor (the Windows notepad will do)

Edited by Quoniam Kerman

Share this post


Link to post
Share on other sites

thanks


It's Bad - Science Time Delay = 60: wacko:
I tried to destroy an existing station (I only had it on Kerbin) and build a new one - it doesn't work.

So ... I'll try to edit the save

Share this post


Link to post
Share on other sites

 it seems, that editing save has helped.

Message spam ended, the station will send the message once a day.  But I'm not sure, if I'm getting the right amount of science. But this is not important (particularly...)

Share this post


Link to post
Share on other sites

I can confirm that with a new save, this mod is not working.  Still getting bombarded with spam notifications

Share this post


Link to post
Share on other sites

It seems, that editing save is - at this time - the only feasible way to limit "Screen Message spam"

To edit save you will use a text editor for "plain text" eg notepad ++, but the editor from windows also works. The text string "ScienceTimeDelay" appears in save just once on at line around 350-360 (in my save). I recommend editing the save while running KSP in the "second home screen" and I recommend editing the freshly created quicksave.sfs file, not persistent.sfs - as is usually recommended. Damage to the quicksave.sfs game will survive without serious problems, but damage to persistent.sfs will cause the save game not to load at all.

Edit this:

        ScienceTimeDelay = 21600  //60 <- one message per Kerbin day
        DataSendFailedTimeDelay = 3600  //60 <- if message transfer fail (eclipse ect.), try repeat transfer after 1 hour, not 1 minut

If this does not help, you will have to make a harder decision - and edit directly the file

...Steam\steamapps\common\Kerbal Space Program\GameData\SquadExpansion\Serenity\Resources\DeployedScience.cfg

in the same manner:

        ScienceTimeDelay = 21600
        DataSendFailedTimeDelay = 3600 

Edited by kyklop

Share this post


Link to post
Share on other sites

I have a doubt about the mod and the things they suggest in the comments: does it only affect the frequency of notifications or does it also affect the amount of science received?

Share this post


Link to post
Share on other sites

@ASCIInerd73 I've submitted a pull request that should fix things. The original patch was adding another ScienceTimeDelay value instead of modifying the existing one. Note that this is purely a syntax PR to actually modify the value instead of adding another one.

edit: 1.8 released, finally fixing this bug officially. GG :D 

Edited by Jognt

Share this post


Link to post
Share on other sites

@Jognt I'm staying with 1.7.3 for a good while, the following lines should work properly, I hope?

Spoiler

@DEPLOYEDSCIENCE
{
    %ScienceTimeDelay = 21600
    %DataSendFailedTimeDelay = 3600
    // Calculate science for timed experiments every x seconds.
    // Change from the default value of 60 seconds to every 21600 seconds (once per Kerbin day)
}

 

Share this post


Link to post
Share on other sites

Thanks for the Like, I understand that as a "yes" to  my question then. :) 

Share this post


Link to post
Share on other sites
1 hour ago, VoidSquid said:

Thanks for the Like, I understand that as a "yes" to  my question then. :) 

It was a “just woke up, the syntax is correct, I haven’t triple checked the values, but you can also use this mod itself, though I noticed it hasn’t added the retry delay, what should I reply? I’ll go with a like for now” kind of response. :P 
 

now.. coffee... 

Share this post


Link to post
Share on other sites

Those who are now on 1.8, rejoice, the message spam has ended.  Now instruments give messages once every few days. Plus there is a delete button in the message app to delete all messages at once.

Share this post


Link to post
Share on other sites
This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.