Closed einbuis07 closed 1 month ago
Thats quite an old version. You can get the newest one here: https://github.com/codengine/SOTFEdit/releases/download/v0.12.10/SOTFEdit-v0.12.10.zip
Let me know if the issue still persists.
ok thanks :)
it works :) thanks for help
My SOTFEdit Gives Error when i load savegame how to fix?
error: Version: 0.9.0 Message: Added item does not appear at given index '0'. Exception Type: System.InvalidOperationException Callstack: at System.Windows.Data.ListCollectionView.AdjustBefore(NotifyCollectionChangedAction action, Object item, Int32 index) at System.Windows.Data.ListCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args) at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args) at SOTFEdit.Infrastructure.WpfObservableRangeCollectionb__10(Object , MouseButtonEventArgs e) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\Infrastructure\ItemDoubleClickBehaviour.cs:line 51
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Control.OnPreviewMouseDoubleClick(MouseButtonEventArgs e)
at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Inner Exception:
1.OnCollectionChanged(NotifyCollectionChangedEventArgs e) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\Infrastructure\WpfObservableRangeCollection.cs:line 832 at SOTFEdit.Infrastructure.RangeObservableCollection
1.InsertRange(Int32 index, IEnumerable1 collection) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\Infrastructure\WpfObservableRangeCollection.cs:line 219 at SOTFEdit.ViewModel.NpcsPageViewModel.LoadNpcs(Savegame savegame) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\ViewModel\NpcsPageViewModel.cs:line 89 at SOTFEdit.ViewModel.NpcsPageViewModel.Reload(Savegame selectedSavegame) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\ViewModel\NpcsPageViewModel.cs:line 71 at SOTFEdit.ViewModel.NpcsPageViewModel.OnSelectedSavegameChanged(SelectedSavegameChangedEvent m) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\ViewModel\NpcsPageViewModel.cs:line 62 at SOTFEdit.ViewModel.NpcsPageViewModel.<SetupListeners>b__13_0(Object _, SelectedSavegameChangedEvent m) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\ViewModel\NpcsPageViewModel.cs:line 45 at CommunityToolkit.Mvvm.Messaging.Internals.MessageHandlerDispatcher.For
2.Invoke(Object recipient, Object message) at CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger.SendAll[TMessage](ReadOnlySpan1 pairs, Int32 i, TMessage message) at CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger.Send[TMessage,TToken](TMessage message, TToken token) at CommunityToolkit.Mvvm.Messaging.IMessengerExtensions.Send[TMessage](IMessenger messenger, TMessage message) at SOTFEdit.SavegameManager.set_SelectedSavegame(Savegame value) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\SavegameManager.cs:line 25 at SOTFEdit.ViewModel.SelectSavegameViewModel.SelectSavegame(Savegame savegame) in D:\a\SOTFEdit\SOTFEdit\SOTFEdit\ViewModel\SelectSavegameViewModel.cs:line 39 at CommunityToolkit.Mvvm.Input.RelayCommand
1.Execute(Object parameter) at SOTFEdit.Infrastructure.ItemDoubleClickBehavior.