RimWorld

RimWorld

Dynamic Diplomacy
 This topic has been pinned, so it's probably important
NilchEi  [developer] Oct 9, 2019 @ 8:34am
Official Error Report Thread
Please post an error log here.

Without an log, I am unlikely to have enough information to track down and fix the reported problem.
Last edited by NilchEi; Oct 9, 2019 @ 8:42am
< >
Showing 1-15 of 66 comments
Smash Phil Jan 14, 2020 @ 10:10pm 
Conquests are particularly laggy. I have the setting enabled for distance based conquest. Sometimes the conquest takes a few seconds to load, and other times it takes 30+ seconds. I'm guessing the calculation for which settlement to perform a conquest on (with distance based conquest enabled) is causing a serious performance hit whenever the incident is triggered. What are you considering in this event which needs that long to complete?
NilchEi  [developer] Jan 14, 2020 @ 10:35pm 
Distance-based conquest works in a following way:
1) "Attacker" settlement is selected
2) The game iterates through every settlement. When the settlement selected is within 10 tiles of the attacker settlement (and belongs to non-player faction that is hostile to attacker faction), that settlement gets conquered.
3) If there are no settlements within 10 tiles of attacker settlement, conquest range is increased by 10 tiles and the game iterates through every settlement again.
4) So target range is increased from 10 to 20, 30, 40 ... until it reaches 200 and the event ends without doing anything if there is still no eligible conquest target within that range.

Naturally, amount of time it takes for this process to complete mostly depends on how far away valid target is from the attacker settlement (farther away means more iterations needed). I'd actually appreciate any advice on how this process can be shortened.
Dennis Jan 24, 2020 @ 4:08am 
The following error occurs and stopps most of my other mods from working properly:

Could not execute post-long-event action. Exception: System.TypeInitializationException: An exception was thrown by the type initializer for DynamicDiplomacy.SettingsImplementer ---> System.NullReferenceException: Object reference not set to an instance of an object
at DynamicDiplomacy.SettingsImplementer..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (intptr) <0x00065>
at (wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 (System.RuntimeTypeHandle) <0x00073>
at StartupImpact.Patch.StaticConstructorOnStartupUtilityCallAll.Prefix () <0x00152>
at (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 () <0x0003e>
at Verse.PlayDataLoader.<DoPlayLoad>m__2 () <0x00032>
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () <0x001c3>

Verse.Log:Error(String, Boolean)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update_Patch1(Object)
Verse.Root_Entry:Update()
Gonenoculer5 Apr 3, 2020 @ 12:20pm 
https://gist.github.com/0eed34e15a3d81e57f3d001769d231fa Unsure if this is entirely an error with Dynamic Diplomacy, however its occouring at a "peace talks in a nearby castle" type quest, my pawn exposes the area containing the negotiator, and the console promptly spams the same error until console disables message logging. I cannot interact with the pawn to select the "Negotiate" option, if you could offer any advice if this is a non-D.D. error, it would be much appreciated!
NilchEi  [developer] Apr 3, 2020 @ 1:13pm 
That's a massive error log with lot of mods I don't use, so I'm not sure I can be of help. I can at least 100% say the error is not caused by Dyanimc Diplomacy since this mod doesn't affect anything that require player interaction.
Gonenoculer5 Apr 3, 2020 @ 1:49pm 
Exception drawing ThingOverlay for Ryla: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.Pawn_TraderTracker.DMD<DMD<get_CanTradeNow_Patch1>?1356369536::get_CanTradeNow_Patch1>(RimWorld.Pawn_TraderTracker)
at Verse.Pawn.get_CanTradeNow () [0x00008] in <29684bdca4b441d38f64a3f064edc8ed>:0
at (wrapper dynamic-method) Verse.PawnUIOverlay.DMD<DMD<DrawPawnGUIOverlay_Patch1>?-1875309056::DrawPawnGUIOverlay_Patch1>(Verse.PawnUIOverlay)
at Verse.Pawn.DrawGUIOverlay () [0x00006] in <29684bdca4b441d38f64a3f064edc8ed>:0
at Verse.ThingOverlays.ThingOverlaysOnGUI () [0x0005e] in <29684bdca4b441d38f64a3f064edc8ed>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Well, either way, any clue what type of mod would be resulting in this specific error?
Gonenoculer5 Apr 3, 2020 @ 1:50pm 
Obviously its refering to a pawn named Ryla and trying to draw a trader icon mote, that much I can figure out, but im unsure what mod specifically causes this event
wooley2000 Jul 11, 2021 @ 9:12am 
Gonna post this here https://gist.github.com/b24365bd32901a6a9e3875b80f7c6786 .The Mod detting page gives the same error with no buttons to toggle. Thanks for the update;)
NilchEi  [developer] Jul 11, 2021 @ 9:50am 
Strange. Mod settings page work on my end without problem. Which Rimworld version are you using? Does the problem persist even when you only have Dynamic Diplomacy active? What resolution are you using for Rimworld?
wooley2000 Jul 11, 2021 @ 10:01am 
Oh sorry I am using the new 1.3 beta and rimthemes.
GoblinCookie Jul 28, 2021 @ 2:48pm 
If a faction changes it's ideoligion, I've seen visitors/raiders complain about having a leader of the wrong ideologion. It seems that the ideologion of their off-site leader did not change with the rest of their faction.
NilchEi  [developer] Jul 28, 2021 @ 6:26pm 
Good catch, I'll fix it this weekend.
NilchEi  [developer] Jul 28, 2021 @ 8:19pm 
Actually, solution was more easier than expected, I pushed an update that should prevent the issue from occurring on future ideoligion changes (though it won't help those who already have the debuff).
GoblinCookie Jul 29, 2021 @ 7:51am 
Also, you should make it so that ideologion changes to the *players* ideologion can only happen if relations are actually friends, rather than simply neutral. It felt a bit strange when a faction that really did not like me that much suddenly converted.
< >
Showing 1-15 of 66 comments
Per page: 1530 50