RimWorld

RimWorld

SpeakUp Child
Small Gooby 21 Sep, 2024 @ 1:03am
Possible Asimov-Speak up issues
Mentioned in comments. Making a discussion thread here to document the issue since I haven't found any mention of it elsewhere. Gonna troubleshoot it over the weekend hopefully.
< >
Showing 1-11 of 11 comments
Small Gooby 21 Sep, 2024 @ 1:05am 
The log gets spammed with a version of this error log for every pawn when opening a "human-like" asimov pawns social tab (outer rim droid depot mod)
Small Gooby 21 Sep, 2024 @ 1:05am 
[SpeakUp] Error processing extra rules: Object reference not set to an instance of an object
Initator: Dengar (<----normal Human Pawn), recipient: D4N7-E. (<---Asimov robot pawn)
Last successful rule: INITIATOR_adulthood → bounty hunter
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Warning_Patch1 (string)
SpeakUp.ExtraGrammarUtility:ExtraRules ()
SpeakUp.GrammarResolver_Resolve:Prefix (string&,object,string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
RimWorld.InteractionCardUtility:DrawInteractionsLog (UnityEngine.Rect,Verse.Pawn,System.Collections.Generic.List`1<Verse.LogEntry>,int)
RimWorld.SocialCardUtility:DrawSocialCard (UnityEngine.Rect,Verse.Pawn)
RimWorld.ITab_Pawn_Social:FillTab ()
Verse.InspectTabBase/<>c__DisplayClass19_0:<DoTabGUI>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Small Gooby 21 Sep, 2024 @ 1:05am 
Random state stack is not empty. There were more calls to PushState than PopState. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Warning_Patch1 (string)
Verse.Rand:EnsureStateStackEmpty ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch2 (Verse.Root)
Verse.Root_Play:Update ()
Small Gooby 21 Sep, 2024 @ 1:11am 
I believe it's related to either, the fact they can't generate normal thoughts or/and they do not have any growth states which when speak up tries to generate certain dialouge fails as the pawn dosen't behave like it should. I tried the 'fix' of increasing the age from 3 to 30 in character editor but it did not solve the issue.

Another potential issue is that Asimov pawns can be blocked from getting adult backstories which might cause issues aswell. The log keeps mentioning the last rule being related to backstories. Going to check by doing some test anyhow and trying it out. The problem is that issues get worse over time, it looks fine initially and then after hours of game time issues pop up.
Small Gooby 21 Sep, 2024 @ 1:14am 
Another issue is that Asimov pawns generate issues with speakup when being off the map, possible unrelated issue but it also breaks the social tab with speak up related errors. Might just be corrupt relationship data similar to a badly deleted world pawn because of the failed speak up interactions. Returning the Asimov pawn to the same map as other pawns fixes this issue.
Small Gooby 21 Sep, 2024 @ 1:15am 
[SpeakUp] D4N7-E tried to repeat a reply for ChitChat_generic while talking to Dengar.
D4N7-E is participating in 2 current talks
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
SpeakUp.Talk:MakeReply (RimWorld.InteractionDef,bool)
SpeakUp.Talk:Reply (string)
SpeakUp.Talk:.ctor (string)
SpeakUp.DialogManager:Ensue (System.Collections.Generic.List`1<string>)
SpeakUp.GrammarResolver_TryResolveRecursive:Postfix (bool,Verse.Grammar.GrammarResolver/RuleEntry,System.Collections.Generic.List`1<string>)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.TryResolveRecursive_Patch2 (Verse.Grammar.GrammarResolver/RuleEntry,int,System.Collections.Generic.Dictionary`2<string, string>,string&,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,Verse.Grammar.GrammarRequest/ICustomizer)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.TryResolveRecursive_Patch2 (Verse.Grammar.GrammarResolver/RuleEntry,int,System.Collections.Generic.Dictionary`2<string, string>,string&,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,Verse.Grammar.GrammarRequest/ICustomizer)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
RimWorld.InteractionCardUtility:DrawInteractionsLog (UnityEngine.Rect,Verse.Pawn,System.Collections.Generic.List`1<Verse.LogEntry>,int)
RimWorld.SocialCardUtility:DrawSocialCard (UnityEngine.Rect,Verse.Pawn)
RimWorld.ITab_Pawn_Social:FillTab ()
Verse.InspectTabBase/<>c__DisplayClass19_0:<DoTabGUI>b__0 ()
Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Small Gooby 21 Sep, 2024 @ 1:16am 
[SpeakUp] Error processing extra rules: Object reference not set to an instance of an object
Initator: D4N7-E, recipient: Dreed.
Zero rules processed.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Warning_Patch1 (string)
SpeakUp.ExtraGrammarUtility:ExtraRules ()
SpeakUp.GrammarResolver_Resolve:Prefix (string&,object,string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
Bubbles.Core.Bubble:GetText ()
Bubbles.Core.Bubble:get_Text ()
Bubbles.Core.Bubble:ScaleDimensions (single)
Bubbles.Core.Bubble:Draw (UnityEngine.Vector2,bool,single)
Bubbles.Core.Bubbler:DrawBubble (Verse.Pawn,bool,single)
Bubbles.Core.Bubbler:Draw ()
Bubbles.Access.RimWorld_MapInterface_MapInterfaceOnGUI_BeforeMainTabs:Postfix ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1 (RimWorld.MapInterface)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch3 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)
Small Gooby 21 Sep, 2024 @ 1:16am 
Grammar unresolvable. Root 'r_logentry'

GRAMMAR RESOLUTION TRACE
r_logentry → UNRESOLVABLE


BARE INCLUDES
recipient → [RECIPIENT_nameDef]
recipient → [recipient_love]
recipient → [recipient_love]
recipient → [recipient_love]
recipient_love → honey
recipient_love → honey pot
recipient_love → love
recipient_love → lovebug
recipient_love → sweetie
recipient_love → sweetheart
recipient_love → babe
recipient_love → cutiepie
recipient_love → starshine
recipient_love → angelwing
recipient_love → gummybear
recipient_love → darling
recipient_love → dreamship
recipient_love → amore
recipient_love → amore mio
recipient → [recipient_sibling]
recipient_sibling → [recipient_brother]
recipient_brother → brother
recipient_sibling → [recipient_sister]
recipient_sister → sister
recipient → [recipient_parent]
recipient_parent → [recipient_father]
recipient_father → father
recipient_father → dad
recipient_parent → [recipient_mother]
recipient_mother → mother
recipient_mother → mum
recipient → [recipient_child]
recipient_child → my child
recipient_child → dear
recipient_child → [recipient_son]
recipient_son → son
recipient_son → my son
recipient_child → [recipient_daughter]
recipient_daughter → daughter
recipient_daughter → my daughter
recipient → [RECIPIENT_nameDef]
wanna → would you like to
wanna → would you like to
wanna → want to
wanna → wanna
intensifier →
intensifier → so
intensifier → very
intensifier → really
intensifier → truly
intensifier → so [intensifier]
intensifier →
intensifier → so
intensifier → very
intensifier → really
intensifier → so [intensifier]
intensifier →
intensifier → most
intensifier → quite
intensifier → super
damned_intensifier →
damned_intensifier → damned
damned_intensifier → bloody
damned_intensifier → blasted
damned_intensifier → sodding
damned_intensifier → ♥♥♥♥♥♥♥
damned_intensifier → ♥♥♥♥♥♥♥ [damned_intensifier]
damned_intensifier → ♥♥♥♥♥♥♥
damned_intensifier → frigging
damned_intensifier → ♥♥♥♥♥♥♥♥♥
damned_intensifier → ♥♥♥♥♥♥♥ [damned_intensifier]
r_logentry → [bad_opinion]
bad_opinion → [good_opinion]
bad_opinion → ...
bad_opinion → [interjection_dismissive]...
bad_opinion → What, [recipient]? *scowls*
interjection_dismissive → Bah
interjection_dismissive → Tsk
interjection_dismissive → Ugh
interjection_dismissive → Meh
interjection_dismissive → Hmph
interjection_dismissive → Humph
r_logentry → [good_opinion]
good_opinion → Yes, [recipient]?
good_opinion → Yeah, [recipient]?
good_opinion → Mhm?
good_opinion → What is it, [recipient]?
good_opinion → [interjection_neutral]...?
good_opinion → [interjection_neutral]? What, [recipient]?
good_opinion → [interjection_neutral]... What is it, [recipient]?
interjection_neutral → Huh
interjection_neutral → Mhm
interjection_neutral → Mmm
interjection_neutral → Er
interjection_neutral → Eh[add_h][add_h]
interjection_neutral → Uh[add_h][add_h]
interjection_neutral → Um[add_m][add_m]
interjection_neutral → Uhm[add_m][add_m]
interjection_neutral → Ah[add_h][add_h]
interjection_neutral → Oh[add_h][add_h]
interjection_neutral → Hm[add_m][add_m]
add_h →
add_h → h
add_m →
add_m → m
CONSTANTS
INITIATOR_faction PlayerColony
INITIATOR_formerlyColonist True
INITIATOR_flesh Normal
INITIATOR_gender None
INITIATOR_genderResolved None
INITIATOR_cubeInterest False
RECIPIENT_faction PlayerColony
RECIPIENT_formerlyColonist True
RECIPIENT_flesh Normal
RECIPIENT_gender Male
RECIPIENT_genderResolved Male
RECIPIENT_cubeInterest False

CUSTOM RULES
■INITIATOR_nameFull → D4N7-E
■INITIATOR_label → D4N7-E
■INITIATOR_labelNoParenthesis → KX Security Droid
■INITIATOR_definite → D4N7-E
■INITIATOR_nameDef → D4N7-E
■INITIATOR_indefinite → D4N7-E
■INITIATOR_nameIndef → D4N7-E
■INITIATOR_pronoun → it
■INITIATOR_possessive → its
■INITIATOR_objective → it
■INITIATOR_factionName → Krayt's Cantina
■INITIATOR_kind → colonist
■INITIATOR_kindPlural → colonists
■INITIATOR_title → Old Droid
■INITIATOR_titleIndef → a Old Droid
■INITIATOR_titleDef → the Old Droid
■INITIATOR_age → 25
■INITIATOR_chronologicalAge → 25
■formerlyColonistInfo → D4N7-E was formerly part of your faction.
■INITIATOR_relationInfo →
■RECIPIENT_nameFull → Dreed Krayt
■RECIPIENT_label → Dreed
■RECIPIENT_labelNoParenthesis → human
■RECIPIENT_definite → Dreed
■RECIPIENT_nameDef → Dreed
■RECIPIENT_indefinite → Dreed
■RECIPIENT_nameIndef → Dreed
■RECIPIENT_pronoun → he
■RECIPIENT_possessive → his
■RECIPIENT_objective → him
■RECIPIENT_factionName → Krayt's Cantina
■RECIPIENT_kind → hunter
■RECIPIENT_kindPlural → hunters
■RECIPIENT_title → child
■RECIPIENT_titleIndef → a child
■RECIPIENT_titleDef → the child
■RECIPIENT_age → 11
■RECIPIENT_chronologicalAge → 6
■formerlyColonistInfo → Dreed was formerly part of your faction.
■RECIPIENT_relationInfo → \n\nDreed has a relationship with a colonist. He is Dengar's son.

UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.Log:ErrorOnce (string,int)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,bool&,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
Verse.Grammar.GrammarResolver:ResolveUnsafe (string,Verse.Grammar.GrammarRequest,string,bool,bool,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Grammar.GrammarResolver.Resolve_Patch1 (string,Verse.Grammar.GrammarRequest,string,bool,string,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<string>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PlayLogEntry_Interaction.ToGameStringFromPOV_Worker_Patch2 (Verse.PlayLogEntry_Interaction,Verse.Thing,bool)
Verse.LogEntry:ToGameStringFromPOV (Verse.Thing,bool)
Bubbles.Core.Bubble:GetText ()
Bubbles.Core.Bubble:get_Text ()
Bubbles.Core.Bubble:ScaleDimensions (single)
Bubbles.Core.Bubble:Draw (UnityEngine.Vector2,bool,single)
Bubbles.Core.Bubbler:DrawBubble (Verse.Pawn,bool,single)
Bubbles.Core.Bubbler:Draw ()
Bubbles.Access.RimWorld_MapInterface_MapInterfaceOnGUI_BeforeMainTabs:Postfix ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.MapInterface.MapInterfaceOnGUI_BeforeMainTabs_Patch1 (RimWorld.MapInterface)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.UIRoot_Play.UIRootOnGUI_Patch3 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch2 (Verse.Root)
Small Gooby 21 Sep, 2024 @ 1:17am 
generates almost every time an asimov pawn tries to chitchat
Small Gooby 21 Sep, 2024 @ 1:19am 
It's responses to chitchat, generic chit chat and "random deeptalk logic" that consistently generates errors
solidsnake8608  [developer] 21 Sep, 2024 @ 3:49am 
Based on the errors and your investigation, it appears it's entirely related to SpeakUp itself. The Grammar unresolvable. Root 'r_logentry' error is stating that whatever the Pawn tried to say, the flag that determines what word the Initiator would use in their sentence with the Recipient can't be determined. For example: If the Initiator has a line written like "(INITIATOR_opinion>=25)->Good day, [RECIPIENT]", but the Initiator has no opinion at all of the Recipient for the game to check, it will spit out the error you received.

Have you tried it without only SpeakUp installed and not this mod?
< >
Showing 1-11 of 11 comments
Per page: 1530 50