KSP-ModularManagement / ModuleManager

ModuleManager is a mod that let you write patches that edit other parts at load time.
http://ksp.lisias.net/add-ons/ModuleManager
GNU General Public License v3.0
11 stars 5 forks source link

General Support Issue #2

Open Lisias opened 4 years ago

Lisias commented 4 years ago

So you got a message like this one, clicked on the Ok button and reached here?

Screen Shot 2023-09-11 at 22 50 25

Well, there's something very wrong on your KSP installation, usually a missing dependency or a borked CKAN update.

Please send me your KSP.log below and I will inspect it for the problem, and then I will be able to provide you with a solution. You can ping me on Forum too, so I will probably be notified faster about this.

Snake210993 commented 2 years ago

Hi, I installed tweak scale and I run into an Error

Intercepted a ReflectionTypeLoadException: List of broken DLLs - Scale 2.4.6.15 - Scale DLL

What can i provide you to help you solve this? =)

Lisias commented 2 years ago

Hi, @Snake210993 !

Hi, I installed tweak scale and I run into an Error

Intercepted a ReflectionTypeLoadException: List of broken DLLs - Scale 2.4.6.15 - Scale DLL

What can i provide you to help you solve this? =)

I need your full KSP.log . Everything I need should be there.

Unless you had made a mistake on installing TweakScale, what you have is a missing Dependency somewhere else and this is triggering a by a nasty KSP bug on the Assembler Resolver thingy yada yada yada :). TL;DR. when something borks being loaded due a faulty dependence, everything else trying to load something (or to use a thingy called Reflection) borks relentlessly due the bug. And since TweakScale makes heavy and critical use of exactly these two things. TweakScale yells when it detects this happened (because a faulty TweakScale will ruin your whole savegame).

Send me the full KSP.log (be careful to do not copy it with KSP running, to prevent it from being truncated) and I will inspect it for the troublemaker.

SWeeTS51088 commented 11 months ago

Hey, similar issue here. Only my "broken dll" is the firespitter.dll Please let me know what you need in order to help me figure out this issue. I assume you'll at least need my ksp.log, is there anything else? Also, thank you ahead of time. I can only imagine how busy/stressful it must be keeping up with a game like this and the inevitable flaws that I assume ensue.

My ksp.log, compressed right after the error (ksp was not running when I copied the log to another folder to compress it): KSP.zip

GamerPlayz200 commented 7 months ago

so i got the show stopper problem where it says

"Intercepted a ReflectionTypeLoadExeption. List of broken DLLs: Firespitter7.3.6195.32439 Gamedata/Firespitter/Plugins/Firespitter.DLL" Here is the ksp.log file. (compressed due to being too large) KSP.zip

Do i need to go in the game files to delete that or is it just a installation error or that stuff?

Lisias commented 7 months ago

Hi, @GamerPlayz200 . You probably have a old, deprecated version of FireSpitter installed.

I'm checking your KSP.log to be sure.

Lisias commented 7 months ago

@GamerPlayz200 , as a matter of fact, the problem is other. Your installment is screwed!

[LOG 08:04:29.969] Load(Assembly): IXS_Class_for_InterstellarLite/GameData/Firespitter/Plugins/Firespitter

Firespitter is installed on the wrong place. And it's also a very old one:

Firespitter v7.3.6195.32439

Delete this rogue FireSpitter from your rig, and install the newest: https://github.com/snjo/Firespitter/releases

I did a full scan in your log, and you have a lot of add'ons installed wrongly:

And, hey, you have a Firespitter installed on the right place! But I can't tell if it is the rigtht one, because the first one loaded takes precedence, and the first one is that borked one above.

So, in a nutshell, delete XS_Class_for_InterstellarLite and resintall KASA and FireSpitter on the right place. Delete also Corvus_V1.1.1 and reinstall Corvus on the right place.

By doing it, you will be fine.

Lisias commented 7 months ago

@GamerPlayz200 , in time... this directory Extras I found - if you got it from KSP-Recall or TweakScale, please delete it. It's not intended to be installed this way.

Lisias commented 7 months ago

@GamerPlayz200 . I also found another add'on installed on the wrong place!

You should move RoutineMissionManager directory into GameData, it should not be where it is now, GameData/GameData/RoutineMissionManager.

GamerPlayz200 commented 7 months ago

So I managed to get Corvus, RoutineMissionManager, KASA (i suppose). Firespitter i currently cant due to it interfering with a important build. Everything else should be working

Lisias commented 7 months ago

@GamerPlayz200 I'm not sure I understood (sorry, English is not my native tongue).

Should I understand that you moved successfully Corvus, RoutineMissionManager, KASA to the right place (directly into GameData), but couldn't do it for Firespitter?

You had two Firespitter copies in the rig, with one of them being that 7.3 extremely old one.

The best way out of the problem is to completely remove both, and then reinstall Firespitter 7.17 into the right place. If you don't want the parts and other assets (only the PartModules as a dependency from some 3rd parties), you can manually delete the following subdirectories from it:

Or perhaps I misunderstood something about Firespitter?

GamerPlayz200 commented 7 months ago

Oh, dont worry, I fixed it. Found out firespitter was thinking i was on KSP 1.8+ but its all good.

Thiagoodilon1 commented 3 months ago

hi, i don't know if i understood correctly, but i am trying to load ksp with the parallax mod (2.0.8 if the version is important) and im running into two errors, one is about grass not loading and the other is about ParallaxOptimized, idk how i should send my ksp log but this is what i found:

[LOG 19:48:30.363] Load(Assembly): Parallax/Grass [LOG 19:48:30.363] AssemblyLoader: Loading assembly at E:\KerbalSpaceProgram\Portuguese\GameData\Parallax\Grass.dll [LOG 19:48:30.365] Load(Assembly): Parallax/ParallaxOptimized [LOG 19:48:30.365] AssemblyLoader: Loading assembly at E:\KerbalSpaceProgram\Portuguese\GameData\Parallax\ParallaxOptimized.dll [LOG 19:48:30.366] AssemblyLoader: KSPAssembly 'Parallax' V1.0.0 [LOG 19:48:30.366] AssemblyLoader: KSPAssemblyDependency 'ParallaxQualityLibrary' V1.0.0 [LOG 19:48:30.366] Load(Assembly): Parallax/ParallaxQualityLibrary [LOG 19:48:30.366] AssemblyLoader: Loading assembly at E:\KerbalSpaceProgram\Portuguese\GameData\Parallax\ParallaxQualityLibrary.dll [LOG 19:48:30.367] AssemblyLoader: KSPAssembly 'ParallaxQualityLibrary' V1.0.0

Lisias commented 3 months ago

@Thiagoodilon1 You should send me KSP.log, without it I'm blind. Please mind that I can detect a patching error, but not a error on a patch - if the patch is syntactically OK but it does something wrong, I may not be able to help you.

On a quick check:

Thiagoodilon1 commented 3 months ago

KSP.log oohh ok I think got it, so basically:

(Hope this text is right, to be honest i didn't expected to someone actually respond, normally this services don't actually help a lot, in my case at least).

Lisias commented 3 months ago

@Thiagoodilon1

KSP.log oohh ok I think got it, so basically:

* I need to download Tessellation?

* The Parallax github says i need kopernicus 139, but actually i need the latest one they launched?

* Normally there's no grass in the KSC? (Probally this is expected since the KSC area is basically a plainside).

(Hope this text is right, to be honest i didn't expected to someone actually respond, normally this services don't actually help a lot, in my case at least).

Tessellation it's the "github name" for Parallax. :) You need to download and install it, as well the other packages (scatter textures and stock textures).

The Kopernicus 139 is the minimal version you need to install. At this time, it's way beyound 200! :)

About KSC, the KSC scene (where you can click on the buildings) is a different "Scene" from flight, and the Parallax guys didn't managed to crack on it yet. They say they will eventually - so, in order to see if the grass is working, you need to enter Flight mode currently!

Thiagoodilon1 commented 3 months ago

OK! it worked, now i can clearly see that my ksp CANNOT run smooth with GRASS (much less with ROCKS), but i guess i can low it by openning parallax config, either way, thank you very much.

SWeeTS51088 commented 3 months ago

@Lisias I don't mean to sound rude, but is there any reason why my post was overlooked?

Lisias commented 3 months ago

@SWeeTS51088

@Lisias I don't mean to sound rude, but is there any reason why my post was overlooked?

Yeah, I completely missed it. Early this year I was getting a somewhat busy time on DayJob© until late February and I just lost track of the github emails.

My apologies.

SWeeTS51088 commented 3 months ago

@Lisias No worries, I completely understand. Jus let me know if/when you'll have some time to take a look. I'll probably have to send you a new ksp.log because I've played around with some things trying to get it to work with no luck.

Lisias commented 3 months ago

@SWeeTS51088

Gee!! That problem from Jan 5th is still an issue?

By all means, in the future don't be shy and ask about it again, I don't mind being reminded about questions, I'm really prone to miss things when I'm buried on Day Job©!

I'll tackle it down in the ~next couple hours~ [edit: got lucky, got rid of it earlier than I though], I need to finish something first!

Lisias commented 3 months ago

@SWeeTS51088

Yeah, it's indeed an old copy of Firespitter playing havoc on your KSP 1.2.5. It's screwing MechJeb, that it's not shy on crying about.

[ERR 05:33:52.154] MechJeb caught a ReflectionTypeLoadException. Those DLL are not built for this KSP version:

[ERR 05:33:52.156] Firespitter 7.3.6195.32439 GameData\Firespitter\Plugins\Firespitter.dll

Install the latest Firespitter : https://github.com/snjo/Firespitter/releases , 7.17 at this time (you had 7.3 in your rig!).

gyoung12345 commented 3 months ago

Logs.zip i hope this worked

Lisias commented 3 months ago

@gyoung12345 ,

Logs.zip i hope this worked

Your logs are truncated! Please exit KSP before zipping them.

Additionally, I also need the KSP.log - it have way more information about what's happening, while the MM's ones are focused only on MM patchings.

hellbackTNT commented 1 month ago

hello. i have the same problem after trying to add more planets. KSP.zip

Lisias commented 1 month ago

Hi, @hellbackTNT !

Yes, I found the problem:

[LOG 19:56:29.671] [ModuleManager] INFO: "Houston, we have a Problem!" was displayed with message Intercepted a ReflectionTypeLoadException. List of broken DLLs:
ResearchBodies 1.13.0.0 GameData\REPOSoftTech\ResearchBodies\Plugins\ResearchBodies.dll

Digging on the log, I found:

[ERR 19:56:27.631] AssemblyLoader: Exception loading 'ResearchBodies': System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.Reflectio
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
  at AssemblyLoader.LoadAssemblies () [0x000e6] in <4b449f2841f84227adfaad3149c8fdba>:0

Additional information about this exception:

 System.IO.FileNotFoundException: Could not load file or assembly 'ContractConfigurator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its depend
File name: 'ContractConfigurator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

This means that you need to install (or reinstall) ContractConfigurator. as ResearchBodies has a hard dependency on it!

https://forum.kerbalspaceprogram.com/topic/91625-1101-contract-configurator-v1305-2020-10-05/

Cheers!

gaster1234567 commented 1 month ago

intercepted a reflection type load exception rasterpropmonitor 0.17.0.0

Lisias commented 1 month ago

hi, @gaster1234567

intercepted a reflection type load exception rasterpropmonitor 0.17.0.0

This means that there's something wrong with rasterpropmonitor that couldn't be loaded.

Paste your KSP.log here on a comment and I will check exactly what's happening but, on a wild guess, you appears to be using a very old rasterpropmonitor, 0.70.

The latest from milhara is 0.30 https://github.com/Mihara/RasterPropMonitor/releases and even this one is somewhat old.

If you are using KSP 1.12., you porbably should be installing this one: https://github.com/FirstPersonKSP/RasterPropMonitor/releases

gaster1234567 commented 1 month ago

I'm on ksp1.12.5 and i downloaded many of my mods through curseforge (which if that's a mistake tell me, im doing it because the forums are down) and i downloaded several mods before I started using curseforge, but i only got this error after adding several new mods on curseforge any way, I cant send the log because it's so big that github has trouble saving it

gaster1234567 commented 1 month ago

ksp.zip nvm i got it

Lisias commented 1 month ago

@gaster1234567

I'm on ksp1.12.5 and i downloaded many of my mods through curseforge (which if that's a mistake tell me, im doing it because the forums are down) and i downloaded several mods before I started using curseforge, but i only got this error after adding several new mods on curseforge any way, I cant send the log because it's so big that github has trouble saving it

Without the log I have my hands tied, but I'm guessing you installed old mods disregarding the compatibility flag.

Just got your ksp.log. And, yeah, another old add'on with deprecated copies of Module Manager!

BetterScienceLabs.v.25.0.1.1/Gamedata/ModuleManager.2.5.1

Being not enough, it was instaled on the wrong place. Oh, well... I checked CurseForge and the two forks I found are for KSP 0.25 and, the less older, KSP 1.0.5 - all of them too much old to allow working on modern KSP.

Some authors decided to ditch CurseForge and focus only on SpaceDock, but some users decided to stick on CurseForge and it's the reason I update my add'ons there. Unfortunately, it appears that I'm one of the few (it's just me and Nertea_01, apparently).

I suggest you browse SpaceDock for the add'ons you want. I also update mine there.

If you don't know how, or don't like, to do manual installings, perhaps you should try CKAN. It's pretty convenient, but now and then a mishap somewhere breaks everything in your rig - the problem on CKAN, IMHO, is that you can't choose to update only one add'on, it updates everything and so, it's hard to detect when one of them breaks something.

But if you are not going to install tons of add'ons, this will be rarely an issue for you!

Lisias commented 1 month ago

@gaster1234567 , I forgot to mention...

If you choose to use CKAN, please delete everything from your GameData, except Squad and SquadExpansion before running it!

CKAN doesn't knows squat about things from CurseForge, and there's a good chance that things could get messy. It's safer to start using CKAN from a clean slate.

gaster1234567 commented 1 month ago

thank you very much

gaster1234567 commented 1 month ago

I can just smell the smoke from my pc already, it'll be great

gaster1234567 commented 1 month ago

hey, im back. I'm getting fatals from tweakscale, I used your tweak scale companion following the instructions given for installation and am now getting a couple hundred fatals KSP.zip here's the log

Lisias commented 1 month ago

Hi, @gaster1234567 .

These FATALities are a hue pain in the ass, I agree. But they were linked in the past with craft corruption in the past, and so I kept them as FATAL because I just can't foresee when it will destroy your savegame or not.

I found them, by the way - TweakScale is extremely verbose when triggered...

[LOG 07:16:18.397] [TweakScale] ERROR: **FATAL** Part hanglel (Angled Wing Connector A) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale
/issues/34 ). at error:0

This usually happens when you have something installed twice in your rig, and - in fact - you have installed the APP Companion twice!

[LOG 07:11:45.394] Applying update TweakScaleCompanion/AirCrafts/APP/patches/000_CleanUp/@PART[hanglel,hawkerprop,herculesfrontgear,herculesgear,herculesprop,hipprop,hiptail,hlfSrf,hueyprop,hueytail]:BEFORE[TweakScaleCompanion_AirCrafts_APP] to AirplanePlus/Parts/Wheel/sharedgear/herculesgear.cfg/PART[herculesgear]
[LOG 07:11:45.586] Applying update GameData/TweakScaleCompanion/AirCrafts/APP/patches/AirplanePlus-Aero_TweakScale/@PART[hanglel]:NEEDS[AirplanePlus,TweakScale]:FOR[TweakScaleCompanion_AirCrafts_APP] to AirplanePlus/Parts/Aero/anglewings/hanglel.cfg/PART[hanglel]```

What you have now is something like:

Remove GameData/GameData in your KSP's root (and only the inner GameData, not the main one!!) and you will be fine.

gaster1234567 commented 1 month ago

it worked, thank you very much

evoli133 commented 1 month ago

i nee help i dont know the problemi just wanted to play ksp Bild_2024-10-26_222726929 [Uploading KSP.log…]()

evoli133 commented 1 month ago

KSP.log buildID.txt buildID64.txt KSP.log here the thing im think you nned please help me

Lisias commented 1 month ago

Hi, @evoli133 !!

I found the problem:

[LOG 22:06:08.112] Load(Assembly): SciFi Shipyards v3.1/GameData/ModuleManager.2.6.6
[LOG 22:06:08.112] AssemblyLoader: Loading assembly at C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\SciFi Shipyards v3.1\GameData\ModuleManager.2.6.6.dll

SciFi Shipyards v3.1 is wrongly installed. COMPLETELY REMOVE the directory C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\SciFi Shipyards v3.1 from your rig, this will fix the problem.

DO NOT install it again before running KSP to see if there's anything else happening.

If by removing the SciFi thingy you still get errors, kick me here with a new KSP.log and I will check what's wrong on it for you.

If after removing everything is fine, then it's time to install it again. But the right way this time. :)

Try watching this video: https://www.youtube.com/watch?v=1_0PNkIyHrU

And let me know if you need further assistance. Just ping me here and I will come back to you - I'm burning some midnight oil today, so chances are that I will be able to respond relatively quickly!

evoli133 commented 1 month ago

I will do that and thanks for a fast Response just one question I so after i can install it again about curseforge or is there Then a proplem

Lisias commented 1 month ago

@evoli133 ,

The problem on CurseForge is that a lot of add'ons there weren't updated for KSP 1.12.5. Before installing something, check the compatibility settings.

For example, https://www.curseforge.com/kerbal/ksp-mods/tweakscale

Screen Shot 2024-10-27 at 04 54 23

When the Game Versions says KSP 1.12.0 or bigger, it's certain is will work for KSP 1.12.5 (that you are using).

When the Game Versions says 1.10.0 to 1.11.2, but doesn't mention 1.12.x, it's almost sure it will work on 1.12.5.

When the Versions says KSP 1.8.0 to 1.9.1, but doesn't mention anything newer, most add'ons will work but a few will bork.

From 1.3.1 to 1.7.3, your mileage will vary greatly. PartSets will almost surely works, but functional add'ons (the ones that adds Assemblies with new features), they're Russian Roulette. Firespitter, for example, will screw up your game but AirplanePlus will work fine (after you install a newer Firespitter that works with 1.12.5).

Anything below 1.3.0 is looking for trouble.

evoli133 commented 1 month ago

hi it still doesnt work KSP.log buildID.txt buildID64.txt readme.txt SteamDep.txt 2024-10-31

Lisias commented 1 month ago

@evoli133 ,

There's something weird screwing BD.Armory. And I found this:

[ERR 17:48:33.442] [AssemblyLoader] Exception when getting assembly attributes: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

Additional information about this exception:

 System.TypeLoadException: Could not load type of field 'FSBDparticleFX:pEmitter' (4) due to: Could not resolve type with token 01000018 (from typeref, class/assembly UnityEngine.ParticleEmitter, UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:UnityEngine.ParticleEmitter member:(null) signature:<none>

That is something I already had diagnosed on Forum. And, yeah, you are using an Old BDArmory.

You need to install a new version, suited for KSP 1.12.x . I think this one will do.

Another thing I detected is that there's an add'on installed pretty oddly:

[LOG 17:48:33.425] Expansion serenity detected in path C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\SquadExpansion\Serenity
[LOG 17:41:02.947] AssemblyLoader: Loading assembly at C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\GameData\SourceCode\NextStarIndustries\NextStarIndustries\bin\

It's almost sure that NextStarIndustries shuold be installed directly into GameData, without the SourceCode\NextStarIndustries prefix.

evoli133 commented 1 month ago

its appears again buildID.txt buildID64.txt readme.txt SteamDep.txt LegalNotice.txt 2024-11-01

Lisias commented 1 month ago

@evoli133 , now it's BahaSP the one borking on you.

However, without the KSP.log I can't say if it's the screaming victim or the one really causing trouble - there's a thingy on KSP called Assembly Loader/Resolver that goes nuts now and then, and when it goes nuts, it pinpoints the wrong guy as the trouble maker. Analysing the KSP.log (the one that generated this messsage) will allow me to diagnose the problem.

Lisias commented 1 month ago

@evoli133 , I think you should install this one:

https://github.com/raidernick/BDAnimationModules/releases

evoli133 commented 4 weeks ago

i try it

evoli133 commented 4 weeks ago

it works yessss thank you so much the animation module made it