{"record":{"id":"34f759c9513091e6","repo":"babalae/better-genshin-impact","slug":"error-34f759","errorCode":null,"errorMessage":"目标传送点位于不可点击区域，传送失败","messagePattern":"目标传送点位于不可点击区域，传送失败","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"BetterGenshinImpact/GameTask/AutoTrackPath/TpTask.cs","lineNumber":601,"sourceCode":"                    await Delay(TeleportClickableAreaRetryDelayMs, ct);\n                    continue;\n                }\n\n                await AdjustTeleportZoomLevelTo(targetFinalZoomLevel);\n                finalZoomAttempts++;\n                continue;\n            }\n\n            if (retryCount >= TeleportClickableAreaRetryCount)\n            {\n                Logger.LogWarning(\n                    \"目标传送点未移动到可点击区域，传送失败：click=({ClickX:0.0},{ClickY:0.0}) radius={Radius:0.0} zoom={ZoomLevel:0.00} reason={Reason}\",\n                    lastEvaluation?.ClickX ?? 0,\n                    lastEvaluation?.ClickY ?? 0,\n                    lastEvaluation?.RequiredVisibleRadius ?? 0,\n                    lastEvaluation?.ZoomLevel ?? GetCurrentBigMapZoomLevel(),\n                    lastEvaluation?.FailureReason ?? \"未知\");\n                throw new Exception(\"目标传送点位于不可点击区域，传送失败\");\n            }\n\n            if (!moveZoomAdjusted)\n            {\n                moveZoomAdjusted = true;\n                if (await AdjustInitialTeleportMoveZoomLevel(mapName, targetX, targetY))\n                {\n                    continue;\n                }\n            }\n\n            await MoveMapToTeleportClickArea(targetX, targetY, mapName, evaluation.RequiredVisibleRadius);\n            await Delay(TeleportClickableAreaRetryDelayMs, ct);\n        }\n\n        throw new Exception(\"目标传送点位于不可点击区域，传送失败\");\n    }\n","sourceCodeStart":583,"sourceCodeEnd":619,"githubUrl":"https://github.com/babalae/better-genshin-impact/blob/a7cb36712dcb409be610257d877fcea3597e9d6b/BetterGenshinImpact/GameTask/AutoTrackPath/TpTask.cs#L583-L619","documentation":"Generic Exception thrown after TeleportClickableAreaRetryCount retries when the target teleport point never landed inside a clickable viewport region. EvaluateTeleportClickView returned a non-null view each time but the click coordinates stayed outside the safe radius (lastEvaluation.FailureReason is logged). The teleport target is effectively off-screen or occluded.","triggerScenarios":"Target TP located near a map edge/ corner the map-pan logic cannot center; required visible radius larger than the viewport at the working zoom; MoveMapToTeleportClickArea not converging within the retry budget; map panning input not reaching the game.","commonSituations":"Edge-of-map teleporters (isolated islands, distant domains); low zoom making the required radius exceed the window; map-drag input blocked; retry budget too small for a far pan.","solutions":["Retry the teleport (TpWithRetries wraps this with up to 3 attempts).","Run at 1920x1080 so the click/radius math matches the calibrated viewport.","Confirm map-drag (SendInput mouse move with button down) reaches the game.","If a specific TP consistently fails, raise TeleportClickableAreaRetryCount or pre-pan closer.","Verify zoom is high enough that RequiredVisibleRadius fits the window."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"try { await TpOnce(...); }\ncatch (Exception e) when (e.Message.Contains(\"不可点击区域\"))\n{ /* logged with click coords + radius; retry via TpWithRetries or skip TP */ }","preventionTips":["Run at 1920x1080 so viewport/radius math is correct.","Confirm map-drag input reaches the game.","Raise TeleportClickableAreaRetryCount for edge-of-map TPs that need long pans."],"tags":["teleport","clickable-area","big-map","retry-exhaustion"],"backgroundTag":null,"analyzedSha":"a7cb36712dcb409be610257d877fcea3597e9d6b","analyzedAt":"2026-08-13T16:44:57.548Z","schemaVersion":2},"datasetVersion":"2026-08-13T19:17:28.613Z"}