边缘世界 RimWorld

边缘世界 RimWorld

RimHUD
El Marco 8 月 23 日 上午 7:15
Index was out of range. Must be non-negative and less than the size of the collection.
Appeared to happen just as a pawn was dropped off in jail.
He was tantruming when he was arrested.

Broke the pawn info, but also the prisoner info window.

[[RimHUD v1.17.5 Auto-deactivation report]]
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Stacktrace:
[ArgumentOutOfRangeException] Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index


at System.Collections.Generic.List`1[T].get_Item (System.Int32 index)
at ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch.Listener (UnityEngine.Rect rect, Verse.Pawn pawn)
at RimWorld.MedicalCareUtility.MedicalCareSelectButton (UnityEngine.Rect rect, Verse.Pawn pawn)
- PREFIX ArtificialBeings: Boolean ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch:Listener(Rect rect, Pawn pawn)
- PREFIX ModMedicinePatch: Boolean ModMedicinePatch.MedicalCareSelectButton:_Prefix(Rect rect, Pawn pawn)
at RimHUD.Interface.Screen.InspectPaneButtons.DrawMedical (Verse.Pawn pawn, UnityEngine.Rect rect)
at RimHUD.Interface.Screen.InspectPaneButtons.Draw (UnityEngine.Rect bounds, RimWorld.IInspectPane pane, System.Single& offset)
- POSTFIX Andromeda.UsefulMarks: Void UsefulMarks.RimHUD_Patch:Postfix(Rect bounds, IInspectPane pane, Single& offset)
- POSTFIX SmashPhil.VehicleFramework: Void SmashTools.Patching.Compatibility_RimHUD:DrawButtonsOnRimHUD(Rect bounds, IInspectPane pane, Single& offset)
at RimHUD.Interface.Screen.InspectPanePlus.DrawPane (UnityEngine.Rect rect, RimWorld.IInspectPane pane)
< >
正在显示第 1 - 5 条,共 5 条留言
El Marco 8 月 23 日 上午 7:19 
Now happens every time I click on this pawn alone.
Doesn't happen for other pawns.
He is the only chemical dependent pawn I have (can't remember their correct name)

[[RimHUD v1.17.5 Auto-deactivation report]]
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Stacktrace:
[ArgumentOutOfRangeException] Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index


at System.Collections.Generic.List`1[T].get_Item (System.Int32 index)
at ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch.Listener (UnityEngine.Rect rect, Verse.Pawn pawn)
at RimWorld.MedicalCareUtility.MedicalCareSelectButton (UnityEngine.Rect rect, Verse.Pawn pawn)
- PREFIX ArtificialBeings: Boolean ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch:Listener(Rect rect, Pawn pawn)
- PREFIX ModMedicinePatch: Boolean ModMedicinePatch.MedicalCareSelectButton:_Prefix(Rect rect, Pawn pawn)
at RimHUD.Interface.Screen.InspectPaneButtons.DrawMedical (Verse.Pawn pawn, UnityEngine.Rect rect)
at RimHUD.Interface.Screen.InspectPaneButtons.Draw (UnityEngine.Rect bounds, RimWorld.IInspectPane pane, System.Single& offset)
- POSTFIX Andromeda.UsefulMarks: Void UsefulMarks.RimHUD_Patch:Postfix(Rect bounds, IInspectPane pane, Single& offset)
- POSTFIX SmashPhil.VehicleFramework: Void SmashTools.Patching.Compatibility_RimHUD:DrawButtonsOnRimHUD(Rect bounds, IInspectPane pane, Single& offset)
at RimHUD.Interface.Screen.InspectPanePlus.DrawPane (UnityEngine.Rect rect, RimWorld.IInspectPane pane)
El Marco 8 月 23 日 上午 7:29 
OK, just arrested another Pawn (different genome) and exactly the same thing happened.
Must be something to do with that process.
El Marco 8 月 23 日 上午 7:42 
OK, happened again.

This time I was rescuing people and putting them in a hospital bed.

One pawn of my own and one pawn from a space battle.

So it looks like maybe something about being put in a bed is doing it.



[[RimHUD v1.17.5 Auto-deactivation report]]
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Stacktrace:
[ArgumentOutOfRangeException] Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index


at System.Collections.Generic.List`1[T].get_Item (System.Int32 index)
at ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch.Listener (UnityEngine.Rect rect, Verse.Pawn pawn)
at RimWorld.MedicalCareUtility.MedicalCareSelectButton (UnityEngine.Rect rect, Verse.Pawn pawn)
- PREFIX ArtificialBeings: Boolean ArtificialBeings.MedicalCareUtility_Patch+MedicalCareUtility_MedicalCareSelectButton_Patch:Listener(Rect rect, Pawn pawn)
- PREFIX ModMedicinePatch: Boolean ModMedicinePatch.MedicalCareSelectButton:_Prefix(Rect rect, Pawn pawn)
at RimHUD.Interface.Screen.InspectPaneButtons.DrawMedical (Verse.Pawn pawn, UnityEngine.Rect rect)
at RimHUD.Interface.Screen.InspectPaneButtons.Draw (UnityEngine.Rect bounds, RimWorld.IInspectPane pane, System.Single& offset)
- POSTFIX Andromeda.UsefulMarks: Void UsefulMarks.RimHUD_Patch:Postfix(Rect bounds, IInspectPane pane, Single& offset)
- POSTFIX SmashPhil.VehicleFramework: Void SmashTools.Patching.Compatibility_RimHUD:DrawButtonsOnRimHUD(Rect bounds, IInspectPane pane, Single& offset)
at RimHUD.Interface.Screen.InspectPanePlus.DrawPane (UnityEngine.Rect rect, RimWorld.IInspectPane pane)
Angus Beef 10 月 27 日 下午 5:41 
I am getting almost the exact same issue.
El Marco 10 月 31 日 上午 5:42 
Ahh, found the cause.

I had a mod which increased the medic options available.
This meant that when a new person arrived, they had more options than the box was able to display.

Fix in the end was just to remove the mod which allows you to choose more medical options for the default medicine.

I am sure it could be fixed in code, but I gave up and removed the other mod.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50