Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No interrogation possible altough prisoners have intel #272

Open
Surica-11 opened this issue Sep 13, 2024 · 2 comments
Open

No interrogation possible altough prisoners have intel #272

Surica-11 opened this issue Sep 13, 2024 · 2 comments

Comments

@Surica-11
Copy link

I don't have the "start interrogation" button anymore when I click on the interrogation chair. All except one prisoner have intel. Interrogation worked before but now I get the following error message:

Message logging is now once again on.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
Verse.Log:ResetMessageCount ()
Verse.Log:Clear ()
Verse.EditWindow_Log:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

System.NullReferenceException: Object reference not set to an instance of an object
  at PrisonLabor.Core.Interrogation.Ritual.NonColonyPrisonerRole.AppliesToPawn (Verse.Pawn p, System.String& reason, Verse.TargetInfo selectedTarget, RimWorld.LordJob_Ritual ritual, RimWorld.RitualRoleAssignments assignments, RimWorld.Precept_Ritual precept, System.Boolean skipReason) [0x00028] in <4f6a20ed9f294a2ca50e84b8eb690d62>:0 
  at RimWorld.RitualBehaviorWorker+<>c__DisplayClass7_1.<CanStartRitualNow>b__1 (Verse.Pawn p) [0x00000] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at Verse.GenCollection.Count[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x0000e] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at RimWorld.RitualBehaviorWorker.CanStartRitualNow (Verse.TargetInfo target, RimWorld.Precept_Ritual ritual, Verse.Pawn selectedPawn, System.Collections.Generic.Dictionary`2[TKey,TValue] forcedForRole) [0x00236] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at RimWorld.Command_Ritual.ValidateDisabledState () [0x00000] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at RimWorld.Command_Ritual..ctor (RimWorld.Precept_Ritual ritual, Verse.TargetInfo targetInfo, RimWorld.RitualObligation forObligation, System.Collections.Generic.Dictionary`2[TKey,TValue] forcedForRole) [0x00108] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at RimWorld.Precept_Ritual+<GetGizmoFor>d__97.MoveNext () [0x0015f] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at Verse.Thing+<GetGizmos>d__162.MoveNext () [0x00188] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at cedaro.ChangeThatStyle.Patch+<Postfix>d__2.MoveNext () [0x000a7] in <bedcc5706f6b4781a5e4e4265bb84aae>:0 
  at Verse.ThingWithComps+<GetGizmos>d__33.MoveNext () [0x00072] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at Verse.Building+<GetGizmos>d__25.MoveNext () [0x00084] in <eeb29632ad124b59a4e69a77603ced84>:0 
  at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&) currentSelectable: PL_InterrogationChair222443
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)
@Hazzer
Copy link
Collaborator

Hazzer commented Oct 11, 2024

Need more information about pawn you are trying to interrogate.

@Surica-11
Copy link
Author

Surica-11 commented Dec 20, 2024

Sorry for late reply.

I realised that I captured a wild pawn and after that the interrogation button disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants