RimWorld

RimWorld

[AP] All Tomorrows
 This topic has been pinned, so it's probably important
Alexis Popcorn  [developer] Jul 12, 2022 @ 11:37pm
Bug reports
Remember to show your modlist and full error log message
< >
Showing 1-8 of 8 comments
Hammertime Jul 13, 2022 @ 3:14am 
Thanks for setting this up! Two issues:

1: A gravital has no food types it can eat but still has hunger. I'm not sure which of these was supposed to be missing!

2: When drafting a gravital, the game slowed to a near-freeze but only one error popped up. This didn't happen the first time I drafted it and I couldn't undraft. All the standard options to draft, shoot, etc. weren't visible.

System.InvalidOperationException: Nullable object must have a value.
at System.Nullable`1[T].get_Value () [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at EBF.Patches.PostFix_VerbProperties_GetDamageFactorFor.PostFix (System.Single& __result, Verse.Tool tool, Verse.Pawn attacker, Verse.HediffComp_VerbGiver hediffCompSource) [0x0006e] in <f1867e4f7967428da3a660fd9ba1d628>:0
at (wrapper dynamic-method) Verse.VerbProperties.Verse.VerbProperties.GetDamageFactorFor_Patch1(Verse.VerbProperties,Verse.Tool,Verse.Pawn,Verse.HediffComp_VerbGiver)
at Verse.VerbProperties.GetDamageFactorFor (Verse.Verb ownerVerb, Verse.Pawn attacker) [0x00032] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.Verb.IsStillUsableBy (Verse.Pawn pawn) [0x0001a] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Pawn_MeleeVerbs.<GetUpdatedAvailableVerbsList>g__IsUsableMeleeVerb|18_0 (Verse.Verb v) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Pawn_MeleeVerbs.GetUpdatedAvailableVerbsList (System.Boolean terrainTools) [0x00037] in <81af9f8a18324e17b286924a43555a7c>:0
at yayoCombat.Pawn_MeleeVerbs_ChooseMeleeVerb_Patch.Prefix (RimWorld.Pawn_MeleeVerbs __instance, Verse.Thing target) [0x0002f] in <866019203d6945628a03de2bc1669be1>:0
at (wrapper dynamic-method) RimWorld.Pawn_MeleeVerbs.RimWorld.Pawn_MeleeVerbs.ChooseMeleeVerb_Patch4(RimWorld.Pawn_MeleeVerbs,Verse.Thing)
at RimWorld.Pawn_MeleeVerbs.TryGetMeleeVerb (Verse.Thing target) [0x00047] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.FloatMenuUtility.GetMeleeAttackAction (Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String& failStr) [0x0010c] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.PawnAttackGizmoUtility.GetMeleeAttackGizmo (Verse.Pawn pawn) [0x00057] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.PawnAttackGizmoUtility+<GetAttackGizmos>d__0.MoveNext () [0x0002f] in <81af9f8a18324e17b286924a43555a7c>:0
at MVCF.Harmony.Gizmos+<GetAttackGizmos_Postfix>d__6.MoveNext () [0x000ba] in <b7564f8162f34ab79b49df8dc874f6a0>:0
at Verse.Pawn+<GetGizmos>d__234.MoveNext () [0x001be] in <81af9f8a18324e17b286924a43555a7c>:0
at AllowTool.Patches.Pawn_GetGizmos_Patch+<AppendGizmo>d__1.MoveNext () [0x00088] in <62b4ea65b8384767bbe2ebb0d5b5d734>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Androids.HarmonyPatches.Patch_Pawn_GetGizmos (Verse.Pawn __instance, System.Collections.Generic.IEnumerable`1[Verse.Gizmo]& __result) [0x00021] in <b4aec95e9b09440582e1c56f91aadd3d>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch23(Verse.Pawn)
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (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_Patch1 (Verse.Root)
Alexis Popcorn  [developer] Jul 13, 2022 @ 4:58pm 
Originally posted by Hammertime:
Thanks for setting this up! Two issues:

1: A gravital has no food types it can eat but still has hunger. I'm not sure which of these was supposed to be missing!

2: When drafting a gravital, the game slowed to a near-freeze but only one error popped up. This didn't happen the first time I drafted it and I couldn't undraft. All the standard options to draft, shoot, etc. weren't visible.

System.InvalidOperationException: Nullable object must have a value.
at System.Nullable`1[T].get_Value () [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at EBF.Patches.PostFix_VerbProperties_GetDamageFactorFor.PostFix (System.Single& __result, Verse.Tool tool, Verse.Pawn attacker, Verse.HediffComp_VerbGiver hediffCompSource) [0x0006e] in <f1867e4f7967428da3a660fd9ba1d628>:0
at (wrapper dynamic-method) Verse.VerbProperties.Verse.VerbProperties.GetDamageFactorFor_Patch1(Verse.VerbProperties,Verse.Tool,Verse.Pawn,Verse.HediffComp_VerbGiver)
at Verse.VerbProperties.GetDamageFactorFor (Verse.Verb ownerVerb, Verse.Pawn attacker) [0x00032] in <81af9f8a18324e17b286924a43555a7c>:0
at Verse.Verb.IsStillUsableBy (Verse.Pawn pawn) [0x0001a] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Pawn_MeleeVerbs.<GetUpdatedAvailableVerbsList>g__IsUsableMeleeVerb|18_0 (Verse.Verb v) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.Pawn_MeleeVerbs.GetUpdatedAvailableVerbsList (System.Boolean terrainTools) [0x00037] in <81af9f8a18324e17b286924a43555a7c>:0
at yayoCombat.Pawn_MeleeVerbs_ChooseMeleeVerb_Patch.Prefix (RimWorld.Pawn_MeleeVerbs __instance, Verse.Thing target) [0x0002f] in <866019203d6945628a03de2bc1669be1>:0
at (wrapper dynamic-method) RimWorld.Pawn_MeleeVerbs.RimWorld.Pawn_MeleeVerbs.ChooseMeleeVerb_Patch4(RimWorld.Pawn_MeleeVerbs,Verse.Thing)
at RimWorld.Pawn_MeleeVerbs.TryGetMeleeVerb (Verse.Thing target) [0x00047] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.FloatMenuUtility.GetMeleeAttackAction (Verse.Pawn pawn, Verse.LocalTargetInfo target, System.String& failStr) [0x0010c] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.PawnAttackGizmoUtility.GetMeleeAttackGizmo (Verse.Pawn pawn) [0x00057] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.PawnAttackGizmoUtility+<GetAttackGizmos>d__0.MoveNext () [0x0002f] in <81af9f8a18324e17b286924a43555a7c>:0
at MVCF.Harmony.Gizmos+<GetAttackGizmos_Postfix>d__6.MoveNext () [0x000ba] in <b7564f8162f34ab79b49df8dc874f6a0>:0
at Verse.Pawn+<GetGizmos>d__234.MoveNext () [0x001be] in <81af9f8a18324e17b286924a43555a7c>:0
at AllowTool.Patches.Pawn_GetGizmos_Patch+<AppendGizmo>d__1.MoveNext () [0x00088] in <62b4ea65b8384767bbe2ebb0d5b5d734>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x00077] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Androids.HarmonyPatches.Patch_Pawn_GetGizmos (Verse.Pawn __instance, System.Collections.Generic.IEnumerable`1[Verse.Gizmo]& __result) [0x00021] in <b4aec95e9b09440582e1c56f91aadd3d>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch23(Verse.Pawn)
at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (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_Patch1 (Verse.Root)

1: They eat steel or chemfuel. I forgot to mention it lol, gonna do it real quick
2: That looks like a mod conflict. What is "EBF"? I don't recognize that mod
Emperor Status Jul 14, 2022 @ 8:26am 
https://steamcommunity.com/sharedfiles/filedetails/?id=2835134388

tis the screen shot showing the bug his sprite is too big
TurtleShroom Sep 30, 2023 @ 10:23am 
Tried 300 times to generate age for boss gunner UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateRandomAge_Patch1 (Verse.Pawn,Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch5 (Verse.PawnGenerationRequest&,string&,bool,bool) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch1 (Verse.PawnGenerationRequest&) Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch14 (Verse.PawnGenerationRequest) RimWorld.Faction:TryGenerateNewLeader () RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms) VFECore.NewFactionSpawningUtility:SpawnWithoutSettlements (RimWorld.FactionDef) VFECore.NewFactionSpawningUtility:SpawnWithSettlements (RimWorld.FactionDef,int,int,int&) VFECore.Dialog_NewFactionSpawning:<SpawnWithBases>g__SpawnCallback|7_0 (int,int) VFECore.Dialog_NewFactionSpawningSettlements:Spawn () VFECore.Dialog_NewFactionSpawningSettlements:DoWindowContents (UnityEngine.Rect) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

When I created a new World, only a few of my Factions I installed showed up. As such, I went to manually introduce them, one by one, through the VFE work around. (That is why you see the VFE stuff, but I promise that this error exists in your base code.)

To my surprise, I was accidentally able to reproduce the bug when I loaded one of the "All Tomorrows" Factions. I'm not sure which one it was, but I can confirm it was your Mod, because I saw the error pop up only when I added your Faction.

What is specifically happening is a Pawn called "Boss Gunner", who is generated as a Pawn for all Factions of men in your Mod, is somehow spawning at an age level he is not permitted to spawn in.

This might have to do with the Age Generation Curve of one of the HAR Race systems for an "All Tomorrows" race of men. My hunch is that your decision to set the Maximum Generated Age to forty-five ("<maxGenerationAge>45</maxGenerationAge>") collides with a race of men that is coded in the HAR system to always spawn past that age.
Alexis Popcorn  [developer] Sep 30, 2023 @ 9:33pm 
Originally posted by TurtleShroom:
Tried 300 times to generate age for boss gunner UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateRandomAge_Patch1 (Verse.Pawn,Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch5 (Verse.PawnGenerationRequest&,string&,bool,bool) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch1 (Verse.PawnGenerationRequest&) Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch14 (Verse.PawnGenerationRequest) RimWorld.Faction:TryGenerateNewLeader () RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms) VFECore.NewFactionSpawningUtility:SpawnWithoutSettlements (RimWorld.FactionDef) VFECore.NewFactionSpawningUtility:SpawnWithSettlements (RimWorld.FactionDef,int,int,int&) VFECore.Dialog_NewFactionSpawning:<SpawnWithBases>g__SpawnCallback|7_0 (int,int) VFECore.Dialog_NewFactionSpawningSettlements:Spawn () VFECore.Dialog_NewFactionSpawningSettlements:DoWindowContents (UnityEngine.Rect) Verse.Window:InnerWindowOnGUI (int) UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

When I created a new World, only a few of my Factions I installed showed up. As such, I went to manually introduce them, one by one, through the VFE work around. (That is why you see the VFE stuff, but I promise that this error exists in your base code.)

To my surprise, I was accidentally able to reproduce the bug when I loaded one of the "All Tomorrows" Factions. I'm not sure which one it was, but I can confirm it was your Mod, because I saw the error pop up only when I added your Faction.

What is specifically happening is a Pawn called "Boss Gunner", who is generated as a Pawn for all Factions of men in your Mod, is somehow spawning at an age level he is not permitted to spawn in.

This might have to do with the Age Generation Curve of one of the HAR Race systems for an "All Tomorrows" race of men. My hunch is that your decision to set the Maximum Generated Age to forty-five ("<maxGenerationAge>45</maxGenerationAge>") collides with a race of men that is coded in the HAR system to always spawn past that age.

yep, definitely my fault, i will take care of it
I absolutely LOVE this mod but
unfortunately, if it's used along with the Big and Small series, something stops half of my modded factions from appearing and each faction only gets one faction base on the planet each

modlist is only this mod + dependencies and the big and small series
might be related to the error above
Last edited by Brooke Yomotsu; Mar 21 @ 6:13am
Alexis Popcorn  [developer] Mar 21 @ 9:33am 
looks like, after all, i didnt take care of it XD
this is here PURELY for whenever the dev feels like taking a look at it
they've just fixed a big bug i've had a problem with, and they are of no obligation to look at this right away

just putting it here before i forget- it's not game breaking, just a bit unfortunate
some, yes only *some* asteromorphs (and all gravitals for some reason) are invisible- this could purely be a mod incompatibility on my side and i plan to test to see if it is, but just in case it isn't, i'll put there here before i forget

log:
https://pastebin.com/CZYrZYcd

i hope it doesnt seem like im just piling on problems (this is actually the only other bug or fault in the mod i've ever seen), and once again thank you so much for fixing the faction bug!!
Last edited by Brooke Yomotsu; Mar 23 @ 8:56am
< >
Showing 1-8 of 8 comments
Per page: 1530 50