hanmin0822 / MisakaTranslator

御坂翻译器—Galgame/文字游戏/漫画多语种实时机翻工具
GNU General Public License v3.0
4.95k stars 435 forks source link

崩溃BUG #77

Open nizhaobudao opened 4 years ago

nizhaobudao commented 4 years ago

关于哪一项功能 程序停止运行

问题描述 调整句子去重时崩溃,BUG日志为第二次日志。 另外必须在游戏打开后打开MisakaHookFinderV1.1检测,否则HookFinder检测不到游戏进程或不能注入

调试使用程序 RPG魔物娼館Monster Girl Club Bifrost + Addon ver1.11c [English-Uncen]

应用版本 V2.6

系统信息 Windows10 x64 1809

错误信息 ==============System Info================ System:Microsoft Windows NT 6.2.9200.0 CurrentTime:2020/7/18 19:40 dotNetVersion:4.0.30319.42000 MisakaTranslatorVersion:2.6.0.0 ==============Exception Info================ ExceptionType:Non UI Thread ExceptionSource:mscorlib ExceptionMessage:调用的目标发生了异常。 ExceptionStackTrace: 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 TextRepairLibrary.TextRepair.RepairFun_Auto(String functionName, String sourceText) 在 MisakaTranslator_WPF.GuidePages.Hook.ChooseTextRepairFuncPage.RepairFuncCombox_SelectionChanged(Object sender, SelectionChangedEventArgs e) 在 System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e) 在 HandyControl.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e) 位置 E:\Work\GitHub\HandyControl\src\Shared\HandyControl_Shared\Controls\Input\ComboBox.cs:行号 143 在 System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List1 unselectedInfos, List1 selectedInfos) 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End() 在 System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection) 在 System.Windows.Controls.ComboBox.NotifyComboBoxItemMouseUp(ComboBoxItem comboBoxItem) 在 System.Windows.Controls.ComboBoxItem.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) 在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) 在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) 在 System.Windows.Application.RunDispatcher(Object ignore) 在 System.Windows.Application.RunInternal(Window window) 在 System.Windows.Application.Run(Window window) 在 MisakaTranslator_WPF.App.Main()

附加截图

hanmin0822 commented 4 years ago

告知一下用的是哪种去重方式。 hookfinder先需要确定游戏进程,然后hookfinder和翻译器是不能同时打开使用的,如果查找不到钩子,请检查是否开管理员和关杀软等。

nizhaobudao commented 4 years ago

去重方式还没选时候自己关了,当时在研究怎么去重;稳定性我只开翻译器再试试;建议别在设置上弄太复杂,可以直接把去重结果显示出来,类似之前的VNR,方便小白操作

------------------ 原始邮件 ------------------ 发件人: "hanmin0822/MisakaTranslator" <notifications@github.com>; 发送时间: 2020年7月18日(星期六) 晚上8:26 收件人: "hanmin0822/MisakaTranslator"<MisakaTranslator@noreply.github.com>; 抄送: "你找不到"<519946205@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [hanmin0822/MisakaTranslator] 崩溃BUG (#77)

告知一下用的是哪种去重方式。 hookfinder先需要确定游戏进程,然后hookfinder和翻译器是不能同时打开使用的,如果查找不到钩子,请检查是否开管理员和关杀软等。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

hanmin0822 commented 4 years ago

如果选择的是 自定义去重,需要编写自行编写DLL,另外设置上并不复杂,去重的结果也能实时显示出来