RimWorld

RimWorld

Rim of Madness - Vampires [Deprecated]
Danroak Dec 31, 2017 @ 7:57pm
Bug: 'Starting Vampirism' setting in scenario cause npc spawning bug while in caravan.
There might be an error of sort with the starting scenario option 'starting vampire bloodline'. Whenever I start with that tidbit included in my scenario setting the game cannot generate npcs etc in world map while caravaning. Odd thing is this only happens if you have no active settlement. (i.e. abandon settlement after forming caravan in order to speed progress..only to have npcs fail to spawn in w/e ambush event, trading, attacking etc)

I purposefully went through all the mods and then down to scenario editing to figure out what was causing it. (Only hugslib, jecstool installeda long with this mod)

Could be isolated incident maybe since I don't think I've seen anyone else complain about it...I just went with 'forced health condition: vampirism(random)' instead and that seem to fix it.

To recreate:
1. Use vampire scenario
2. Set up caravan with vampire (either by themselves or vampire in coffin and carried along with)
3. Abandon settlement
4. Travel to nearest town/village to either trade with or attack.(expedited with devtool)
5. Watch the errors.


Here's the log:

Exception while generating item collection: System.NullReferenceException: Object reference not set to an instance of an object
at Vampire.ScenPart_StartingVampires.Notify_PawnGenerated (Verse.Pawn,RimWorld.PawnGenerationContext) <0x00035>
at (wrapper dynamic-method) RimWorld.Scenario.Notify_PawnGenerated_Patch1 (object,Verse.Pawn,RimWorld.PawnGenerationContext) <0x0005f>
at Verse.PawnGenerator.GeneratePawnInternal (Verse.PawnGenerationRequest) <0x00630>
at Verse.PawnGenerator.GeneratePawn (Verse.PawnGenerationRequest) <0x00024>
at RimWorld.StockGenerator_Animals/<GenerateThings>c__Iterator0.MoveNext () <0x00426>
at RimWorld.ItemCollectionGenerator_TraderStock.Generate (RimWorld.ItemCollectionGeneratorParams,System.Collections.Generic.List`1<Verse.Thing>) <0x00229>
at RimWorld.ItemCollectionGenerator.Generate (RimWorld.ItemCollectionGeneratorParams) <0x0007b>

Verse.Log:Error(String)
RimWorld.ItemCollectionGenerator:Generate(ItemCollectionGeneratorParams)
RimWorld.Planet.Settlement_TraderTracker:RegenerateStock()
RimWorld.Planet.Settlement_TraderTracker:get_StockListForReading()
RimWorld.Planet.Settlement:get_Goods()
RimWorld.TradeDeal:AddAllTradeables()
RimWorld.TradeDeal:Reset()
RimWorld.TradeDeal:.ctor()
RimWorld.TradeSession:SetupWith(ITrader, Pawn)
RimWorld.Dialog_Trade:.ctor(Pawn, ITrader)
RimWorld.Planet.<TradeCommand>c__AnonStorey0:<>m__0()
Verse.Command_Action:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor(IEnumerable`1)
RimWorld.Planet.WorldInspectPane:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.Planet.WorldInspectPane:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:OnGUI()
Last edited by Danroak; Dec 31, 2017 @ 8:10pm