RamRod6198 / Z-Levels

55 stars 34 forks source link

Quest Reward Failure #15

Open Laura-Guillory opened 4 years ago

Laura-Guillory commented 4 years ago

First of all, love the mod. I'm thrilled to see what will happen with Z-Levels.

Issue:

Upon completing the first Royals quest and earning a drop pod reward, the drop pod failed and I received errors. I believe this may be because the colonist who accepted the quest, Mami, was underground at the time and the game doesn't know to drop the items on the "surface map".

Debug log:

DropThingsNear failed to find a place to drop PsychicAmplifier155305 near (-1000, -1000, -1000). Dropping on random square instead.
Verse.Log:Warning(String, Boolean)
RimWorld.DropPodUtility:DropThingGroupsNear_NewTmp(IntVec3, Map, List`1, Int32, Boolean, Boolean, Boolean, Boolean, Boolean)
RimWorld.DropPodUtility:DropThingGroupsNear(IntVec3, Map, List`1, Int32, Boolean, Boolean, Boolean, Boolean)
RimWorld.DropPodUtility:DropThingsNear(IntVec3, Map, IEnumerable`1, Int32, Boolean, Boolean, Boolean, Boolean)
RimWorld.Pawn_RoyaltyTracker:ApplyRewardsForTitle(Faction, RoyalTitleDef, RoyalTitleDef, Boolean)
RimWorld.Pawn_RoyaltyTracker:GainFavor(Faction, Int32)
RimWorld.QuestPart_GiveRoyalFavor:Notify_QuestSignalReceived(Signal)
RimWorld.Quest:Notify_SignalReceived(Signal)
RimWorld.SignalManager:SendSignal(Signal)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, SignalArgs)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, NamedArgument, NamedArgument)
RimWorld.CompShuttle:Send()
RimWorld.CompShuttle:<CompGetGizmosExtra>b__39_2()
Verse.Command_Action:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:DMD<DMD<OnGUI_Patch1>?-281112960::OnGUI_Patch1>(Root)

Tried to spawn DropPodIncoming155307 out of bounds at (-1000, -1000, -1000).
Verse.Log:DMD<DMD<Error_Patch1>?1983329024::Error_Patch1>(String, Boolean)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, Rot4, WipeMode, Boolean)
Verse.GenSpawn:Spawn(Thing, IntVec3, Map, WipeMode)
RimWorld.SkyfallerMaker:DMD<DMD<SpawnSkyfaller_Patch1>?-266187648::SpawnSkyfaller_Patch1>(ThingDef, Thing, IntVec3, Map)
RimWorld.DropPodUtility:MakeDropPodAt(IntVec3, Map, ActiveDropPodInfo)
RimWorld.DropPodUtility:DropThingGroupsNear_NewTmp(IntVec3, Map, List`1, Int32, Boolean, Boolean, Boolean, Boolean, Boolean)
RimWorld.DropPodUtility:DropThingGroupsNear(IntVec3, Map, List`1, Int32, Boolean, Boolean, Boolean, Boolean)
RimWorld.DropPodUtility:DropThingsNear(IntVec3, Map, IEnumerable`1, Int32, Boolean, Boolean, Boolean, Boolean)
RimWorld.Pawn_RoyaltyTracker:ApplyRewardsForTitle(Faction, RoyalTitleDef, RoyalTitleDef, Boolean)
RimWorld.Pawn_RoyaltyTracker:GainFavor(Faction, Int32)
RimWorld.QuestPart_GiveRoyalFavor:Notify_QuestSignalReceived(Signal)
RimWorld.Quest:Notify_SignalReceived(Signal)
RimWorld.SignalManager:SendSignal(Signal)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, SignalArgs)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, NamedArgument, NamedArgument)
RimWorld.CompShuttle:Send()
RimWorld.CompShuttle:<CompGetGizmosExtra>b__39_2()
Verse.Command_Action:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:DMD<DMD<OnGUI_Patch1>?-281112960::OnGUI_Patch1>(Root)

Error while processing a quest signal: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Verse.RoofGrid.Roofed (Verse.IntVec3 c) [0x00017] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at Verse.GridsUtility.Roofed (Verse.IntVec3 c, Verse.Map map) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at ZLevels.SkyfallerPatches+Patch_SpawnSkyfaller3.Postfix (RimWorld.Skyfaller& __result, Verse.ThingDef skyfaller, Verse.Thing innerThing, Verse.IntVec3 pos, Verse.Map map) [0x0002d] in <3501606e51544b438d6dc2121d75a927>:0 
  at (wrapper dynamic-method) RimWorld.SkyfallerMaker.DMD<DMD<SpawnSkyfaller_Patch1>?-266187648::SpawnSkyfaller_Patch1>(Verse.ThingDef,Verse.Thing,Verse.IntVec3,Verse.Map)
  at RimWorld.DropPodUtility.MakeDropPodAt (Verse.IntVec3 c, Verse.Map map, RimWorld.ActiveDropPodInfo info) [0x00018] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.DropPodUtility.DropThingGroupsNear_NewTmp (Verse.IntVec3 dropCenter, Verse.Map map, System.Collections.Generic.List`1[T] thingsGroups, System.Int32 openDelay, System.Boolean instaDrop, System.Boolean leaveSlag, System.Boolean canRoofPunch, System.Boolean forbid, System.Boolean allowFogged) [0x00196] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.DropPodUtility.DropThingGroupsNear (Verse.IntVec3 dropCenter, Verse.Map map, System.Collections.Generic.List`1[T] thingsGroups, System.Int32 openDelay, System.Boolean instaDrop, System.Boolean leaveSlag, System.Boolean canRoofPunch, System.Boolean forbid) [0x00000] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.DropPodUtility.DropThingsNear (Verse.IntVec3 dropCenter, Verse.Map map, System.Collections.Generic.IEnumerable`1[T] things, System.Int32 openDelay, System.Boolean canInstaDropDuringInit, System.Boolean leaveSlag, System.Boolean canRoofPunch, System.Boolean forbid) [0x00046] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.Pawn_RoyaltyTracker.ApplyRewardsForTitle (RimWorld.Faction faction, RimWorld.RoyalTitleDef currentTitle, RimWorld.RoyalTitleDef newTitle, System.Boolean onlyForNewestTitle) [0x00162] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.Pawn_RoyaltyTracker.GainFavor (RimWorld.Faction faction, System.Int32 amount) [0x00063] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.QuestPart_GiveRoyalFavor.Notify_QuestSignalReceived (RimWorld.Signal signal) [0x00058] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
  at RimWorld.Quest.Notify_SignalReceived (RimWorld.Signal signal) [0x000ac] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 
Verse.Log:DMD<DMD<Error_Patch1>?1983329024::Error_Patch1>(String, Boolean)
RimWorld.Quest:Notify_SignalReceived(Signal)
RimWorld.SignalManager:SendSignal(Signal)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, SignalArgs)
RimWorld.QuestUtility:SendQuestTargetSignals(List`1, String, NamedArgument, NamedArgument)
RimWorld.CompShuttle:Send()
RimWorld.CompShuttle:<CompGetGizmosExtra>b__39_2()
Verse.Command_Action:ProcessInput(Event)
Verse.GizmoGridDrawer:DrawGizmoGrid(IEnumerable`1, Single, Gizmo&)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor(IEnumerable`1, Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos()
RimWorld.InspectPaneUtility:ExtraOnGUI(IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI()
Verse.WindowStack:WindowStackOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:DMD<DMD<OnGUI_Patch1>?-281112960::OnGUI_Patch1>(Root)

Here's the save file where it occurred, if that helps at all: https://puu.sh/G6VPn/6272f960b1.rws Firefox seems to like displaying saves as XML text, but you can use Ctrl-S to save the file.

Rimworld game version: 1.1.2654 ZLevels version: 1.1 (Steam Workshop) Mods used: Harmony, Hugslib, Z-Levels Beta Royalty DLC enabled.

Hope this helps!

Taranchuk commented 4 years ago

Thanks, i will check it