Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 打开注入功能后无法正常启动游戏 #2251

Closed
1 task done
happy233333 opened this issue Nov 28, 2024 · 12 comments
Closed
1 task done

[Bug]: 打开注入功能后无法正常启动游戏 #2251

happy233333 opened this issue Nov 28, 2024 · 12 comments
Labels
area-GameLauncher 游戏启动器 已完成 This issue is completed
Milestone

Comments

@happy233333
Copy link

happy233333 commented Nov 28, 2024

Windows 版本

22631.4460

Snap Hutao 版本

1.12.4

设备 ID

42B481CC8D1A5EFE024CBFC737A3CFEA

问题分类

游戏启动器

发生了什么?

打开注入功能后无法正常启动游戏,会弹出404报错Image

你期望发生的行为?

希望可以在打开注入功能后正常启动游戏

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@happy233333 happy233333 added the priority:none Priority not set label Nov 28, 2024
@dgp-bot
Copy link

dgp-bot bot commented Nov 28, 2024

device_id: 42B481CC8D1A5EFE024CBFC737A3CFEA

Exception Data:
[string]:Description:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedDescription:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D): 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|38_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Extension.AppNotificationBuilderExtension.Show(AppNotificationBuilder builder, AppNotificationManager manager) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\Extension\AppNotificationBuilderExtension.cs:line 18
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 116
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr 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.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 57
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 151
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in C:\Users\Public\appveyor\Snap.Hutao-smkd9dy3mgyt7ce0\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 114
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at WinRT.GenericTypeInstantiations.Windows_Foundation_TypedEventHandler_2_object__Microsoft_UI_Xaml_WindowEventArgs.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr args)
Exception Data:
[string]:Description:该对象已关闭。

[string]:RestrictedDescription:The given object has already been closed / disposed and may no longer be used.
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ObjectReferenceWithContext<WinRT.Interop.IUnknownVftbl>]:__RestrictedErrorObjectReference:WinRT.ObjectReferenceWithContext`1[WinRT.Interop.IUnknownVftbl]
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.ObjectDisposedException: 该对象已关闭。

The given object has already been closed / disposed and may no longer be used.

@dgp-bot dgp-bot bot added the area-GameLauncher 游戏启动器 label Nov 28, 2024
@dgp-bot
Copy link

dgp-bot bot commented Nov 28, 2024

由于资源有限,我们将不会考虑与旧版本客户端相关的问题。如果你认为该判定有误,请手动重新打开议题。
请更新至最新版本:
稳定版: 1.12.4
测试版: 2024.11.29.2

@dgp-bot dgp-bot bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2024
@dgp-bot dgp-bot bot added 过时的版本 and removed priority:none Priority not set 过时的版本 labels Nov 28, 2024
@dgp-bot dgp-bot bot reopened this Nov 28, 2024
@qhy040404
Copy link
Member

你这是私服吧

@happy233333
Copy link
Author

happy233333 commented Nov 29, 2024

你这是私服吧

是正式服,不知道什么原因我这里的hutao检测不到游戏版本。如果关闭注入功能的话可以正常启动游戏;如果打开注入功能启动游戏的话可以正常转换国服与国际服,但是转换之后启动不了游戏

@qhy040404
Copy link
Member

官方版本不会出现获取不到版本号的问题

@qhy040404
Copy link
Member

截图游戏目录和游戏目录下 (GenshinImpact_Data|YuanShen_Data)\Persistent 目录的内容

@qhy040404 qhy040404 added 需要更多信息 需要提交更多信息 and removed 过时的版本 labels Nov 29, 2024
@happy233333
Copy link
Author

happy233333 commented Nov 29, 2024

截图游戏目录和游戏目录下 (GenshinImpact_Data|YuanShen_Data)\Persistent 目录的内容

Image
Image
Image

@happy233333
Copy link
Author

突然发现我原神的config.ini内容有问题,感觉可能是原因Image

@qhy040404
Copy link
Member

确实有点小问题
你可以把游戏目录下的 config.ini 和胡桃数据文件夹中 ServerCache 下的 config.ini删掉后重启胡桃,胡桃会给你修复的

@happy233333
Copy link
Author

确实有点小问题 你可以把游戏目录下的 config.ini 和胡桃数据文件夹中 ServerCache 下的 config.ini删掉后重启胡桃,胡桃会给你修复的

感谢,修好了,顺带解决了转不到b服的问题

@dgp-bot
Copy link

dgp-bot bot commented Nov 29, 2024

5f7a9a9 已完成此议题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Nov 29, 2024
@dgp-bot dgp-bot bot removed the 需要更多信息 需要提交更多信息 label Nov 29, 2024
@dgp-bot dgp-bot bot moved this to 完成 in Snap Hutao Development Nov 29, 2024
@dgp-bot dgp-bot bot added this to the 1.12.5 milestone Dec 4, 2024
@dgp-bot
Copy link

dgp-bot bot commented Dec 4, 2024

包含解决该问题的程序版本 1.12.5 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-GameLauncher 游戏启动器 已完成 This issue is completed
Projects
Development

No branches or pull requests

2 participants