Warp Snitch
帮助定位或处理若干特定错误,包括角色传送、NPC 路线动画、鱼塘更新及钓鱼竿绘制相关异常。它不会修复其他类型的错误;某些情况下仍需修复或移除导致问题的模组。
Warp Snitch 可帮助定位、调试或处理以下错误:
warpCharacter中的NullReferenceExceptionNPC.loadEndOfRouteBehavior中或附近的FormatExceptionFishPond.dayUpdate中的NullReferenceExceptionFishPond.HasUnresolvedNeeds中的NullReferenceExceptionFishingRod.draw中的KeyNotFoundException
它不会修复上述范围以外的错误。
之前安装过 Warp Snitch,需要安装最新更新吗?
不需要。
warpCharacter 中出现 NullReferenceException
如果看到如下错误:
An error occurred in the base update loop: System.NullReferenceException: Object reference not set to an instance of an object. at StardewValley.Game1.warpCharacter(NPC character, GameLocation targetLocation, Vector2 position)
崩溃前,Warp Snitch 会输出类似信息:
[Warp Snitch] warpCharacter: getLocationFromName returns null for Custom_Tarniyar_GhostTown [NPC: Grogu]
这表明问题可能是 NPC 正试图传送到不存在的地图 Custom_Tarniyar_GhostTown。例如,Walk to the Desert Redux 创建了通往该地图的传送点,但地图实际名称是 Custom_WTDR_GhostTown,因此 Grogu 会尝试传送到不存在的地点。
**注意:**你仍然会遇到崩溃,必须修复或移除有问题的模组。
NPC.loadEndOfRouteBehavior 中或附近出现 FormatException
如果看到如下错误:
An error occurred in the base update loop: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at StardewValley.Utility.parseStringToIntArray(String s, Char delimiter)
at StardewValley.NPC.loadEndOfRouteBehavior(String name)
Warp Snitch 会输出类似信息:
[Warp Snitch] loadEndOfRouteBehavior: could not parse routeEndAnimation [NPC: Mona]
[Warp Snitch] the faulty int array is: '2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 '
这表明问题与 Mona NPC 有关,原因是其动画数据错误(实际问题出在 Mona_Rocking)。Warp Snitch 可以跳过该动画,避免这次崩溃。
更改 JA 模组后鱼塘崩溃
- 安装 Warp Snitch。
- 取出鱼塘中的所有物品,重置鱼塘,再放入一条原版鱼。
- 操作期间可能会以每秒60次的频率出现黄色警告;忽略它们,Warp Snitch 正在帮助你恢复鱼塘。
- 不要再次进行导致问题的操作。
遇到其他崩溃,希望 Warp Snitch 能修复
请准备以下内容:
- SMAPI 日志
- 存档
- 压缩打包的
mods文件夹 - 尽可能移除与错误无关的模组
- 请确保你的存档和模组能在5分钟内加载完成
来源与文件
- 原作者:ceruleandeep
- 原项目:Warp Snitch
- 文件:Warp Snitch(ID:43103)
文件说明
Fixes fishpond crashes caused by Json Shuffle, while making less log noise
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:stardewvalley:9087 -->
下载模块
共 1 个来源立即下载推荐来源
