Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
2. Can verify it's this mod with a new game
3. This seems to me that some other mod references WallLight, but doesn't handle it missing. What other mod - can't tell
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0004f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at TD_Enhancement_Pack.Learn_Patch.Postfix (RimWorld.SkillRecord __instance, System.Single xp) [0x00036] in <c5f8a9e4c44b499ca78ae23841a65df9>:0
at (wrapper dynamic-method) RimWorld.SkillRecord.RimWorld.SkillRecord.Learn_Patch2(RimWorld.SkillRecord,single,bool)
at (wrapper dynamic-method) RimWorld.SkillRecord.RimWorld.SkillRecord.Interval_Patch1(RimWorld.SkillRecord)
at RimWorld.Pawn_SkillTracker.SkillsTick () [0x0008f] in <c36f9493c9844ddaa7fb5c788416098f>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch3(Verse.Pawn)
at RimThreaded.RimThreaded.ExecuteTicks () [0x00562] in <0159967a552640fa8217f400cfa096c6>:0
Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimThreaded.RimThreaded:ExecuteTicks()
RimThreaded.RimThreaded:ProcessTicks(ThreadInfo)
RimThreaded.RimThreaded:InitializeThread(ThreadInfo)
RimThreaded.<>c__DisplayClass80_0:<CreateWorkerThread>b__0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
Eventually it cuases the pawns to stop working.
Removing TD Enhancement fixes the problem.
#2 Disable the setting for, like, 'skill arrow when learning arrow' or whatever that is called
While going through Dubs Analyzer Harmony Patches i can see that this gets called when unpaused i presume for every sowable cell a check is made even without harvest toggle being on. Shows as TD_Enchancement_Pack.NoHarvestJob:Prefix
[HarmonyPatch(typeof(WorkGiver_GrowerHarvest), "HasJobOnCell")] //Tried ExtraRequirements and it was inconsistent?
public static class NoHarvestJob
{
//public override bool HasJobOnCell(Pawn pawn, IntVec3 c)
public static bool Prefix(Pawn pawn, IntVec3 c, ref bool __result)
{
if(pawn.Map.zoneManager.ZoneAt(c) is Zone_Growing zone
&& !zone.CanHarvest())
{
__result = false;
return false;
}
return true;
}
}
Can you work some Voodoo magic and skip code related to this functionality if Allow Harvest toggle is off ? Other than this,
Thank for a great QoL mod.
Log message is:
System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.BroadshieldPack.Notify_BulletImpactNearby (RimWorld.BulletImpactData impactData) [0x0000e] in <5bed3a4a3d4545d78cb9bae12001e2b7>:0
at RimWorld.Bullet.NotifyImpact (Verse.Thing hitThing, Verse.Map map, Verse.IntVec3 position) [0x00074] in <5bed3a4a3d4545d78cb9bae12001e2b7>:0
at RimWorld.Bullet.Impact (Verse.Thing hitThing) [0x0004a] in <5bed3a4a3d4545d78cb9bae12001e2b7>:0
at Verse.Projectile.ImpactSomething () [0x00329] in <5bed3a4a3d4545d78cb9bae12001e2b7>:0
at Verse.Projectile.Tick () [0x000ed] in <5bed3a4a3d4545d78cb9bae12001e2b7>:0
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2(Verse.TickList)
A new version of Harmony also gives additional debugging info into which mod patches were involved in the stack trace. This is identifying that when the error is thrown the game is inside the TD Enhancement pack's "static TickGrow_PlantHarvest.Postfix (TickerType __tickType)" function, as seen in the screenshot at:
https://steamuserimages-a.akamaihd.net/ugc/1756946498860261394/F5221AFC824DB0EE163C0E767E6AEEEB9467871A/
When this happens, it causes significant lag until either the combat stops and/or the items to be harvested have been harvested (adding up to thousands of instances during the course of a combat - I've captured the screenshot after a very short hunt, but I've seen 6000+ instances reported after an invasion previously).
Harmony knows that I postfix-patch the Tick method (TickList.Tick_Patch2) - so it may be reporting TD Pack's involvement with the stacktrace. But That's not saying it's *in* my method. That's uh, that's what the stacktrace is. No mods in there, but geez who knows what modded items are confusing things somewhere in there.
The TD patch is sort of just adjacent and uninvolved. And, the TickGrow_PlantHarvest.Postfix is a tiny tiny method that does almost nothing anywho.
I'll continue to just ignore it.
Log: https://gist.github.com/831b35b172015d05570a1ee664ea926d
TD EnhancementPack(Anonymous189.TDHEnhancementPack): (no assemblies)
Same error with Smart Medicine, posted it over there too.
Here's my log if it matters:
https://gist.github.com/55bf2501fc6978d6fc74834e4b53a6a7
Screenshot of the analyzer if it helps:
https://imgur.com/a/GTTvdMm