SYSTEM 08 · 7 GUIDES

Operations and Debugging

Return codes, CPU, bucket, event logs, notifications, diagnostics, and safe operations. This page connects the system overview to focused lessons, diagnostics, and operational boundaries.

START HERE

Read the system in a useful order

Begin with lessons or foundational guides, then move to debugging, safety, and advanced operations. Each article states the evidence level it actually reached.

Open the first guide →

SYSTEM MAP

Operational debugging and recovery loop

Measure and record first, isolate failures next, shed noncritical work under pressure, then restore work gradually after recovery.

  1. 01Measure

    CPU, bucket, state metrics

  2. 02Observe

    Logs, notify, Event Log

  3. 03Isolate

    Room or module error boundaries

  4. 04Degrade

    Reduce noncritical work

  5. 05Recover

    Cooldown, retry, and verify recovery

08

Published guides in this system

Use the labels to distinguish sequential lessons, task-focused guides, debugging workflows, safety pages, and references.

  1. LessonScreeps First Room Code: A Small Loop You Can Verify14 min read · Beginner
  2. GuideScreeps CPU Profiling: Measure Code with Game.cpu.getUsed()12 min read · Intermediate
  3. GuideScreeps Game.notify(): Send Rate-Limited Alerts Safely11 min read · Intermediate
  4. GuideScreeps Room.getEventLog(): Read Previous-Tick Events11 min read · Intermediate
  5. DebuggingScreeps RoomVisual: Transparent Fills, Labels, and Paths10 min read · Intermediate
  6. DebuggingScreeps Room Error Isolation: Keep Other Rooms Running18 min read · Intermediate
  7. GuideScreeps CPU Bucket Degradation: Protect Critical Tasks and Recover Gradually16 min read · Advanced
Need a guide that is not listed?

Search by API method, error code, or symptom first. Zero-result English searches are recorded anonymously and can be submitted as a public content request.

Search the English section →