cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
119 stars 21 forks source link

[Scattered Flames] incompatible #715

Open Niilo007 opened 2 years ago

Niilo007 commented 2 years ago

IMPORTANT:

Please first search existing bugs to ensure you are not creating a duplicate bug report!
Make sure you have the latest version of Rimworld!

Describe the bug

i let a fire burn for a while and started getting errors

Steps to reproduce the behavior (VERY IMPORTANT)

  1. enable the option to suppress rain in mod settings
  2. cause a fire with dev mode or other means
  3. let it burn the map while going at speed 3-4
  4. See errors

Error Logs

Exception ticking Spark142433: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000f9] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at ScatteredFlames.Patch_SpawnSetup.Postfix (RimWorld.Fire __instance) [0x0000c] in <50dd062a1db64559a4900d4700e50d6b>:0 
  at (wrapper dynamic-method) RimWorld.Fire.RimWorld.Fire.SpawnSetup_Patch1(RimWorld.Fire,Verse.Map,bool)
  at (wrapper dynamic-method) Verse.GenSpawn.Verse.GenSpawn.Spawn_Patch1(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool)
  at RimWorld.FireUtility.TryStartFireIn (Verse.IntVec3 c, Verse.Map map, System.Single fireSize) [0x0002e] in <e13bd2f1929544099ed2b58e66ece833>:0 
  at RimWorld.Spark.Impact (Verse.Thing hitThing) [0x00014] in <e13bd2f1929544099ed2b58e66ece833>:0 
  at (wrapper dynamic-method) Verse.Projectile.Verse.Projectile.ImpactSomething_Patch0(Verse.Projectile)
  at Verse.Projectile.Tick () [0x000ed] in <e13bd2f1929544099ed2b58e66ece833>:0 
  at RimThreaded.TickList_Patch.NormalThingTick () [0x00025] in <86be62ec05034ba58645d699f2fc63ae>:0 
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimThreaded.TickList_Patch:NormalThingTick ()
RimThreaded.RimThreaded:ExecuteTicks ()
RimThreaded.RimThreaded:ProcessTicks (RimThreaded.RimThreaded/ThreadInfo)
RimThreaded.RimThreaded:InitializeThread (object)
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart (object)

Player.log

!!! Link to contents of Player.log or Error.log (MUST BE LINK) !!!

HugsLib log

https://gist.github.com/2fd8593674338b1af048e9e276dcc3f3

Save file

!!! Please add a save file where the issue occurs to speed up testing and fixing of the issue !!!

Screenshots

image image

Mod list (Preferably a RimPy compatible list.)

[Mod list length: 26]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
BetterLoading [https://steamcommunity.com/sharedfiles/filedetails/?id=1999454301]
Core [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Communicable Diseases [1.3] [https://steamcommunity.com/sharedfiles/filedetails/?id=2016577520]
Vanilla Textures Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2016436324]
Bradson's Main Button Icons for Vanilla Textures Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2361775777]
Camera+ [https://steamcommunity.com/sharedfiles/filedetails/?id=867467808]
Ding On Game Loaded [https://steamcommunity.com/sharedfiles/filedetails/?id=2425530959]
ModDiff [https://steamcommunity.com/sharedfiles/filedetails/?id=2200054867]
Architect Icons [https://steamcommunity.com/sharedfiles/filedetails/?id=1195427067]
Signs and Comments [https://steamcommunity.com/sharedfiles/filedetails/?id=2576219203]
Tilled Soil [https://steamcommunity.com/sharedfiles/filedetails/?id=725747149]
XML Extensions [https://steamcommunity.com/sharedfiles/filedetails/?id=2574315206]
Niilo's Misc Stuff [https:// no link (local mod)]
Niilo's QoL [https:// no link (local mod)]
Optional Icons for Architect Icons [https://steamcommunity.com/sharedfiles/filedetails/?id=1966995052]
RimSaves [https://steamcommunity.com/sharedfiles/filedetails/?id=1713367505]
Taller Tab Menus [https:// no link (local mod)]
What's That Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=2258431182]
Niilo's QoL+ [https:// no link (local mod)]
Scattered Flames [https:// no link (local mod)]
WealthHere [https://steamcommunity.com/sharedfiles/filedetails/?id=2593103416]
[RT] RimThreaded (Experimental) [https:// no link (local mod)]