Screeps: World

Screeps · Strategy

Screeps: World patch notes · Aug 3, 2017

Experiment

World Shards Launched!

What's new in World Shards Launched!: 15 changes to Screeps: World, released Aug 3, 2017.

Content · 2

  • Portals connecting shard0 and shard1 are created but walled off and closed during a 60-day grace period.

    inter-shard portal
  • A new sharding system launched, with shard1 as a second world plane that runs with a faster tick rate and is open for settlement.

    sharding system

System · 12

  • The obsolete and undocumented Room.mode property is removed; simulation mode should be checked with Game.shard.name == 'sim' instead.

    room.mode property
  • Each shard's Game.time flows independently without synchronization, so tick rates differ between shards.

    tick rate and time flow
  • A new Game.map.getWorldSize() method is added.

    world size api
  • Each shard has separate memory of 2 MB and 10 MB of memory segments, plus a special segment for inter-shard messages.

    memory allocation
  • GCL and CPU limits are allocated per shard via the Overview UI or API, with the totals matching the account limit; currently each shard has full GCL and CPU.

    cpu and gcl allocation
  • The game world is divided into isolated shards, each with its own database, map and runtime servers, running code independently; the original world becomes shard0.

    world architecture
  • Markets are separate per shard, while credits balance and history are shared between shards.

    market and credit
  • A new global Game.shard object lets code determine which shard is currently running.

    api for shard identification
  • StructurePortal.destination objects now include a shard property.

    structureportal destination format
  • The WORLD_WIDTH and WORLD_HEIGHT constants are deprecated and should no longer be used.

    world_width and world_height constant
  • Creeps moving between shards keep their name and ID but lose time to live: 800 ticks for creeps without CLAIM parts and 150 ticks for creeps with CLAIM parts.

    creep cross-shard travel lifetime
  • A new RawMemory.interShardSegment is added for passing messages between shards.

    inter-shard memory segment

UI · 1

  • Console contents are broadcast from every shard with a corresponding note in the console UI.

    console broadcasting