MinecraftLaunch
MinecraftLaunch copied to clipboard
The next-generation versatile and modular high-performance Minecraft startup core.
https://www.blessingta.link/
文档网站404
 System.Text.Json.JsonException:“The JSON value could not be converted to MinecraftLaunch.Base.Models.Network.ForgeInstallEntry. Path: $[0] | LineNumber: 0 | BytePositionInLine: 6.”
复合安装器不安装
``` private async void InstallGameCoreAsync() { IEnumerable installEntries = new List(); if (string.IsNullOrEmpty(SelectedVersion)) { Growl.Error("请选择一个游戏版本。"); return; } if (!string.IsNullOrEmpty(SelectedVersion)) { entry = await VanillaInstaller.EnumerableMinecraftAsync() .FirstAsync(x => x.Id == SelectedVersion); installEntries.Concat([entry]);...
### 日志分析扩展 #### 1. 更多异常类型识别 - **网络异常识别**:通过分析日志中与网络相关的关键字,如“connection refused”(连接被拒绝)、“timeout”(超时)等,识别出网络连接异常,丰富 `CrashCauses` 枚举类型,新增网络异常相关的枚举值,像 `NetworkConnectionFailed`,并在 `GameLogAnalyzer` 里添加对应的日志匹配逻辑。 - **内存溢出异常识别**:检测日志里如 “OutOfMemoryError” 这样的关键词,识别内存溢出问题,在 `CrashCauses` 中添加 `OutOfMemory` 枚举值,同时在分析代码中添加匹配规则。 #### 2. 日志数据聚合与统计 - **异常频率统计**:对不同类型的异常出现频率进行统计,例如在一段时间内 `DuplicateMod` 异常出现了多少次,方便用户快速了解游戏中常见的问题。 - **异常时间分布统计**:分析异常在不同时间段的分布情况,例如晚上...
错误代码:[MinecraftLaunch](https://github.com/Lunova-Studio/MinecraftLaunch/tree/4.0.x)/[MinecraftLaunch](https://github.com/Lunova-Studio/MinecraftLaunch/tree/4.0.x/MinecraftLaunch)/[Components](https://github.com/Lunova-Studio/MinecraftLaunch/tree/4.0.x/MinecraftLaunch/Components)/[Provider](https://github.com/Lunova-Studio/MinecraftLaunch/tree/4.0.x/MinecraftLaunch/Components/Provider) /CurseforgeProvider.cs 其中将`searchFilter`填成了`searchOptions.GameVersion`,导致最终搜索文本和实际传入的参数无关。