Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - MalGaron

#1
Help / Getting a exeption
September 20, 2018, 01:45:22 AM
Hello, I recently starting making my first mode for rimworld, I have few things done, I made material called Azerite, you can mine it from ore veins,  and I wanted to see, if I can make it work as medicine, but every time I get this exeption:
JobDriver threw exception in initAction for pawn Rissa driver=JobDriver_TendPatient (toilIndex=6) driver.job=(TendPatient (Job_28425) A=Thing_Human553 B=Thing_Azerite200415) lastJobGiver=Verse.AI.ThinkNode_QueuedJob
System.InvalidCastException: Cannot cast from source type to destination type.
  at RimWorld.Toils_Tend+<FinalizeTend>c__AnonStorey2.<>m__0 () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update(),
what I see there is that it cannot finish the "tending" to the pawn in question, but it never finishes, I'd love to learn why is that and fix this issue :)

Link to the mod if you wanna try it: https://www.dropbox.com/s/jzploewlxm7bfqe/Azerite.rar?dl=0 its nothing special yet and hardly finnished.
Thanks for any help in advance :)