Faryzal2020 / DefinitelyMoreCannons

A rimworld mod that adds a bunch of large cannon turrets
Other
1 stars 1 forks source link

Turrets disappear #11

Closed OrioxPL closed 5 years ago

OrioxPL commented 5 years ago

So I wanted to build some autocannons. After few tries i realized that they disappear after being build. In debug logs i found this

`Exception in JobDriver tick for pawn Kitten driver=JobDriver_ConstructFinishFrame (toilIndex=1) driver.job=(FinishFrame (Job_786) A=Thing_Frame_40mmAutocannon37283) lastJobGiver=RimWorld.JobGiver_Work System.MissingMethodException: Cannot create an abstract class 'Verse.ThingComp'. at System.Activator.CheckAbstractType (System.Type) <0x000f6> at System.Activator.CreateInstance (System.Type,bool) <0x0005e> at System.Activator.CreateInstance (System.Type) <0x0001e> at Verse.ThingWithComps.InitializeComps () <0x000a5> at Verse.ThingWithComps.PostMake () <0x00034> at RimWorld.Building_TurretGun.PostMake () <0x0001c> at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7> at RimWorld.Frame.CompleteConstruction (Verse.Pawn) <0x00309> at RimWorld.JobDriver_ConstructFinishFrame/cIterator0/cAnonStorey1.<>m__1 () <0x00396> at (wrapper dynamic-method) Verse.AI.JobDriver.DriverTick_Patch1 (object) <0x004c8>

Verse.Log:Error(String, Boolean) Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver) Verse.AI.JobDriver:DriverTick_Patch1(Object) Verse.AI.Pawn_JobTracker:JobTrackerTick() Verse.Pawn:Tick() Verse.TickList:Tick() Verse.TickManager:DoSingleTick() Verse.TickManager:TickManagerUpdate() Verse.Game:UpdatePlay() Verse.Root_Play:Update() ` I tried this on new saves and in my old saves. Errors in debug logs are the same.

Faryzal2020 commented 5 years ago

Are you using any other mods or just DMC? If yes, have you test it again without any other mods? I want to make sure first whether if this problem is caused by my mod or because of incompatibility with another mod.

OrioxPL commented 5 years ago

I tried with mods and without mods and the results are the same

Faryzal2020 commented 5 years ago

Do you use an existing save game before installing DMC or have you tried testing it with a new save?

OrioxPL commented 5 years ago

New and existing saves with mods and without mods

OrioxPL commented 5 years ago

Oh i found where is the problem. The newest version of Rimworld doesn't work with your mod

edit Nevermind. My game had problems with Turret Extension. Now mod is working fine