边缘世界 RimWorld

边缘世界 RimWorld

Smart Farming Continued
Zlygork 6 月 8 日 上午 10:35
Bug report
I'm terrible at reading logs, but chatGPT suggests something is going funky with some of the smart farming code.

invalid tile error:
System.ArgumentOutOfRangeException: Index was out of range.
at RimWorld.Planet.WorldGrid.GetTileCenter (Int32 tileID)
at RimWorld.Planet.WorldGrid.DistanceFromEquatorNormalized (Int32 tile)
at SmartFarming.MapComponent_SmartFarming.FinalizeInit ()


Null reference error:
System.NullReferenceException: Object reference not set to an instance of an object
at SmartFarming.MapComponent_SmartFarming.UpdateCommonCache ()
at SmartFarming.MapComponent_SmartFarming.ProcessZones ()
at SmartFarming.MapComponent_SmartFarming.MapComponentTick ()

I am playing on a dessert biome, in case that matters.
< >
正在显示第 1 - 7 条,共 7 条留言
Vragerr 7 月 18 日 下午 4:03 
System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5EEDB57]
at SmartFarming.MapComponent_SmartFarming.UpdateCommonCache () [0x00038] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:313
at SmartFarming.MapComponent_SmartFarming.ProcessZones () [0x00001] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:271
at SmartFarming.MapComponent_SmartFarming.MapComponentTick () [0x00025] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:265
at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00013] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapPostTick_Patch1 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

When i enter to bunker with cheamfuel.
Turambar 7 月 19 日 下午 1:28 
I got the same error spamming my logs: https://pastebin.com/MMzZXEJB
Yame 7 月 20 日 上午 1:21 
Zaphie 7 月 21 日 上午 5:03 
System.NullReferenceException: Object reference not set to an instance of an object
[Ref F5EEDB57]
at SmartFarming.MapComponent_SmartFarming.UpdateCommonCache () [0x00038] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:313
at SmartFarming.MapComponent_SmartFarming.ProcessZones () [0x00001] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:271
at SmartFarming.MapComponent_SmartFarming.MapComponentTick () [0x00025] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:265
at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00013] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapPostTick_Patch1 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Zaphie 7 月 21 日 上午 5:04 
get same error too,I am playing dessert biome too
Kelven 7 月 22 日 下午 1:50 
Same error. Started happening after opening an Ancient Stockpile from Odyssey DLC

System.NullReferenceException: Object reference not set to an instance of an object
[Ref C1AE37F]
at SmartFarming.MapComponent_SmartFarming.UpdateCommonCache () [0x00038] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:313
at SmartFarming.MapComponent_SmartFarming.ProcessZones () [0x00001] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:271
at SmartFarming.MapComponent_SmartFarming.MapComponentTick () [0x00025] in O:\SteamLibrary\steamapps\common\RimWorld\Mods\owls-smart-farming-master\Source\MapComponent_SmartFarming.cs:265
at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00013] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
Verse.Map:MapPostTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Just want to add it is definitely related to the ancient stockpile, I was getting the same errors. They persistent until I sealed all the stockpiles on the map.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50