RimWorld

RimWorld

Dynamic Trade Interface
Tom Jackal 16 Mar, 2024 @ 3:15pm
Error offering gifts to hostile settlement
I tried sending a caravan to a faction to offer gifts to be able to trade with them, but the gift window wouldn't open
< >
Showing 1-10 of 10 comments
Tom Jackal 16 Mar, 2024 @ 3:16pm 
Error message from the first time the caravan arrived at their destination to offer gifts

System.NullReferenceException: Object reference not set to an instance of an object
at DynamicTradeInterface.UserInterface.Columns.ColumnButtons.PostOpen (System.Collections.Generic.IEnumerable`1[T] rows, RimWorld.Transactor transactor) [0x000e5] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.PopulateTable (DynamicTradeInterface.InterfaceComponents.TableBox.Table`1[T] table, RimWorld.Transactor transactor) [0x00287] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.RefreshData () [0x00008] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.PreOpen () [0x00039] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <cd7169108ea74757aa50c5b33d275c15>:0
at DynamicTradeInterface.Patches.Dialog_TradePatches.Prefix (RimWorld.Dialog_Trade __instance, System.Boolean ___giftsOnly) [0x0002c] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.PostOpen_Patch1(RimWorld.Dialog_Trade)
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.CaravanArrivalAction_OfferGifts.Arrived (RimWorld.Planet.Caravan caravan) [0x00027] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan_PathFollower.PatherArrived () [0x0002e] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan_PathFollower.TryEnterNextPathTile () [0x00039] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan_PathFollower.PatherTick () [0x000f0] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan.Tick () [0x0000c] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.WorldObjectsHolder.WorldObjectsHolderTick () [0x00029] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.World.WorldTick () [0x00016] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.TickManager.Verse.TickManager.DoSingleTick_Patch3(Verse.TickManager)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
Tom Jackal 16 Mar, 2024 @ 3:17pm 
Error message on subsequent attempts

Exception filling window for Verse.FloatMenuWorld: System.NullReferenceException: Object reference not set to an instance of an object
at DynamicTradeInterface.UserInterface.Columns.ColumnButtons.PostOpen (System.Collections.Generic.IEnumerable`1[T] rows, RimWorld.Transactor transactor) [0x000e5] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.PopulateTable (DynamicTradeInterface.InterfaceComponents.TableBox.Table`1[T] table, RimWorld.Transactor transactor) [0x00287] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.RefreshData () [0x00008] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at DynamicTradeInterface.UserInterface.Window_DynamicTrade.PreOpen () [0x00039] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <cd7169108ea74757aa50c5b33d275c15>:0
at DynamicTradeInterface.Patches.Dialog_TradePatches.Prefix (RimWorld.Dialog_Trade __instance, System.Boolean ___giftsOnly) [0x0002c] in <32697bdcdd7d4d148c8f8e6ee9eea684>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.PostOpen_Patch1(RimWorld.Dialog_Trade)
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.CaravanArrivalAction_OfferGifts.Arrived (RimWorld.Planet.Caravan caravan) [0x00027] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan_PathFollower.PatherArrived () [0x0002e] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.Caravan_PathFollower.StartPath (System.Int32 destTile, RimWorld.Planet.CaravanArrivalAction arrivalAction, System.Boolean repathImmediately, System.Boolean resetPauseStatus) [0x000da] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Planet.CaravanArrivalActionUtility+<>c__DisplayClass0_0`1[T].<GetFloatMenuOptions>b__0 () [0x00031] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.FloatMenuOption.Chosen (System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00030] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.FloatMenuOption.Verse.FloatMenuOption.DoGUI_Patch1(Verse.FloatMenuOption,UnityEngine.Rect,bool,Verse.FloatMenu)
at Verse.FloatMenu.DoWindowContents (UnityEngine.Rect rect) [0x000fb] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.FloatMenuWorld.DoWindowContents (UnityEngine.Rect inRect) [0x0009b] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Zeracronius  [developer] 16 Mar, 2024 @ 3:47pm 
Thank you, this is not something i've seen or heard of before, i'll look into it.
Is it 1.4 or 1.5?
Zeracronius  [developer] 16 Mar, 2024 @ 3:56pm 
Remember you can hold down control to open vanilla window!
Tom Jackal 16 Mar, 2024 @ 6:23pm 
this was on 1.4
Tom Jackal 16 Mar, 2024 @ 6:23pm 
Originally posted by Zeracronius:
Remember you can hold down control to open vanilla window!
right, i forgot about that
Zeracronius  [developer] 17 Mar, 2024 @ 7:17am 
So far i haven't been able to reproduce this error.
I have no issues with giving gifts to hostile colonies, and permanently hostile don't even give the option.
Zeracronius  [developer] 17 Mar, 2024 @ 7:30am 
Ok, looks like it's if you try to gift with no silver.
Zeracronius  [developer] 17 Mar, 2024 @ 7:57am 
I have pushed an update that should fix it
Tom Jackal 17 Mar, 2024 @ 11:48am 
Originally posted by Zeracronius:
Ok, looks like it's if you try to gift with no silver.
oh yeah i guess my caravan didn't have silver, just lots of items
< >
Showing 1-10 of 10 comments
Per page: 1530 50