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]: 开游戏时缺少mhypbase.dll #2345

Closed
1 task done
Alirea10 opened this issue Jan 4, 2025 · 6 comments
Closed
1 task done

[Bug]: 开游戏时缺少mhypbase.dll #2345

Alirea10 opened this issue Jan 4, 2025 · 6 comments
Labels
area-GameLauncher 游戏启动器

Comments

@Alirea10
Copy link

Alirea10 commented Jan 4, 2025

Windows 版本

22631.4602

Snap Hutao 版本

1.12.8.0

设备 ID

905A3A3B3C84796BB8C1C89908DDFC70

问题分类

游戏启动器

发生了什么?

使用官方mhy启动器下载官服原神,使用Hutao选择由其下载的yuanshen.exe,正常启动官服没有问题,转换为B服时启动报错:Image

你期望发生的行为?

正常启动并转换服务器

最后一步

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

dgp-bot bot commented Jan 4, 2025

device_id: 905A3A3B3C84796BB8C1C89908DDFC70

Exception Data:
----------------------------------------
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: g.AttachUid'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at Snap.Hutao.Service.Game.GameDbService.GetGameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameDbService.cs:line 23
   at Snap.Hutao.Service.Game.Account.GameAccountService.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Account\GameAccountService.cs:line 25
   at Snap.Hutao.Service.Game.GameServiceFacade.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 31
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.OpenUIAsync() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 39
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: g.AttachUid'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at Snap.Hutao.Service.Game.GameDbService.GetGameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameDbService.cs:line 23
   at Snap.Hutao.Service.Game.Account.GameAccountService.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Account\GameAccountService.cs:line 25
   at Snap.Hutao.Service.Game.GameServiceFacade.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 31
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.OpenUIAsync() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 39
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@dgp-bot dgp-bot bot added the area-GameLauncher 游戏启动器 label Jan 4, 2025
@Alirea10
Copy link
Author

Alirea10 commented Jan 4, 2025

后续发现转回去也不行

@Alirea10
Copy link
Author

Alirea10 commented Jan 4, 2025

转换过程中还会再这个界面未响应Image

@qhy040404
Copy link
Member

无法复现,修复游戏试一下

@Mikachu2333
Copy link
Collaborator

无法复现加一

@Alirea10
Copy link
Author

Alirea10 commented Jan 4, 2025

破案了,原因是我的原神路径出错了,选中了上个issue中没有下载完毕的yuanshen.exe路径,导致出现错误
选中正确的下载完毕的原神后不再出现问题。

@Alirea10 Alirea10 closed this as completed Jan 4, 2025
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jan 4, 2025
@Alirea10 Alirea10 changed the title [Bug]: 由官服切换至B服(均为国服)时缺少mhypbase.dll [Bug]: 开游戏时缺少mhypbase.dll Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-GameLauncher 游戏启动器
Projects
None yet
Development

No branches or pull requests

3 participants