RimWorld

RimWorld

Dynamic Diplomacy
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
NilchEi  [udvikler] 9. okt. 2019 kl. 8:34
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.
Sidst redigeret af NilchEi; 9. okt. 2019 kl. 8:42
< >
Viser 1-15 af 66 kommentarer
Smash Phil 14. jan. 2020 kl. 22:10 
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  [udvikler] 14. jan. 2020 kl. 22:35 
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 24. jan. 2020 kl. 4:08 
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 3. apr. 2020 kl. 12:20 
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  [udvikler] 3. apr. 2020 kl. 13:13 
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 3. apr. 2020 kl. 13:49 
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 3. apr. 2020 kl. 13:50 
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 11. juli 2021 kl. 9:12 
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  [udvikler] 11. juli 2021 kl. 9:50 
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 11. juli 2021 kl. 10:01 
Oh sorry I am using the new 1.3 beta and rimthemes.
GoblinCookie 28. juli 2021 kl. 14:48 
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  [udvikler] 28. juli 2021 kl. 18:26 
Good catch, I'll fix it this weekend.
NilchEi  [udvikler] 28. juli 2021 kl. 20:19 
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 29. juli 2021 kl. 7:51 
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.
< >
Viser 1-15 af 66 kommentarer
Per side: 1530 50