ubergarm / RimWorld-KanbanStockpile

RimWorld mod adding `Stack Refill Threshold` and `Similar Stack Limit` to stockpiles and deep storage inspired by kanban logistic control systems.
https://steamcommunity.com/sharedfiles/filedetails/?id=2287142613
MIT License
2 stars 3 forks source link

KanbanStockpile mod causing flickering on at least two people's systems. #8

Closed ubergarm closed 4 years ago

ubergarm commented 4 years ago

This log is spamming for the folks that have the problem, so it seems related to the IHoldMultipleThings aka Deep Storage checking. It may be possible to ignore deep storage comp check and just treat all container haul jobs the same and all cell haul jobs the same.

Root level exception in Update(): System.TypeLoadException: Could not resolve type with token 0100004b (from typeref, class/assembly IHoldMultipleThings.IHoldMultipleThings, IHoldMultipleThings, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null)
  at (wrapper dynamic-method) RimWorld.StoreUtility.RimWorld.StoreUtility.NoStorageBlockersIn_Patch1(Verse.IntVec3,Verse.Map,Verse.Thing)
  at RimWorld.StoreUtility.IsGoodStoreCell (Verse.IntVec3 c, Verse.Map map, Verse.Thing t, Verse.Pawn carrier, RimWorld.Faction faction) [0x0000e] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.StoreUtility.TryFindBestBetterStoreCellForWorker (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.Faction faction, RimWorld.SlotGroup slotGroup, System.Boolean needAccurateResult, Verse.IntVec3& closestSlot, System.Single& closestDistSquared, RimWorld.StoragePriority& foundPriority) [0x00085] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, System.Boolean needAccurateResult) [0x0005f] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.StoreUtility.TryFindBestBetterStorageFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, RimWorld.StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, RimWorld.IHaulDestination& haulDestination, System.Boolean needAccurateResult) [0x00008] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.StoreUtility.IsInValidBestStorage (Verse.Thing t) [0x0002d] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.ListerHaulables.ShouldBeHaulable (Verse.Thing t) [0x0004d] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.ListerHaulables.Check (Verse.Thing t) [0x00000] in <82ff53f4436442f9a879167049ea7b06>:0 
  at RimWorld.ListerHaulables.ListerHaulablesTick () [0x0011d] in <82ff53f4436442f9a879167049ea7b06>:0 
  at Verse.Map.MapPreTick () [0x0000b] in <82ff53f4436442f9a879167049ea7b06>:0 
  at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch2(Verse.TickManager)
  at Verse.TickManager.TickManagerUpdate () [0x0006a] in <82ff53f4436442f9a879167049ea7b06>:0 
  at Verse.Game.UpdatePlay () [0x00000] in <82ff53f4436442f9a879167049ea7b06>:0 
  at Verse.Root_Play.Update () [0x00026] in <82ff53f4436442f9a879167049ea7b06>:0 
Verse.Log:Error(String, Boolean)
Verse.Root_Play:Update()