DGP-Studio / Snap.Hutao

实用的开源多功能原神工具箱 🧰 / Multifunctional Open-source Genshin Impact Toolkit 🧰
https://hut.ao
MIT License
3.97k stars 188 forks source link

进入副本后解锁帧率失效 #1844

Closed IIcygnus closed 3 months ago

IIcygnus commented 3 months ago

检查清单

Windows 版本

22631.3880

Snap Hutao 版本

1.10.7.0

设备 ID

46519BC0F503E248CB1659B19C37EED8

问题分类

游戏启动器

发生了什么?

使用解锁帧率启动游戏后,帧率正常解锁了,但是在游戏中 QQ_1721449873796 QQ_1721449950544 进入任意副本之后帧率上限又回到60

你期望发生的行为?

游戏内进入副本后解锁帧率功能仍可正常运行

最后一步

dgp-bot[bot] commented 3 months ago

device_id: 46519BC0F503E248CB1659B19C37EED8

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 152
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-otfdyh5oc289vmdj\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 115
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 56
   at Snap.Hutao.Core.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 142
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 106
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 55
   at Snap.Hutao.Core.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 144
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 107
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Lightczx commented 3 months ago

用注入模式

github-actions[bot] commented 2 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.