ARTICLE LIBRARY

Practical Screeps articles for the problem you need to solve

Browse 64 published guides by system, difficulty, content type, or topic. Start with What Is Screeps? A Programming Strategy Game or follow the beginner sequence through How to Combine Your First Screeps Room Loop.

7 matching guides

Construction and DefenseIntermediateDebugging

How to Launch a Nuke Without Reusing a Stale Target Request

Bind confirmation to target room and coordinates, recover an owned active Nuker by ID, check cooldown, NUKE_RANGE, Energy and Ghodium capacities, disable before launchNuke(), save the return code, and verify later evidence without requiring target-room visibility.

19 min read
Movement and VisionIntermediateDebugging

How to Fix ERR_NOT_IN_RANGE in Screeps

Identify which action returned ERR_NOT_IN_RANGE, use its real range, save the moveTo() result separately, and retry the original action on a later tick instead of assuming movement is immediate.

15 min read
Movement and VisionIntermediateDebugging

How to Debug ERR_NO_PATH in Screeps

Distinguish ERR_NO_PATH, ERR_NOT_FOUND and PathFinder incomplete results; validate target range; correct CostMatrix walkability; inspect callbacks, maxOps, maxRooms and cross-room routes; and separate temporary traffic from a failed search.

18 min read
Operations and DebuggingIntermediateDebugging

How to Build a Safe RoomVisual Debug Layer in Screeps

Draw current Creep state, target relationships, and task labels with RoomVisual while enforcing per-room switches, stable ordering, item limits, the 512,000-byte ceiling, cross-room boundaries, and a strict separation between visuals and action results.

18 min read
Publication standard

English articles are published only after source review, official API checks where applicable, JavaScript syntax review where code is present, duplicate-intent checks, and a final score of at least 96.