vegapnk / Cumpilation

Fluid-Based RJW-Mechanics
GNU Affero General Public License v3.0
0 stars 0 forks source link

Error on Ingestion-Patch #1

Open vegapnk opened 1 week ago

vegapnk commented 1 week ago

EA-1 Build, got it right after the release:

Parameter name: source
[Ref B9355357]
at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate)
at Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts.Postfix (Verse.Pawn ingester, Verse.ThingComp __instance)
at Verse.ThingComp.PostIngested (Verse.Pawn ingester)
- POSTFIX vegapnk.cumpilation: Void Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts:Postfix(Pawn ingester, ThingComp __instance)
at Verse.ThingWithComps.PostIngested (Verse.Pawn ingester)
at Verse.Thing.Ingested (Verse.Pawn ingester, System.Single nutritionWanted)
- TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:IngestedTranspiler(IEnumerable`1 instructions)
- PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:IngestedPrefix(Pawn ingester, Thing __instance)
- PREFIX CRIALactation: Void CRIALactation.HarmonyPatch_Thing:Prefix(Thing __instance, Pawn ingester)
- PREFIX com.vanillageneticrimexpanded: Void GeneticRim.GeneticRim_Thing_Ingested_Patch:DetectSargSyndrome(Pawn ingester, Single nutritionWanted, Thing __instance)
- POSTFIX VFEEmpire.Mod: Void VFEEmpire.HarmonyPatches.Patch_Thing_Ingested:Postfix(Thing __instance, Pawn ingester)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:IngestedThing(Thing __instance, Pawn ingester)
- POSTFIX VeneratedDrinks: Void VeneratedDrinks.IngestedPatch:Fix(Pawn ingester, Thing __instance)
- POSTFIX com.alphagenes: Void AlphaGenes.AlphaGenes_Thing_Ingested_Patch:AddGeneticMeatThought(Pawn ingester, Thing __instance)
- POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.DietPatch:Ingested_Postfix(Thing __instance, Single& __result, Pawn ingester, Single nutritionWanted)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Thing_Ingested:Postfix(Thing __instance, Pawn ingester, Single nutritionWanted)
- POSTFIX Dubwise.DubsBadHygiene: Void DubsBadHygiene.Patches.HarmonyPatches_Thirst:IngestedPostfix(Thing __instance, Pawn ingester, Single __result)
- POSTFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_Thing_Ingested_Patch:NotifyAnimalProducstIngested(Thing __instance, Pawn ingester)
at LTS_Implants.Toils_Ingest_FinalizeIngest_Patch+<>c__DisplayClass0_0. <FinalizeIngest_Prefix>b__0 ()
at Verse.AI.JobDriver.TryActuallyStartNextToil ()
 GeneticRim.GeneticRim_Thing_Ingested_Patch was patched by:
 AlphaGenes.AlphaGenes_Thing_Ingested_Patch was patched by:
 VanillaMemesExpanded.VanillaMemesExpanded_Thing_Ingested_Patch was patched by:
 LTS_Implants.Toils_Ingest_FinalizeIngest_Patch was patched by:```

```Exception in rjw.ThinkNode_ChancePerHour_Fappin TryIssueJobPackage: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 635CBBFA]
at rjw.ISexPartHediffExtensions.GetPartComp (rjw.ISexPartHediff partHediff)
at Cumpilation.Gathering.Patch_CasualSexHelper_FindNearbyBucketToMasturbate.Prefix (Verse.Pawn pawn, Verse.Pawn partner, Verse.IntVec3& __result)
at rjw.CasualSex_Helper.FindSexLocation (Verse.Pawn pawn, Verse.Pawn partner)
- PREFIX RJW_Sexperience: Boolean RJWSexperience.RJW_Patch_CasualSex_Helper_FindSexLocation:Prefix(Pawn pawn, Pawn partner, IntVec3& __result)
- PREFIX vegapnk.cumpilation: Boolean Cumpilation.Gathering.Patch_CasualSexHelper_FindNearbyBucketToMasturbate:Prefix(Pawn pawn, Pawn partner, IntVec3& __result)
at rjw.JobGiver_Masturbate.TryGiveJob (Verse.Pawn pawn)
at Verse.AI.ThinkNode_JobGiver.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams)
at Verse.AI.ThinkNode_Priority.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams)

 RJWSexperience.RJW_Patch was patched by:```

Also looks like RJW STD isn't working; I thought it had been:
```System.TypeLoadException: Could not resolve type with token 01000047 (from typeref, class/assembly rjw.PartProps, RJW, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
[Ref 85F49FAF]
at rjwstd.std_spreader.roll_to_catch (rjw.SexProps props, Verse.Pawn catcher, Verse.Pawn pitcher)
at rjwstd.Aftersex_STD_Apply.Aftersex_STD_Patch (rjw.SexProps props)
 rjwstd.Aftersex_STD_Apply.Aftersex_STD_Patch was patched by:```

Hugslog

vegapnk commented 1 week ago

Second Report Hugslib on this

Exception in JobDriver tick for pawn Raccoon driver=JobDriver_BottleFeedBaby (toilIndex=11) driver.job=(BottleFeedBaby (Job_910792) A = Thing_Human611272 B = Thing_BabyFood1300798 Giver = JobGiver_Work [workGiverDef: BottleFeedBaby])
System.ArgumentNullException: Value cannot be null.
Parameter name: source
[Ref 84F24100]
 at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
 at Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts.Postfix (Verse.Pawn ingester, Verse.ThingComp __instance) [0x00032] in <d98a11140f29449899764bdaf7d74e8a>:0 
 at Verse.ThingComp.PostIngested (Verse.Pawn ingester) [0x00005] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - POSTFIX vegapnk.cumpilation: Void Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts:Postfix(Pawn ingester, ThingComp __instance)
 at Verse.ThingWithComps.PostIngested (Verse.Pawn ingester) [0x0001f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
 at Verse.Thing.Ingested (Verse.Pawn ingester, System.Single nutritionWanted) [0x007c9] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - TRANSPILER rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:IngestedTranspiler(IEnumerable`1 instructions)
     - TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
     - PREFIX rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:IngestedPrefix(Pawn ingester, Thing __instance)
     - PREFIX com.vanillageneticrimexpanded: Void GeneticRim.GeneticRim_Thing_Ingested_Patch:DetectSargSyndrome(Pawn ingester, Single nutritionWanted, Thing __instance)
     - POSTFIX VFEEmpire.Mod: Void VFEEmpire.HarmonyPatches.Patch_Thing_Ingested:Postfix(Thing __instance, Pawn ingester)
     - POSTFIX com.alphagenes: Void AlphaGenes.AlphaGenes_Thing_Ingested_Patch:AddGeneticMeatThought(Pawn ingester, Thing __instance)
     - POSTFIX RedMattis.BetterPrerequisites: Void BigAndSmall.DietPatch:Ingested_Postfix(Thing __instance, Single& __result, Pawn ingester, Single nutritionWanted)
     - POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Thing_Ingested:Postfix(Thing __instance, Pawn ingester, Single nutritionWanted)
     - POSTFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_Thing_Ingested_Patch:NotifyAnimalProducstIngested(Thing __instance, Pawn ingester)
     - POSTFIX rv2: Void RimVore2.Patch_Ingested:AddVoreligionEvents(Thing& __instance, Pawn ingester, Single nutritionWanted)
 at RimWorld.JobDriver_BottleFeedBaby.<FeedBabyFoodFromInventory>b__11_1 () [0x001d6] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
 at Verse.AI.JobDriver.DriverTick () [0x001c7] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.JobDriver_DriverTick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator) 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

And


Exception in JobDriver tick for pawn Raccoon driver=JobDriver_BottleFeedBaby (toilIndex=11) driver.job=(BottleFeedBaby (Job_911698) A = Thing_Human611272 B = Thing_BabyFood1300798 Giver = JobGiver_Work [workGiverDef: BottleFeedBaby])
System.ArgumentNullException: Value cannot be null.
Parameter name: source
[Ref 84F24100] Duplicate stacktrace, see ref for original 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Exception in JobDriver tick for pawn Raccoon driver=JobDriver_BottleFeedBaby (toilIndex=11) driver.job=(BottleFeedBaby (Job_912443) A = Thing_Human611272 B = Thing_BabyFood1300798 Giver = JobGiver_Work [workGiverDef: BottleFeedBaby])
System.ArgumentNullException: Value cannot be null.
Parameter name: source
[Ref 84F24100] Duplicate stacktrace, see ref for original 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
vegapnk commented 1 week ago

Steps to Reproduce:

  1. Dev QuickStart
  2. Spawn Vegetarian Meals with Cum
  3. Make a pawn eat it
JobDriver threw exception in toil FinalizeIngest's initAction for pawn Rosa driver=JobDriver_Ingest (toilIndex=9) driver.job=(Ingest (Job_2899) A = Thing_MealFine_Veg38493 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.ArgumentNullException: Value cannot be null.
Parameter name: source
[Ref 67BF8EF2]
 at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
 at Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts.Postfix (Verse.Pawn ingester, Verse.ThingComp __instance) [0x00036] in <80b543238a5d46d6a74ca6b031bd7596>:0 
 at Verse.ThingComp.PostIngested (Verse.Pawn ingester) [0x00005] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
     - POSTFIX vegapnk.cumpilation: Void Cumpilation.Reactions.Patches.Patch_IngestMeal_UpdateRecordAndGiveThoughts:Postfix(Pawn ingester, ThingComp __instance)
 at Verse.ThingWithComps.PostIngested (Verse.Pawn ingester) [0x0001f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
 at Verse.Thing.Ingested (Verse.Pawn ingester, System.Single nutritionWanted) [0x006af] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
 at RimWorld.Toils_Ingest+<>c__DisplayClass13_0.<FinalizeIngest>b__0 () [0x001f2] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
 at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
[[...]]