RimWorld

RimWorld

Elite Bionics Framework
Verence May 23, 2020 @ 11:04am
Compatibility issue with Save Our Ship 2
When I try moving the SoS2 shuttles around in hover mode, I'm randomly getting this error, after which the shuttle aborts the movement job and stops:

Exception in JobDriver tick for pawn ShuttleHeavyRace4286058 driver=JobDriver_Goto (toilIndex=0) driver.job=(Goto (Job_11487429) A=(317, 0, 327))
System.NullReferenceException: Object reference not set to an instance of an object
at EliteBionicsFramework.Util.ToolFinderUtils.ToolIsOriginalToolOfPawn (Verse.Tool tool, Verse.Pawn pawn) [0x00008] in <076f6278d1a640fda7151d8cfe459e26>:0
at EliteBionicsFramework.Patches.PostFix_VerbProperties_GetDamageFactorFor.PostFix (System.Single& __result, Verse.Tool tool, Verse.Pawn attacker, Verse.HediffComp_VerbGiver hediffCompSource) [0x0000e] in <076f6278d1a640fda7151d8cfe459e26>:0
at (wrapper dynamic-method) Verse.VerbProperties.DMD<DMD<GetDamageFactorFor_Patch1>?-1584524800::GetDamageFactorFor_Patch1>(Verse.VerbProperties,Verse.Tool,Verse.Pawn,Verse.HediffComp_VerbGiver)
at Verse.VerbProperties.GetDamageFactorFor (Verse.Verb ownerVerb, Verse.Pawn attacker) [0x00033] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at Verse.Verb.IsStillUsableBy (Verse.Pawn pawn) [0x0001a] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at RimWorld.Pawn_MeleeVerbs.<GetUpdatedAvailableVerbsList>g__IsUsableMeleeVerb|18_0 (Verse.Verb v) [0x00000] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at (wrapper dynamic-method) RimWorld.Pawn_MeleeVerbs.DMD<DMD<GetUpdatedAvailableVerbsList_Patch1>?1848611328::GetUpdatedAvailableVerbsList_Patch1>(RimWorld.Pawn_MeleeVerbs,bool)
at RimWorld.Pawn_MeleeVerbs.ChooseMeleeVerb (Verse.Thing target) [0x00018] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at RimWorld.Pawn_MeleeVerbs.TryGetMeleeVerb (Verse.Thing target) [0x00047] in <4489f1367c1c4d76b2ae1272c8ed691d>:0
at (wrapper dynamic-method) Verse.Pawn.DMD<DMD<TryGetAttackVerb_Patch3>?-278185472::TryGetAttackVerb_Patch3>(Verse.Pawn,Verse.Thing,bool)
at RunAndGun.Harmony.JobDriver_SetupToils.checkForAutoAttack (Verse.AI.JobDriver_Goto __instance) [0x000c0] in <a64cd267f6c948e5a10efc7f910b7260>:0
at RunAndGun.Harmony.JobDriver_SetupToils+<>c__DisplayClass0_0.<Postfix>b__0 () [0x00073] in <a64cd267f6c948e5a10efc7f910b7260>:0
at (wrapper dynamic-method) Verse.AI.JobDriver.DMD<DMD<DriverTick_Patch1>?1792499456::DriverTick_Patch1>(Verse.AI.JobDriver)
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:DMD<DMD<DriverTick_Patch1>?1792499456::DriverTick_Patch1>(JobDriver)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:DMD<DMD<Tick_Patch2>?-681610112::Tick_Patch2>(Pawn)
Verse.TickList:DMD<DMD<Tick_Patch2>?-216976768::Tick_Patch2>(TickList)
Verse.TickManager:DMD<DMD<DoSingleTick_Patch1>?1480078080::DoSingleTick_Patch1>(TickManager)
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:DMD<DMD<Update_Patch1>?1299731328::Update_Patch1>(Root_Play)


Not sure whether it's this mod causing the error or it's something on SoS2 end but seeing shuttles constantly abort movement orders is kinda annoying.
< >
Showing 1-1 of 1 comments
Vectorial1024  [developer] Dec 28, 2020 @ 6:29pm 
Hi there! It has been a long time, but I will be pushing an update that fixes this.

Edit: my guess about this error is that the shuttle itself have no tools but I assumed that it has.
Last edited by Vectorial1024; Dec 28, 2020 @ 6:30pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50