RimWorld

RimWorld

Ranged DPS
WaxWorm 15 Aug, 2020 @ 2:42am
Error with Stockpile & Ingredient Filters and Ranged DPS
There seems to be an incompatibility between Stockpile & Ingredient Filters and Ranged DPS according to this red error I only get when using both mods together:

[HugsLib][ERR] CodeOptimist.CustomThingFilters caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object at Verse.ThingIDMaker.GiveIDTo (Verse.Thing t) [0x00050] in <7b345446a85d4ed599f9c604ae61854b>:0 at Verse.Thing.PostMake () [0x00000] in <7b345446a85d4ed599f9c604ae61854b>:0 at Verse.ThingWithComps.PostMake () [0x00000] in <7b345446a85d4ed599f9c604ae61854b>:0 at (wrapper dynamic-method) Verse.ThingMaker.Verse.ThingMaker.MakeThing_Patch2(Verse.ThingDef,Verse.ThingDef) at Verse.ThingDef.GetConcreteExample (Verse.ThingDef stuff) [0x00041] in <7b345446a85d4ed599f9c604ae61854b>:0 at RangedDPS.StatWorker_RangedDPSBase.GetWeaponThing (RimWorld.StatRequest req) [0x0001b] in <18299f07fac746f5a8021779e44c09e2>:0 at RangedDPS.StatWorker_RangedDPS.GetValueUnfinalized (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x0000f] in <18299f07fac746f5a8021779e44c09e2>:0 at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x00043] in <7b345446a85d4ed599f9c604ae61854b>:0 at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00009] in <7b345446a85d4ed599f9c604ae61854b>:0 at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00006] in <7b345446a85d4ed599f9c604ae61854b>:0 at CustomThingFilters.CustomThingFilters+StatThingInfo.CreateInstance (RimWorld.StatDef statDef) [0x00091] in <7458b12bfd524dc19a9790acef897105>:0 at CustomThingFilters.CustomThingFilters+StatThingInfo.DefsLoaded () [0x000e2] in <7458b12bfd524dc19a9790acef897105>:0 at CustomThingFilters.CustomThingFilters.DefsLoaded () [0x0002f] in <7458b12bfd524dc19a9790acef897105>:0 at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <78e1cae892614289acac86346dd676c1>:0 Verse.Log:Error(String, Boolean) HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String) HugsLib.HugsLibController:OnDefsLoaded() HugsLib.HugsLibController:LoadReloadInitialize() Verse.LongEventHandler:RunEventFromAnotherThread(Action) Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_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()
Last edited by WaxWorm; 15 Aug, 2020 @ 2:54am
< >
Showing 1-2 of 2 comments
codeoptimist 15 Aug, 2020 @ 4:57am 
This will be fixed from my mod. 😉
Pausbrak  [developer] 15 Aug, 2020 @ 6:19pm 
Glad to hear it! I took a quick look and I don't think there's anything I can do from my end
< >
Showing 1-2 of 2 comments
Per page: 1530 50