Code:
07.09. 10:00:46.381 World-Altering Editor (WorldAlteringEditor, Version=1.0.9014.24753, Culture=neutral, PublicKeyToken=null)
07.09. 10:00:46.381 Release version: 1.1.7
07.09. 10:00:46.381 Unhandled exception! @ 10:00:46
07.09. 10:00:46.381 Message: The given key '502' was not present in the dictionary.
07.09. 10:00:46.389 Stack trace: at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TSMapEditor.Models.Trigger.ParseConditions(String data, EditorConfig editorConfig) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Models\Trigger.cs:line 210
at TSMapEditor.Initialization.MapLoader.ReadTriggers(IMap map, IniFile mapIni) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Initialization\MapLoader.cs:line 805
at TSMapEditor.Models.Map.LoadExisting(GameConfigINIFiles gameConfigINIFiles, IniFile mapIni) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Models\Map.cs:line 257
at TSMapEditor.UI.Windows.MainMenuWindows.MapSetup.InitializeMap(String gameDirectory, Boolean createNew, String existingMapPath, CreateNewMapEventArgs newMapParameters, WindowManager windowManager) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\Windows\MainMenuWindows\MapSetup.cs:line 63
at TSMapEditor.UI.UIManager.LoadMap() in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\UIManager.cs:line 437
at TSMapEditor.UI.UIManager.Update(GameTime gameTime) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\UIManager.cs:line 708
at Rampastring.XNAUI.WindowManager.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.SortingFilteringCollection`1.ForEachFilteredItem[TUserData](Action`2 action, TUserData userData)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at System.Windows.Forms.Application.ThreadContext.Microsoft.Office.IMsoComponent.FDoIdle(msoidlef grfidlef)
at System.Windows.Forms.Application.ComponentManager.Microsoft.Office.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
at MonoGame.Framework.WinFormsGameWindow.RunLoop()
at MonoGame.Framework.WinFormsGamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at TSMapEditor.Program.Main(String[] args) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Program.cs:line 26
07.09. 10:00:46.381 Release version: 1.1.7
07.09. 10:00:46.381 Unhandled exception! @ 10:00:46
07.09. 10:00:46.381 Message: The given key '502' was not present in the dictionary.
07.09. 10:00:46.389 Stack trace: at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TSMapEditor.Models.Trigger.ParseConditions(String data, EditorConfig editorConfig) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Models\Trigger.cs:line 210
at TSMapEditor.Initialization.MapLoader.ReadTriggers(IMap map, IniFile mapIni) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Initialization\MapLoader.cs:line 805
at TSMapEditor.Models.Map.LoadExisting(GameConfigINIFiles gameConfigINIFiles, IniFile mapIni) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Models\Map.cs:line 257
at TSMapEditor.UI.Windows.MainMenuWindows.MapSetup.InitializeMap(String gameDirectory, Boolean createNew, String existingMapPath, CreateNewMapEventArgs newMapParameters, WindowManager windowManager) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\Windows\MainMenuWindows\MapSetup.cs:line 63
at TSMapEditor.UI.UIManager.LoadMap() in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\UIManager.cs:line 437
at TSMapEditor.UI.UIManager.Update(GameTime gameTime) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\UI\UIManager.cs:line 708
at Rampastring.XNAUI.WindowManager.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.SortingFilteringCollection`1.ForEachFilteredItem[TUserData](Action`2 action, TUserData userData)
at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at System.Windows.Forms.Application.ThreadContext.Microsoft.Office.IMsoComponent.FDoIdle(msoidlef grfidlef)
at System.Windows.Forms.Application.ComponentManager.Microsoft.Office.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
at MonoGame.Framework.WinFormsGameWindow.RunLoop()
at MonoGame.Framework.WinFormsGamePlatform.RunLoop()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Microsoft.Xna.Framework.Game.Run()
at TSMapEditor.Program.Main(String[] args) in D:\a\WorldAlteringEditor\WorldAlteringEditor\src\TSMapEditor\Program.cs:line 26
I've tried from different maps I've created and the ones that get the error are 'keys' 82, 502, and 503.
Where is the dictionary the error is referring to?