跳到正文
linqingan.com
LearnBuildSolveVerifyAPITools
ENOpen Doctor
知识库/文章标签/错误码

TAG

错误码

当前共有 2 篇文章使用这个长期主题标签。

发布于 2026年7月18日/更新于 2026年7月23日/7 分钟/Screeps 错误排查

Screeps ERR_NOT_IN_RANGE(-9)怎么处理:Creep 动作距离与 moveTo 排查

Screeps 中 Creep 动作返回 ERR_NOT_IN_RANGE(-9)时,先确认目标与动作距离,再检查 moveTo() 返回值,并在下一 tick 重试。包含范围 1、范围 3 和 ERR_NO_PATH 排查示例。

Screeps错误排查错误码Creep APImoveTo
发布于 2026年7月18日/更新于 2026年8月16日/14 分钟/Screeps 错误排查

spawnCreep() 失败怎么查:dryRun、参数校验与返回值

系统排查 StructureSpawn.spawnCreep():区分官方 API 与本地策略,正确处理 body、名称、任意 memory、显式 energyStructures、dryRun 和正式返回值。

Screeps错误排查Spawn错误码Creep Body
linqingan.com

Making Screeps easier to learn, build and master.

AboutChangelogGitHubContact

Build. Learn. Solve. Repeat.