Jump to content

[1..x, 1.9.x, 1.10.x] Kerbal Research & Development


linuxgurugamer
 Share

Recommended Posts

Is it possible to use KR&D to improve the converterEfficiency for thins like Extraplanetary Launch Pads workshops similar to what can be done with drills and ISRU? I don't want to change the equation of input resources to output resources so much as I'd like to make the various parts produce things faster with KR&D upgrades.

For example, the KS-WS-01-0 Construction Drone is able to take electric charge + metal and output rocket parts + scrap metal. It does this using flow rates much like an engine where instead of thrust we have part production, but the flow rate is fixed. KR&D will let me reduce the mass of this construction drone, or boost its heat tolerance, but those are the only attributes I can affect.

Link to comment
Share on other sites

45 minutes ago, schlosrat said:

Is it possible to use KR&D to improve the converterEfficiency for thins like Extraplanetary Launch Pads workshops similar to what can be done with drills and ISRU? I don't want to change the equation of input resources to output resources so much as I'd like to make the various parts produce things faster with KR&D upgrades.

For example, the KS-WS-01-0 Construction Drone is able to take electric charge + metal and output rocket parts + scrap metal. It does this using flow rates much like an engine where instead of thrust we have part production, but the flow rate is fixed. KR&D will let me reduce the mass of this construction drone, or boost its heat tolerance, but those are the only attributes I can affect.

Probably not

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

I am having an issue where no matter which part I try to select to upgrade, it will always say "choose a different part to upgrade" I have all the dependencies and am on the latest version of the game, all the mods are in the gamedata folder. what am I doing wrong?

Link to comment
Share on other sites

2 hours ago, Supertacoz said:

I am having an issue where no matter which part I try to select to upgrade, it will always say "choose a different part to upgrade" I have all the dependencies and am on the latest version of the game, all the mods are in the gamedata folder. what am I doing wrong?

Start off with a log file, please

Link to comment
Share on other sites

  • 3 weeks later...

I have the same issue as Supertacoz

I looked into the log and found out that Krnd generates the same exception message for every parts it tries to do something:. For example with a drill part:

[ERR 00:56:52.511] [KRnD] updatePart(RadialDrill): System.Exception: no original-stats for part 'RadialDrill'
  at KRnD.KRnD.updatePart (Part part, KRnD.KRnDUpgrade upgradesToApply) [0x00070] in <d0078e99fbf545ee9aa672563cbbf88c>:0

then there is the message:

[LOG 00:56:52.562] 2022-07-03 00:56:52.562 [ERROR]   KRnD: retrieved and applied 1257 upgrades in 0.124s

 

 

Link to comment
Share on other sites

2 hours ago, HeavyDestroyer said:

I have the same issue as Supertacoz

I looked into the log and found out that Krnd generates the same exception message for every parts it tries to do something:. For example with a drill part:

[ERR 00:56:52.511] [KRnD] updatePart(RadialDrill): System.Exception: no original-stats for part 'RadialDrill'
  at KRnD.KRnD.updatePart (Part part, KRnD.KRnDUpgrade upgradesToApply) [0x00070] in <d0078e99fbf545ee9aa672563cbbf88c>:0

then there is the message:

[LOG 00:56:52.562] 2022-07-03 00:56:52.562 [ERROR]   KRnD: retrieved and applied 1257 upgrades in 0.124s

 

 

Those messages are totally meaningless without a log file.

If you noticed, @Supertacoz never provided a log file, so I wasn't able to do anything

 

Link to comment
Share on other sites

7 hours ago, HeavyDestroyer said:

I'm going to need your ModuleManager.configcache file.

I'm leaning towards an  error in something else, I found this:

[ERR 00:56:38.280] [KRnD] Awake(): System.ArgumentException: An item with the same key has already been added. Key: Fertilizer
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <9577ac7a62ef43179789031239ba8798>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at KRnD.PartStats..ctor (Part part) [0x003e1] in <d0078e99fbf545ee9aa672563cbbf88c>:0 
  at KRnD.KRnD.Awake () [0x003c0] in <d0078e99fbf545ee9aa672563cbbf88c>:0 

which indicates that another mod has Fertilizer configured two times.  This error is near the top of the file, which probably means that once it happens, the mod stops working.

Once I can see the ModuleManager.configcache file, I can verify this and then implement a fix, also will need to notify the mod author about the error

 

Edit:  You can try this beta:

https://www.dropbox.com/s/uykyno8dwp0goe4/KRnD-1.16.0.10.zip?dl=0

I've added checks for duplicate resources, and if any found, writes an error to the log file without an exception

Edited by linuxgurugamer
Link to comment
Share on other sites

19 hours ago, HeavyDestroyer said:

Here's the configcache file: https://drive.google.com/file/d/1Bggl9LNW3Z4zahctX2jKOE3DBwAEqlxy/view?usp=sharing

The beta you gave me didn't fix the problem.

Another beta:

https://www.dropbox.com/s/pvh7g53eskkwnvv/KRnD-1.16.0.11.zip?dl=0

And I need the Player.log, either way, if this fixes it or it doesn't.

Thanks

Link to comment
Share on other sites

43 minutes ago, HeavyDestroyer said:

It worked ! I can upgrade parts ! Thanks ! Although I can't upgrade the "fuel pressure" of fuel tanks that normally contain Lf+Ox (probably because one of my mods adds the posibility to swap Lf+Ox for other fuels)

 

From the OP:

Quote

Please note that this mod is not 100% compatible with other mods which modify parts at runtime (eg TweakScale,  InterstellarFuelSwitch, Firespitter, B9PartSwitch).

Very specifically, the issues are these:

First, the following parts are blacklisted because they are controlled by FSfuelSwitch:

[LOG 14:44:15.186] 2022-07-10 14:44:15.186 [ERROR]   KRnD: blacklisting part 'KER.Adapter' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.187] 2022-07-10 14:44:15.186 [ERROR]   KRnD: blacklisting part 'KER.Crate' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.187] 2022-07-10 14:44:15.187 [ERROR]   KRnD: blacklisting part 'KER.Tank' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.187] 2022-07-10 14:44:15.187 [ERROR]   KRnD: blacklisting part 'KER.WheelBay' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.187] 2022-07-10 14:44:15.187 [ERROR]   KRnD: blacklisting part 'KER.WheelBay.Short' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.188] 2022-07-10 14:44:15.188 [ERROR]   KRnD: blacklisting part 'C3.FlatRnd.01' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.188] 2022-07-10 14:44:15.188 [ERROR]   KRnD: blacklisting part 'C3.FlatRnd.02' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.188] 2022-07-10 14:44:15.188 [ERROR]   KRnD: blacklisting part 'C3.FlatRnd.03' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.189] 2022-07-10 14:44:15.188 [ERROR]   KRnD: blacklisting part 'C3.FlatRnd.04' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.189] 2022-07-10 14:44:15.189 [ERROR]   KRnD: blacklisting part 'C3.FlatTank.01' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.189] 2022-07-10 14:44:15.189 [ERROR]   KRnD: blacklisting part 'C3.FlatTank.02' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.189] 2022-07-10 14:44:15.189 [ERROR]   KRnD: blacklisting part 'C3.FlatTank.03' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.190] 2022-07-10 14:44:15.189 [ERROR]   KRnD: blacklisting part 'C3.FlatTank.04' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.190] 2022-07-10 14:44:15.190 [ERROR]   KRnD: blacklisting part 'C3.Kontainer.01' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.190] 2022-07-10 14:44:15.190 [ERROR]   KRnD: blacklisting part 'C3.Kontainer.02' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.191] 2022-07-10 14:44:15.190 [ERROR]   KRnD: blacklisting part 'C3.Kontainer.03' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.191] 2022-07-10 14:44:15.191 [ERROR]   KRnD: blacklisting part 'C3.Kontainer.04' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.191] 2022-07-10 14:44:15.191 [ERROR]   KRnD: blacklisting part 'C3.LqdTrussTank' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.191] 2022-07-10 14:44:15.191 [ERROR]   KRnD: blacklisting part 'MountableLqdTank' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.192] 2022-07-10 14:44:15.191 [ERROR]   KRnD: blacklisting part 'MountableSupPack' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.192] 2022-07-10 14:44:15.192 [ERROR]   KRnD: blacklisting part 'RadialLqdTank' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.192] 2022-07-10 14:44:15.192 [ERROR]   KRnD: blacklisting part 'RadialSupPack' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.193] 2022-07-10 14:44:15.192 [ERROR]   KRnD: blacklisting part 'C3.RTank.00' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.193] 2022-07-10 14:44:15.193 [ERROR]   KRnD: blacklisting part 'C3.RTank.01' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.193] 2022-07-10 14:44:15.193 [ERROR]   KRnD: blacklisting part 'C3.RTank.02' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.193] 2022-07-10 14:44:15.193 [ERROR]   KRnD: blacklisting part 'C3.RTank.03' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.194] 2022-07-10 14:44:15.193 [ERROR]   KRnD: blacklisting part 'C3.RTank.04' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.194] 2022-07-10 14:44:15.194 [ERROR]   KRnD: blacklisting part 'C3.RTank.06' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.194] 2022-07-10 14:44:15.194 [ERROR]   KRnD: blacklisting part 'C3.RTank.08' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.194] 2022-07-10 14:44:15.194 [ERROR]   KRnD: blacklisting part 'StowPakSup' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.195] 2022-07-10 14:44:15.194 [ERROR]   KRnD: blacklisting part 'C3.Tank.01' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.195] 2022-07-10 14:44:15.195 [ERROR]   KRnD: blacklisting part 'C3.Tank.02' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.195] 2022-07-10 14:44:15.195 [ERROR]   KRnD: blacklisting part 'C3.Tank.03' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.195] 2022-07-10 14:44:15.195 [ERROR]   KRnD: blacklisting part 'C3.Tank.04' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.196] 2022-07-10 14:44:15.196 [ERROR]   KRnD: blacklisting part 'Ranger.ISM' (has blacklisted module 'FSfuelSwitch')
[LOG 14:44:15.196] 2022-07-10 14:44:15.196 [ERROR]   KRnD: blacklisting part 'Tundra.ISM' (has blacklisted module 'FSfuelSwitch'

 

Second, there is an error in  something causing a bad config in the MiniISRU which was actually causing the error:

[LOG 14:44:15.207] 2022-07-10 14:44:15.206 [ERROR]   KRnD: Part: Convert-O-Tron 125 (C:\Steam\steamapps\common\Kerbal Space Program\GameData\Squad\Parts\Resources\MiniISRU\MiniISRU.cfg) contains multiple definitions for ConverterName: Fertilizer

 

Finally, looking at the ModuleManager.configcache, I see that the MiniISRU has to ModuleResourceConverter entries for Fertilizer, so you have some sort of issue with your patches which is adding two converter modules to the MiniISRU

 

 

Edited by linuxgurugamer
Link to comment
Share on other sites

  • 3 weeks later...
6 hours ago, Guedez said:

The newest beta didn't solve it for me. Here are the KSP.log and ModuleManager.ConfigCache: https://www.mediafire.com/file/sqgcf6ynyc7ipfp/TMP.zip/file
I do use Tweak Scale, does that mean the mod is 100% incompatible or just some stuff will not be improvable?

Ummm, solve what?  You are new to this discussion, I don't know what you are having a problem with.  Please be more specific.

Also, pretty much any part that can be Tweakscaled will be incompatible with this mod, it's the way things work internally

Link to comment
Share on other sites

Ah, didn't notice the 3 weeks gap. I was having the same issue of no piece being able to be upgraded as an user above was having. There was some combination of mods I had previously where some pieces had some parts upgradable. I guess I will just remove tweak scale.

Link to comment
Share on other sites

10 hours ago, Guedez said:

Ah, didn't notice the 3 weeks gap. I was having the same issue of no piece being able to be upgraded as an user above was having. There was some combination of mods I had previously where some pieces had some parts upgradable. I guess I will just remove tweak scale.

Yes, due to the way this and the other mods which change part stats work, they essentially conflict with each other.  No easy way around it

Link to comment
Share on other sites

  • 2 weeks later...

New release, 1.16.0.13

This incorporates several unreleased fixes, which is why the version number jump

  • Thanks to @tgerland for providing a small update for the blacklist, to block Universal Storage 2
  • Added another check for duplicated converter
  • Added checks for duplicated resources in parts
Link to comment
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.

 Share

×
×
  • Create New...