Siege Event BUG

Started by FallenBR, May 08, 2019, 06:51:48 PM

Previous topic - Next topic

FallenBR

Hello people!

Second time enemies try to siege on me, they make the blueprints but never attack, standing still until starvation. Receiving this error the moment they stablish the blueprints:

Exception while ticking lord with job RimWorld.LordJob_Siege:
  at RimWorld.TurretGunUtility+<TryFindRandomShellDef>c__AnonStorey0.<>m__0 (Verse.ThingDef x) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Verse.ThingDef].MoveNext () [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Verse.ThingDef].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Verse.ThingDef]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable.ToList[ThingDef] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
  at Verse.GenCollection.TryRandomElement[ThingDef] (IEnumerable`1 source, Verse.ThingDef& result) [0x00000] in <filename unknown>:0
  at RimWorld.TurretGunUtility.TryFindRandomShellDef (Verse.ThingDef turret, Boolean allowEMP, Boolean mustHarmHealth, TechLevel techLevel, Boolean allowAntigrainWarhead, Single maxMarketValue) [0x00000] in <filename unknown>:0
  at RimWorld.LordToil_Siege.Init () [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.GotoToil (Verse.AI.Group.LordToil newLordToil) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Transition.Execute (Verse.AI.Group.Lord lord) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Transition.CheckSignal (Verse.AI.Group.Lord lord, TriggerSignal signal) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.CheckTransitionOnSignal (TriggerSignal signal) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.ReceiveMemo (System.String memo) [0x00000] in <filename unknown>:0
  at Verse.AI.Group.LordToil_Travel.LordToilTick () [0x00000] in <filename unknown>:0
  at Verse.AI.Group.Lord.LordTick () [0x00000] in <filename unknown>:0
  at Verse.AI.Group.LordManager.LordManagerTick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.AI.Group.LordManager:LordManagerTick()
Verse.Map:MapPostTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Any help? Thanks!

Canute

Hi,
i think one of your mod's that modify/add Turret's may cause it.
Since these mod's are hard to remove from current safegames, you should verify that with new test colony with the Quickstart feature (if you got hugslib installed).
Create a new colony with the quickstart icon on top.
Spawn a Siege, Debug action menu, Execute Raid with.., select a pirate faction, then Siege.

When the problem still appear, just deactivate a mod with turrets and test it again.

FallenBR

Hey friend, turned off all turret mod, and the error persists. I was thinking about events mod. Any light?

Canute

Yep, that is possible too, since the end of the error msg. it about lordtick.

If you encounter the problem you can try to edit the safegame.
Backup the safegame
Edit the safegame
Search for <lords>
Delete the first entry from <li> to </li>.
Safe and load the safegame.
If that didn't fix it, undo the delete at the editor and delete the 2. entry.

FallenBR

Found it. For anyone having this problem, it is Callistan 1.0 and Callistan robots, both race mods. Disabled them, and siege is restored. I've informed author, lets see if he can correct it.