Vectorial1024 / Desynchronized

Information spreads from one to another.
https://steamcommunity.com/sharedfiles/filedetails/?id=1573233249
MIT License
4 stars 4 forks source link

Issues with Kidnapping in v1.5.0 #18

Open Vectorial1024 opened 5 years ago

Vectorial1024 commented 5 years ago

There are multiple suspected issues:

Vectorial1024 commented 5 years ago

Confirmed and fixed the defensive battle thought bug.

EDIT: The fix will be in the upcoming v1.5.1.

Vectorial1024 commented 5 years ago

As a matter of documentation, here is an example log of the translation error:

Exception in DrawThoughtGroup for MyGrandparentWasKidnapped on M-Vert: System.FormatException: Input string was not in a correct format.
  at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in <filename unknown>:0 
  at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.String.Format (System.String format, System.Object arg0) [0x00000] in <filename unknown>:0 
  at RimWorld.Thought_Memory.get_LabelCap () [0x00000] in <filename unknown>:0 
  at RimWorld.NeedsCardUtility.DrawThoughtGroup (Rect rect, RimWorld.Thought group, Verse.Pawn pawn) [0x00000] in <filename unknown>:0 
Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimWorld.NeedsCardUtility:DrawThoughtGroup(Rect, Thought, Pawn)
RimWorld.NeedsCardUtility:DrawThoughtListing(Rect, Pawn, Vector2&)
RimWorld.NeedsCardUtility:DoMoodAndThoughts(Rect, Pawn, Vector2&)
RimWorld.NeedsCardUtility:DoNeedsMoodAndThoughts(Rect, Pawn, Vector2&)
RimWorld.ITab_Pawn_Needs:FillTab_Patch2(Object)
Verse.<DoTabGUI>c__AnonStorey0:<>m__0()
Verse.ImmediateWindow:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

This log was first posted here from the Pull Requests, as the bug was uncovered while attempting translation to French. Many thanks to Mihokyo for providing this log.

It would seem like this bug originates from RimWorld. A bug report should be submitted to Ludeon to have this fixed out of the way, since I have no control over it.