RimWorld

RimWorld

LWM's Deep Storage
Kinnu 4. juni 2020 kl. 23:13
Nothing is stacking
I am unsure of the issue myself. I was using the While your Up mod and saw someone else had the issue. I removed it, even replaced the containers and started a new game. I am still only able to use the first two storage slots. It will not store anymore than that.

[LWM_DeepStorage][ERR] Failed to apply Harmony patches for LWM.DeepStorage. Exception was: HarmonyLib.HarmonyException: Patching exception in method static Verse.AI.Job Verse.AI.HaulAIUtility::HaulToCellStorageJob(Verse.Pawn p, Verse.Thing t, Verse.IntVec3 storeCell, System.Boolean fitInStoreCell) ---> System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at HarmonyLib.AccessTools.GetTypesFromAssembly (System.Reflection.Assembly assembly) [0x00000] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.AccessTools+<>c.<TypeByName>b__2_1 (System.Reflection.Assembly a) [0x00000] in <026284b8b4324a28a7825619702a3e16>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () [0x00051] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0004f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at HarmonyLib.AccessTools.TypeByName (System.String name) [0x00077] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.AccessTools.Method (System.String typeColonMethodname, System.Type[] parameters, System.Type[] generics) [0x0003e] in <026284b8b4324a28a7825619702a3e16>:0
at LWM.DeepStorage.Patch_HaulToCellStorageJob+<Transpiler>d__0.MoveNext () [0x0012e] in <3ac2e1e912bc4502960ccac02ea3053a>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00051] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00149] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0020e] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x0015d] in <026284b8b4324a28a7825619702a3e16>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <026284b8b4324a28a7825619702a3e16>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <026284b8b4324a28a7825619702a3e16>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x0009a] in <10ab33f1eae94a23bbc00b4473477d27>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:Error(String, Object[])
HugsLib.ModBase:ApplyHarmonyPatches()
HugsLib.HugsLibController:EnumerateChildMods(Boolean)
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()


Here is the Debug log. Any chance your able to help?
< >
Viser 1-7 af 7 kommentarer
lilwhitemouse  [udvikler] 5. juni 2020 kl. 5:32 
What is the very first red error you are getting that mentions Type or Reflection or Harmony?

Someone has broken the Harmony library, so my patches cannot run...

It's also possible you have a corrupted file somewhere and getting Steam to redownload the mod will help.
Kinnu 5. juni 2020 kl. 9:32 
ReflectionTypeLoadException getting types in assembly ModCheck: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0

Loader exceptions:
=> System.TypeLoadException: Could not resolve type with token 01000020 (from typeref, class/assembly Harmony.CodeInstruction, 0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null)

Verse.Log:Error(String, Boolean)
Verse.ModAssemblyHandler:AssemblyIsUsable(Assembly)
Verse.ModAssemblyHandler:ReloadAll()
Verse.ModContentPack:ReloadContent()
Verse.LoadedModManager:LoadModContent()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.<>c:<Start>b__6_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
Kinnu 5. juni 2020 kl. 9:32 
ReflectionTypeLoadException getting types in assembly ModCheck: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0

Loader exceptions:
=> System.TypeLoadException: Could not resolve type with token 01000020 (from typeref, class/assembly Harmony.CodeInstruction, 0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null) assembly:0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null type:Harmony.CodeInstruction member:(null) signature:<none>

Verse.Log:Error(String, Boolean)
Verse.ModAssemblyHandler:AssemblyIsUsable(Assembly)
Verse.ModAssemblyHandler:ReloadAll()
Verse.ModContentPack:ReloadContent()
Verse.LoadedModManager:LoadModContent()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.<>c:<Start>b__6_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
Kinnu 5. juni 2020 kl. 9:33 
Those are the only two other issues popping up.
lilwhitemouse  [udvikler] 5. juni 2020 kl. 10:55 
Well, it's either ModCheck or something right above ModCheck in your mod order (that uses harmony)?
Kinnu 5. juni 2020 kl. 11:11 
I fixed it by doing the obvious. Moving it up in the list order. Now it works. Apologies for not trying the easy way haha
lilwhitemouse  [udvikler] 5. juni 2020 kl. 13:17 
:thumbsup:
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50