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 🐞]: Metal Containers are not working for me #92

Closed DarinDev1000 closed 2 years ago

DarinDev1000 commented 2 years ago

Brief description of your issue

None of the metal containers have any storage space. Metal doesn't even show up. I'm not sure if this is a bug or because I was messing with the ScienceLabs.cfg file. (Removed some of the metal code then put it back)

Steps to reproduce

If this is an issue just on my system, is there a way to completely reset the metal storage parts? Removing the plugin doesn't seem to help.

Expected behavior

Metal containers should have metal storage

Actual behavior

No storage shows up for metal

Environment

Mod: 4.0.99.4
KSP: 1.12.3.3173
Install: CurseForge App
[KSP.log](https://gist.github.com/DarinDev1000/f961ba66f2c8b1b8f31c21ebb1d2ebdf)

KSP.log

How did you download and install this?

OverWolf/CurseForge App (auto install)

github-actions[bot] commented 2 years ago

Thank you. Kindly read contributiing.md, code_of_conduct.md and styleguide.md. These are boilerplate.

DarinDev1000 commented 2 years ago

Just removed an old version of Community Resource Pack I manually loaded SimpleConstruction-4.0.99.3-prerelease-CF, same issue. Then I loaded SimpleConstruction-4.0.9.9.1-prerelease-CF and the metal storage values show up! Reloaded, 4.0.99.4 and now Metal storage and RocketPart storage are both not showing any storage values.

DarinDev1000 commented 2 years ago

May have found the issue. Metal tank storage shows up when I install B9PartSwitch

zer0Kerbal commented 2 years ago

thank you @DarinDev1000 for this bug report and thank you for including the KSP.log!

Am looking into it right now.

zer0Kerbal commented 2 years ago

here might the issue:

might be a need to update Module Manager to 4.2.1

zer0Kerbal commented 2 years ago

Also - Do you have multiple copies of ModuleManager.dll present in your GameData folder?

should only have one, the latest. Didn't used to cause issues until ~1.12.x when Squad changed KSP to not like multiple copies of .dll's

zer0Kerbal commented 2 years ago

Same goes for [MiniAVC] - I usually delete them all, but suggest zero MiniAVC (mod) to clean them out.


  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00049] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <ef151b6abb5d474cb2c1cb8906a8b5a4>:0 
  at MiniAVC.Addon.FetchRemoteInfo () [0x0002e] in <946c68c810554a77bc35cab54adcb678>:0 
  at MiniAVC.Addon.ProcessRemoteInfo (System.Object state) [0x00045] in <946c68c810554a77bc35cab54adcb678>:0 ```
zer0Kerbal commented 2 years ago

FYI (shouldn't be an issue - but thought I would mention)

zer0Kerbal commented 2 years ago

Query: did you fully delete the [GameData/ExtraplanetaryLaunchpads] and [GameData/SimpleConstruction] 📁 folders when you upgraded/reinstalled?

zer0Kerbal commented 2 years ago

@DarinDev1000 I did find some issues in one of the [GameData/SimpleConstruction/Config] files, specifically [Resources.cfg] - thank you.

Here is an updated version: Kindly replace yours with this version (from the upcoming 4.0.99.5-prerelease) Resources.zip

zer0Kerbal commented 2 years ago

image

seems to be working. B9PartSwitch isn't installed.

There also should be a new button in the editors (bottom) (you probably already knew that) image

Thank you again @DarinDev1000 ! New release coming out shortly.

DarinDev1000 commented 2 years ago

Query: did you fully delete the [GameData/ExtraplanetaryLaunchpads] and [GameData/SimpleConstruction] 📁 folders when you upgraded/reinstalled?

Yes, I deleted both folders every time I switched versions.

DarinDev1000 commented 2 years ago

Random question but is CommunityResourcePack a dependency?

DarinDev1000 commented 2 years ago

I tested the update without B9PartSwitch. Looks like it works!

zer0Kerbal commented 2 years ago

Random question but is CommunityResourcePack a dependency?

used to be, but I made the patches smarter; so the needed resourced Metal and RocketParts are installed by SimpleConstruction! if CRP isn't installed.

Whole idea behind SimpleMods (KerbSimpleCo) is just that - KIKS (keep it kerbal simple) ;p

zer0Kerbal commented 2 years ago

I tested the update without B9PartSwitch. Looks like it works!

just an issue with :NEEDS[] having B9PartSwitch when it shouldn't.

Again, thank you @DarinDev1000, very much appreciated. 💯

DarinDev1000 commented 2 years ago

Thanks for the fix and the work you put into this! Screenshot (87)

DarinDev1000 commented 2 years ago

Updated KSP.log for reference

zer0Kerbal commented 2 years ago

most certainly welcome!

nice looking base!