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]: 5.2后的高命角色天赋等级无法正常读取 #2408

Open
1 task done
nhzx opened this issue Jan 29, 2025 · 2 comments
Open
1 task done

[Bug]: 5.2后的高命角色天赋等级无法正常读取 #2408

nhzx opened this issue Jan 29, 2025 · 2 comments
Labels
area-Cultivation 养成计划 priority:none Priority not set

Comments

@nhzx
Copy link

nhzx commented Jan 29, 2025

Windows 版本

22631.4460

Snap Hutao 版本

1.13.0.0

设备 ID

395EEACEE244F9D5D94C7E41B555FF3E

问题分类

养成计算

发生了什么?

添加蓝砚至养成计算发现蓝砚天赋处是12而非(9+3)可能是引起崩溃的原因

以下是崩溃代码

System.ArgumentException: '12' cannot be greater than 10.
at System.Math.ThrowMinMaxException[T](T min, T max)
at
Snap.Hutao.Ul.Xaml.View.Dialog.CultivatePromotionDeltaDialog.<>c.<GetPromotionDeltaAsync>b 2 0(Calculabl
eSkill skil) in C:\UsersPubliclappveyoriSnap.Hutao-jh505h81xm9xhuqmlsrclSnap.Hutao\Snap.Hutao\UlXaml
ViewDialogCultivatePromotionDeltaDialog.xaml.cs:line 42
at System.Collections.lmmutable.mmutableArray.CreateRangelTSource,TResult](lmmutableArray'1 items.
Func*2 selector)
at Snap.Hutao.Ul.Xaml.View.Dialog.CultivatePromotionDeltaDialog.GetPromotionDeltaAsync() in C:Users
PubliclappveyoriSnap.Hutao-jh505h81xm9xhugmisrc\Snap.HutaolSnap.Hutao\UlXamlViewiDialog
CultivatePromotionDeltaDialog.xaml.cs:line 37
at Snap.Hutao.ViewModel.AvatarProperty.AvatarPropertyViewModel.CultivateAsync(AvatarView avatar) in C:
(UsersiPubliclappveyorSnap.Hutao-jh505h81xm9xhuqmisrciSnap.HutaolSnap.HutaolViewModeAvatarProperty
AvatarPropertyViewModel.cs:line 180
at CommunityToolkit.Mvm.nput.AsyncRelayCommand.AwaitAndThrowlfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b 128 0(0bject state)
at Microsoft.Ul.Dispatching.DispatcherQueueSynchronizationContext.<>c_DisplayClass2_0.<Post>b__0()

你期望发生的行为?

修复蓝砚天赋描述方式

最后一步

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

dgp-bot bot commented Jan 29, 2025

device_id: 395EEACEE244F9D5D94C7E41B555FF3E

Exception Data:
----------------------------------------
System.ArgumentException: '12' cannot be greater than 10.
   at System.Math.ThrowMinMaxException[T](T min, T max)
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.<>c.<GetPromotionDeltaAsync>b__2_0(ICalculableSkill skill) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 42
   at System.Collections.Immutable.ImmutableArray.CreateRange[TSource,TResult](ImmutableArray`1 items, Func`2 selector)
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.GetPromotionDeltaAsync() in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 37
   at Snap.Hutao.ViewModel.AvatarProperty.AvatarPropertyViewModel.CultivateAsync(AvatarView avatar) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\ViewModel\AvatarProperty\AvatarPropertyViewModel.cs:line 180
   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:
----------------------------------------
System.ArgumentException: '12' cannot be greater than 10.
   at System.Math.ThrowMinMaxException[T](T min, T max)
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.<>c.<GetPromotionDeltaAsync>b__2_0(ICalculableSkill skill) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 42
   at System.Collections.Immutable.ImmutableArray.CreateRange[TSource,TResult](ImmutableArray`1 items, Func`2 selector)
   at Snap.Hutao.Extension.ImmutableArrayExtension.SelectAsArray[TSource,TResult](ImmutableArray`1 array, Func`2 selector) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\Extension\ImmutableArrayExtension.cs:line 47
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.GetPromotionDeltaAsync() in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 37
   at Snap.Hutao.ViewModel.AvatarProperty.AvatarPropertyViewModel.CultivateAsync(AvatarView avatar) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\ViewModel\AvatarProperty\AvatarPropertyViewModel.cs:line 180
   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:
----------------------------------------
System.ArgumentException: '12' cannot be greater than 10.
   at System.Math.ThrowMinMaxException[T](T min, T max)
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.<>c.<GetPromotionDeltaAsync>b__2_0(ICalculableSkill skill) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 42
   at System.Collections.Immutable.ImmutableArray.CreateRange[TSource,TResult](ImmutableArray`1 items, Func`2 selector)
   at Snap.Hutao.Extension.ImmutableArrayExtension.SelectAsArray[TSource,TResult](ImmutableArray`1 array, Func`2 selector) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\Extension\ImmutableArrayExtension.cs:line 47
   at Snap.Hutao.UI.Xaml.View.Dialog.CultivatePromotionDeltaDialog.GetPromotionDeltaAsync() in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\UI\Xaml\View\Dialog\CultivatePromotionDeltaDialog.xaml.cs:line 37
   at Snap.Hutao.ViewModel.AvatarProperty.AvatarPropertyViewModel.CultivateAsync(AvatarView avatar) in C:\Users\Public\appveyor\Snap.Hutao-jh505h81xm9xhuqm\src\Snap.Hutao\Snap.Hutao\ViewModel\AvatarProperty\AvatarPropertyViewModel.cs:line 180
   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-Cultivation 养成计划 label Jan 29, 2025
@Lightczx Lightczx changed the title [Bug]: 蓝砚的天赋数据无法正常读取 [Bug]: Hoyolab 高命蓝砚天赋等级无法正常读取 Feb 4, 2025
@Lightczx Lightczx marked this as a duplicate of #2426 Feb 4, 2025
@Lightczx Lightczx changed the title [Bug]: Hoyolab 高命蓝砚天赋等级无法正常读取 [Bug]: 5.2后的高命角色天赋等级无法正常读取 Feb 4, 2025
@Lightczx
Copy link
Member

Lightczx commented Feb 4, 2025

下次预下载时会更新元数据修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Cultivation 养成计划 priority:none Priority not set
Projects
None yet
Development

No branches or pull requests

2 participants