M src/PacketLogger/Models/NostaleProcesses.cs => src/PacketLogger/Models/NostaleProcesses.cs +3 -1
@@ 15,6 15,7 @@ using System.Threading.Tasks;
using NosSmooth.Comms.Local;
using NosSmooth.Core.Extensions;
using NosSmooth.LocalBinding;
+using NosSmooth.LocalBinding.Errors;
using NosSmooth.LocalBinding.Options;
using ReactiveUI;
@@ 101,7 102,8 @@ public class NostaleProcesses : IDisposable
new UnitManagerOptions()
);
var result = nosBrowserManager.Initialize();
- if (result.IsSuccess)
+ if (result.IsSuccess || (result.Error is CouldNotInitializeModuleError moduleError
+ && moduleError.Module.Name.Contains("NtClient")))
{
RxApp.MainThreadScheduler.Schedule
(() => Processes.Add(new NostaleProcess(process, nosBrowserManager)));
M src/PacketLogger/ViewModels/DocumentViewModel.cs => src/PacketLogger/ViewModels/DocumentViewModel.cs +3 -1
@@ 194,7 194,9 @@ public class DocumentViewModel : Document, INotifyPropertyChanged, IDisposable
async process =>
{
Loading = true;
- var encryptionKey = process.BrowserManager.IsInGame ? process.BrowserManager.NtClient.EncryptionKey : 0;
+
+ // var encryptionKey = process.BrowserManager.IsInGame ? process.BrowserManager.NtClient.EncryptionKey : 0;
+ var encryptionKey = 0;
var client = ActivatorUtilities.CreateInstance<PcapNostaleClient>
(services, process.Process, encryptionKey, Encoding.Default);