BattletechModders / LootMagnet

BattleTech Game mod that makes salvage suck less
MIT License
11 stars 7 forks source link

Loading fail #28

Open eleroy5 opened 3 years ago

eleroy5 commented 3 years ago

When the game menu is loading, There is a message telling that Lootmagnet fails to be load. I check the ModTek.log and found this line:

Gathering LootMagnet->Enable influence. My state:True fail:Fail to call init method

FYI i have download LootMagnet-6.3.0.zip on your github.

Thanks for your help

bam13302 commented 2 years ago

Same issue here, it and modtech are the only things enabled, here is the full error from my modtech log:Same/similar error here, full error message from the modtech log:

LootMagnet 6.3.0 Expanding manifest LootMagnet: :StreamingAssets Loaded assembly LootMagnet (v6.3.0.0) Invoking 'Mod.Init(String modDirectory, String settingsJSON)' using parameter dictionary Error: While invoking 'Mod.Init', an exception occured System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CustomComponents, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at ModTek.Util.AssemblyUtil.InvokeMethodByParameterNames (System.Reflection.MethodInfo method, System.Collections.Generic.Dictionary`2[TKey,TValue] paramsDictionary) [0x0014c] in <04a9e173063f444683f429bf9b7ee148>:0 at ModTek.ModTek.LoadAssemblyAndCallInit (ModTek.ModDefEx modDef) [0x0019c] in <04a9e173063f444683f429bf9b7ee148>:0 ModTek 0.8.0

bam13302 commented 2 years ago

Same issue here, it and modtech are the only things enabled, here is the full error from my modtech log:Same/similar error here, full error message from the modtech log:

LootMagnet 6.3.0 Expanding manifest LootMagnet: :StreamingAssets Loaded assembly LootMagnet (v6.3.0.0) Invoking 'Mod.Init(String modDirectory, String settingsJSON)' using parameter dictionary Error: While invoking 'Mod.Init', an exception occured System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CustomComponents, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in :0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at ModTek.Util.AssemblyUtil.InvokeMethodByParameterNames (System.Reflection.MethodInfo method, System.Collections.Generic.Dictionary`2[TKey,TValue] paramsDictionary) [0x0014c] in <04a9e173063f444683f429bf9b7ee148>:0 at ModTek.ModTek.LoadAssemblyAndCallInit (ModTek.ModDefEx modDef) [0x0019c] in <04a9e173063f444683f429bf9b7ee148>:0 ModTek 0.8.0

After reading the github readme, decided to try installing the mech engineer & custom component mod (not listed as needed on the nexus page), and it seems to be happy now