pardeike/Achtung2

Achtung Vs Z-levels

pardeike opened this issue · 1 comments

I'm getting an error every time I try and get my colonist to do anything directly, pick up weapons, prioritize anything, tame ect.
The ones its claiming to have trouble with haven't given me an issue before except for the recently installed Z-levels for 1.3 (https://github.com/RamRod6198/Z-Levels)
My only guess of why it's having this issue is because Achtung can't account for the ladders and being able to be a level above the main map, and thus is freaking out. Again, this is a guess. For all I know one of these other mods updated and it's creating an issue now. But it claimed to be Z-levels to be the most likely culprit so I titled this report appropriately.

Here's the error if it's any help.
Exception in RimWorld.FloatMenuMakerMap.ChoicesAtFor: System.NullReferenceException: Object reference not set to an instance of an object
at AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch.Postfix (Verse.Pawn pawn, AchtungMod.ForcedWork __state) [0x0000e] in <5115af586046446eb35f0ed877695204>:0
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts, System.Boolean drafted) [0x00ee2] in <81af9f8a18324e17b286924a43555a7c>:0
- transpiler net.pardeike.rimworld.mods.achtung: IEnumerable`1 AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Transpiler(IEnumerable`1 instructions, MethodBase original)
- prefix ZLevels.Mod: Boolean ZLevels.FloatMenuPatches+FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Prefix(Vector3 clickPos, Pawn pawn, List`1& opts, Boolean drafted, FloatMenuOption[]& ___equivalenceGroupTempStorage)
- prefix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Prefix(Pawn pawn, ForcedWork& __state)
- prefix roolo.whatthehack: Boolean WhatTheHack.Harmony.FloatMenuMakerMap_AddJobGiverWorkOrders:Prefix(Pawn pawn)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_AddJobGiverWorkOrders_Patch:Postfix(Pawn pawn, ForcedWork __state)
at RimWorld.FloatMenuMakerMap.AddUndraftedOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x000d9] in <81af9f8a18324e17b286924a43555a7c>:0
- prefix OskarPotocki.VFECore: Boolean AnimalBehaviours.VanillaExpandedFramework_FloatMenuMakerMap_AddUndraftedOrders_Patch:AvoidGeneralErrorIfPawnIsAnimal(Pawn pawn)
- postfix Children: Void Children.ChildrenHarmony+FloatMenuMakerMap_Patch:AddUndraftedOrders_Post(Vector3 clickPos, Pawn pawn, List`1 opts)
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000ee] in <81af9f8a18324e17b286924a43555a7c>:0
- postfix OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Postfix:Postfix(List`1 __result, Vector3 clickPos, Pawn pawn)
- postfix Shakesthespeare.RimsecSecurity: Void RimsecSecurity.FloatMenuMakerMap_ChoicesAtFor:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn)
- postfix roolo.whatthehack: Void WhatTheHack.Harmony.FloatMenuMakerMap_ChoicesAtFor:Postfix(Vector3 clickPos, Pawn pawn, List`1& __result)
- finalizer net.pardeike.rimworld.mods.achtung: Exception AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Finalizer:Finalizer(Exception __exception, List`1& __result)

-- submitted by Blackcat64@outlook.com

Will be fixed in v3.4.5