1. Screeps: World
  2. News
  3. Changelog 2017-05-26: public memory segments

Changelog 2017-05-26: public memory segments


Introduced new public memory segments feature. Now you can mark some of your memory segments as public, and other players will have read-only access to them using RawMemory API.
  • Added RawMemory.foreignSegment property.
  • Added RawMemory.setActiveForeignSegment method.
  • Added RawMemory.setPublicSegments method.
  • Added RawMemory.setDefaultPublicSegment method.
  • Added console warnings to deprecated methods Structure*.transfer, Structure*.transferEnergy, PathFinder.use, and FIND_DROPPED_ENERGY constant. These methods will be removed from the API in one of the next updates.

These changes are supported in private server v2.7.0.