zencq / NomNom

NomNom is the most complete savegame editor for NMS but also shows additional information around the data you're about to change. You can also easily look up each item individually to examine its attributes, independently of a savegame, or get other useful information that are not related to a specific savegame (but enhanced if one is loaded).
https://zencq.github.io/NomNom/
GNU General Public License v3.0
383 stars 33 forks source link

[Bug] Can't sync expedition save to Assistant for No Man's Sky app #159

Closed Umuthoper closed 4 months ago

Umuthoper commented 4 months ago

Description

When I select an expedition save and click the Assistant for No Man's Sky button the app just crashes

Reproduce

Steps to reproduce the behavior:

  1. Click on an epedition save
  2. Click on Asistant for No Man's Sky

Expected Behavior

It was supposed to give me a code to sync with Assistant for No Man's Sky

Files

Couldn't find a way to find and exort a save file.

Crash Report:

NomNom 4.50.1.36-beta.6+d6f809724f0d71d8620ca8909d2b8b1f1bdb5b58 Crash Report

Environment

Operating System Microsoft Windows 10.0.19045

.NET .NET 6.0.26

Exception

Type System.NullReferenceException

Message Object reference not set to an instance of an object.

Stack Trace at NomNom.ViewModels.AssistantTransferDialogViewModel.FillInventories() at NomNom.ViewModels.AssistantTransferDialogViewModel.OnDialogOpened(IDialogParameters parameters) at Prism.Services.Dialogs.DialogService.<>c__DisplayClass9_0.b__0(IDialogAware d) at Prism.Common.MvvmHelpers.ViewAndViewModelAction[T](Object view, Action1 action) at Prism.Services.Dialogs.DialogService.ConfigureDialogWindowContent(String dialogName, IDialogWindow window, IDialogParameters parameters) at Prism.Services.Dialogs.DialogService.ShowDialogInternal(String name, IDialogParameters parameters, Action1 callback, Boolean isModal, String windowName) at Prism.Services.Dialogs.DialogService.ShowDialog(String name, IDialogParameters parameters, Action`1 callback) at NomNom.ViewModels.MainWindowViewModel.OpenAssistantTransfer() at Prism.Commands.DelegateCommand.Execute() at Prism.Commands.DelegateCommand.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(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)

Additional Context

cengelha commented 4 months ago

Did you try to open it with a pre-Omega save selected (not saved with Omega+)? I could reproduce it like that

Umuthoper commented 4 months ago

Did you try to open it with a pre-Omega save selected (not saved with Omega+)? I could reproduce it like that

It works normally when I try it with a normal save. It only crashes on Omega saves.

Edit: There is probably something wrong with my Omega save since I couldn't edit it while I could edit my normal save + I cant export any of my saves.