tModLoader

tModLoader

Journey Mode Unleashed
Rena 24 Dec, 2021 @ 10:36am
Error when researching (missing keys 5202, 5203)
When I dragged the "0 statue" into research and hit the Research button, this error appeared int he console:

The given key '5202' was not present in the dictionary. (see client.log for full trace)
[13:33:28] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.Collections.Generic.KeyNotFoundException: The given key '5202' was not present in the dictionary.
at ImprovedJourneyMode.ImprovedJourneyModSystem.DoSmartResearch() in ImprovedJourneyMode\ImprovedJourneyModSystem.cs:line 276
at ImprovedJourneyMode.ImprovedJourneyModSystem.UICreativeInfiniteItemsDisplay_RememberItemSacrifice(orig_RememberItemSacrifice orig, UICreativeInfiniteItemsDisplay self, Int32 itemId, Int32 amountWeHave, Int32 amountWeNeedTotal) in ImprovedJourneyMode\ImprovedJourneyModSystem.cs:line 165
at DMD<Terraria.GameContent.UI.Elements.UICreativeInfiniteItemsDisplay::sacrificeButton_OnClick>(UICreativeInfiniteItemsDisplay this, UIMouseEvent evt, UIElement listeningElement)
at Terraria.UI.UIElement.Click(UIMouseEvent evt)
at Terraria.UI.UserInterface.Update(GameTime time)
at Terraria.GameContent.Creative.CreativeUI.Update(GameTime gameTime)
at Terraria.Main.UpdateUIStates(GameTime gameTime)
at DMD<Terraria.Main::DoUpdate>(Main this, GameTime& gameTime)
at Creativetools.src.Tools.TimeControl.TimeControl.Main_DoUpdate(orig_DoUpdate orig, Main self, GameTime& gameTime)
at Terraria.Main.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.RunLoop()
at Microsoft.Xna.Framework.Game.Run()
at Terraria.Program.LaunchGame_(Boolean isServer)
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at MonoLaunch.Main(String[] args)

The same error repeats with key 5203. However it doesn't seem to have caused any noticeable problem; all available items were still researched.