RimWorld

RimWorld

LWM's Deep Storage
[1.3 Unstable branch] Bug - Pawn stuck trying to put more than one stack into storage tile
As people on the comments has said, 1.3 unstable had bonked multi stacking. The problem seems to be a change in ILCode of target delegate in :
LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod()

Here is the possible relevant error produced:

LWM.Deep_Storage: Could not find Verse.AI.Toils_Haul:c__AnonStorey0 [LWM_DeepStorage][ERR] Failed to apply Harmony patches for LWM.DeepStorage. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Reflection.MethodBase LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod() ---> System.Exception: Method static System.Reflection.MethodBase LWM.DeepStorage.Patch_StartCarryThing_Delegate::TargetMethod() returned an unexpected result: null

Possible Fix:
The ILCode of hidden class created by said delegate that are supposed to be patched by method Patch_StartCarryThing_Delegate::TargetMethod seems to change from "c__DisplayClass1_0" to "c__DisplayClass2_0". Changing said corresponding code seems to fixes this error completely on unstable branch.
Sidst redigeret af Men.Tok.So.Shore; 3. okt. 2021 kl. 22:01
< >
Viser 1-2 af 2 kommentarer
Crooted 13. okt. 2021 kl. 12:09 
Thanks for looking into this. Could you elaborate a little on your possible fix please? Changing which particular ILCode to what value seemed to fix this for you?
Hollow Void 14. okt. 2021 kl. 3:32 
Fix? Where? I seek thee! I thou ask for guidance!
< >
Viser 1-2 af 2 kommentarer
Per side: 1530 50