RimWorld

RimWorld

126 ratings
TDS Bug Fixes - Continued
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
494.926 KB
19 Jul @ 5:40am
19 Jul @ 6:00am
2 Change Notes ( view )

Subscribe to download
TDS Bug Fixes - Continued

In 1 collection by Meme Goddess
Uuugggg's Continued Mods
13 items
Description
Sadly Uuugggg has passed away, I'm going to continue this mod (and some/all of his others) in order to preserve his legacy and impact on RimWorld.

Original Mod
Github[github.com]

Original Description

These are bugfixes, incomplete features or overlooked edge cases I found I needed for my mods.

(Little to no use otherwise because these niche scenarios don't show up in vanilla.)

Drag-Reorderable row items

- Allows reorderables in draggable windows. (Vanilla would drag the window instead)
- Allows nested re-orderable areas within each other. (Vanilla assumes your multi-area reorder areas are separate areas)
-- Even nested reorderable rows work, not just nested group areas. (One parent row with nested children row can cover all the children and work fine)
- Allows multi-area reorderables in-game (the colonist bar would hijack the drop in vanilla)
- The drawn "drop line" when dropping onto an empty group now draws in the group's area (instead of at 0,0)

- TODO: I found a problem with reorderable areas in multiple windows. If you click on the window that is not the front window to start a drag, it'll start to drag the wrong item. This one is due to some very low-level assumptions and can't easily be fixed.

WidgetRow

- Fixes ButtonRect's height when set to a fixed width, to match other WidgetRow buttons : 22px high instead of preset 24.
- Fixes the first label in a row getting a 2px gap added.

Window

- If you press esc when there's a MessageBox window over another window, which is not a modal window, it would closes them both. Fixed that.. Somehow I guess this just never happens in vanilla?

---

Original Source (Not current) on github : https://github.com/alextd/RimWorld-TDS-Bugfixes
Popular Discussions View All (2)
0
9 Aug @ 12:21pm
InvalidOperationException in EditWindow_Log due to concurrent modification of message queue
oldnewone
0
7 Aug @ 5:12am
a bug people are getting, cant start scenario
Unorthodox_fox
15 Comments
Meme Goddess  [author] 15 Aug @ 6:58pm 
@Retagin ~ Interesting, what is this mod that is causing the conflict? And does it happen with just that mod and this one?

@greensniperhat ~ Hmmm ok, such an edgecase thing, will be difficult to replicate. I'll take a look at it though
greensniperhat 15 Aug @ 3:59am 
- POSTFIX dimonsever000.socialinterface: Void SocialInterface.SocialCardUtility_DrawRelationsAndOpinions_SocialInterfacePatch:Postfix(Rect rect, Pawn selPawnForSocialInfo)
at Verse.StartingPawnUtility.DrawPortraitArea (UnityEngine.Rect rect, System.Int32 pawnIndex, System.Boolean renderClothes, System.Boolean renderHeadgear) [0x00244] in <cb53cd4422904947932d33f561ad8d15>:0
- POSTFIX kyrun.mod.reunion: Void Kyrun.Reunion.HarmonyPatches+StartingPawnUtility_DrawPortraitArea:Postfix(Rect rect, Int32& pawnIndex, Boolean& renderClothes, Boolean& renderHeadgear)
at RimWorld.Page_ConfigureStartingPawns.DoWindowContents (UnityEngine.Rect rect) [0x001e5] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
greensniperhat 15 Aug @ 3:59am 
Might be a conflict with Reunion, when generating pawns it sometimes makes the 'best stat' panel below the pawn info disappear, as well as the Reunion set ally thing. I've noticed this happens when a genned pawn has a relationship.

Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object
[Ref A2600A5C]
at RimWorld.SocialCardUtility.RomanceOptions (Verse.Pawn romancer) [0x00012] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.SocialCardUtility.DrawTryRomance (UnityEngine.Rect buttonRect, Verse.Pawn pawn) [0x00027] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.SocialCardUtility.DrawRelationsAndOpinions (UnityEngine.Rect rect, Verse.Pawn selPawnForSocialInfo) [0x001dc] in <cb53cd4422904947932d33f561ad8d15>:0
(cont)
Retagin 15 Aug @ 12:49am 
Mod seems to work so long as there are not any mods that add starting scenarios. If any mod adds a starting scenario no starting scenario can be selected, and dev quickstart fails. hugslib spits this out, this is the only page_selectscenario exception:

Exception filling window for RimWorld.Page_SelectScenario: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8EF1264F]
at Verse.GenTypes.SameOrSubclassOf (System.Type baseType, System.Type parentType) [0x00009] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.GenTypes.SameOrSubclassOf[T] (System.Type baseType) [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.ReadingPolicyDatabase.GenerateStartingPolicies () [0x0003e] in <cb53cd4422904947932d33f561ad8d15>:0
<0x24bcb34c0e0 + 0x0007a> <unknown method>
<0x24bcb342730 + 0x006ea> <unknown method>
...
Retagin 15 Aug @ 12:49am 
...
at RimWorld.Page_SelectScenario.BeginScenarioConfiguration (RimWorld.Scenario scen, RimWorld.Page originPage) [0x00005] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.Page_SelectScenario.CanDoNext () [0x00014] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.Page.DoBottomButtons (UnityEngine.Rect rect, System.String nextLabel, System.String midLabel, System.Action midAct, System.Boolean showNext, System.Boolean doNextOnKeypress) [0x000f2] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.Page_SelectScenario.DoWindowContents (UnityEngine.Rect rect) [0x000ab] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
тетеря, блин 7 Aug @ 3:32am 
I have a large modlist, it was easier to remove it. Unfortunately, don't have that much free time to hunt the cause of the problem. Hope the log shows something. It was RimSorted, all major errors caused by other mods smashed down. I try not to use mods that do the same thing or obviously interact with each other.
Meme Goddess  [author] 6 Aug @ 11:02pm 
@2498timmy @Terrestre @тетеря, блин ~ Do those issues happen with just this mod installed? Or with a large modlist?
тетеря, блин 6 Aug @ 9:09am 
soon after loading a newly generated map:

Exception filling window for LudeonTK.EditWindow_Log: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
[Ref 2007F0A6]
at System.Collections.Generic.Queue`1+Enumerator[T].MoveNext () [0x00013] in <51fded79cd284d4d911c5949aff4cb21>:0
at LudeonTK.EditWindow_Log.DoMessagesListing (UnityEngine.Rect listingRect) [0x001f9] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX UnlimitedHugs.HugsLib: Boolean
...
at LudeonTK.EditWindow_Log.DoWindowContents (UnityEngine.Rect inRect) [0x0026e] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main : IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)


https://gist.github.com/HugsLibRecordKeeper/ff3eb53c01e34d2f6e59fd16d5874dd6
Terrestre 5 Aug @ 8:28am 
Cant generate new scenario
2498timmy 2 Aug @ 12:54am 
I am unable to generate new scenario, visual exceptions shows this is preventing the screen progress when clicking next on scenario screen.