[Parity][map][S3][F] 自动地图图集加载按多个 URL 猜测并吞错,绘制时静默跳过缺失的图集或帧 #630
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源审计项:
map#11— [S3][F] 自动地图图集加载按多个 URL 猜测并吞错,绘制时静默跳过缺失的图集或帧位置:
src/client/ui/minimap.ts:694-731(loadAtlases):catch {}吞掉错误(723-725)。loadedCount在main.ts:251-253被忽略,.catch(reportMissingArt)永远不会触发。minimap.ts:977-985:if (!sheetMeta || !atlasHandle) continue;帧越界或缺失时continue。minimap.ts:1359-1378(resolveAtlasHandle):没有gl时伪造 handle(测试桩混入生产代码)。minimap.ts:1194:stash.label || stash.name || 'Stash',英文兜底。minimap.ts:1033、1442:options?.levelId ?? level.levelId ?? 1、level.levelId ?? 1。原版: 缺少 DC6 会直接报错(K,中)。
影响: 资源缺失时自动地图静默变空,问题被掩盖。
建议: 只用 manifest 给出的唯一路径;任何一张 sheet 失败就
reportMissingArt或抛错;删除伪造 handle 和英文兜底。已有 issue: —