Auth Tokens

We’re glad to announce that Screeps now has user-generated authentication tokens support. You can use these persistent tokens to authenticate to our undocumented Web API endpoints without using the sign-in process. Use your Account / Auth Tokens section to generate such a token:

Please note that the usual sign-in process will start using Google Invisible reCAPTCHA effective February 1, 2018.

If you have an external tool which uses https://screeps.com/api/auth/signin endpoint automatically, please change it to use Auth Tokens before February 1, 2018! Otherwise it will stop working.

Doing this is trivial: you need to drop using auth/signin endpoint and set X-Token header in all your requests to the persistent token generated from your account settings.

Learn more about this feature in the documentation.


Have comments or feedback? You can discuss this post here.

Changelog 2017-12-14

  • Runtime servers upgraded to Node.js 8.9.3 (LTS). It ships with V8 5.8, a significant update to the JavaScript runtime that includes major improvements in performance. This enables many modern ES6 language features, such as WebAssembly support. Since it’s a major release, it may have different performance profile depending on language features you use.
  • Added binary modules support to the in-game IDE and require mechanics. Learn more in the documentation.

Have comments or feedback? You can discuss this post here.

Wanted: Senior Angular Developer

The Screeps team is looking for a talented Angular developer to work on the game code base. We have a huge number of development plans, and if you want to be a part of their implementation, we’re waiting for your resume by one of the following links:

If you play Screeps, make sure to specify your in-game nickname!

You can find the requirements in the job posting below.

Read More

New improved WebGL renderer (beta)

We have always put little attention to graphics in Screeps, since this is a rather niche game for programming nerds. In terms of technology, the game engine has been a simple set of SVG objects moving across the web page. It allowed for rapid development without distracting on complex visual components, but it ruled out any appealing visual effects (like lightning). Besides, this approach suffered from subpar performance when a lot of objects were on screen. So it’s time to change that!

In this update, we are excited to reveal a full-blown graphic engine for Screeps based on WebGL and PixiJS. It will allow you to:

  • Leverage your machine’s GPU even in the browser to significantly boost performance without any lags when scrolling.
  • Save your laptop’s battery juice since GPU is much more energy-efficient for this task than CPU.
  • Add new visual effects to enrich the game atmosphere and yet retain our usual relaxing, abstract style.

In the picture above, you can see some samples of how the new renderer transforms the game when activated. The new feature is beta so far, so to activate it, opt in using the checkbox in the Display Options section of the right panel. Not all features have been 100% migrated to the new renderer yet, and bugs are possible, but you can get a whole new impression of the game right away!

Please inform us about any issues you encounter here in this forum topic.

NPC Events

It’s big time! 2 months after its creation, shard1 is available for settlement from outside. The portals leading from shard0 to shard1 and back open their doors for all the settlers, traders, and highway bandits out there.

But aside from the evident feature of transferring players’ creeps between worlds, these portals will leverage another interesting game mechanics, NPC Events.

We won’t delve deep into all the details but leave it for you to discover, especially since the events content and mechanics will change with time. But one thing is sure: it’s worth keeping your eyes on what comes out of these portals (including with your Observers), it could be something tasty!

By the way, a little hint for you: when an NPC creep that took part in an event like this dies, its resources don’t drop on the ground but are placed in a container created automatically so that you can conveniently grab them in time.

Good luck hunting!


Have comments or feedback? You can discuss this post here.

Changelog 2017-09-28

  • All credits amounts now work with 0.001 precision, including order prices, credits balance and transactions history. User credits balance and order prices are stored in the database as thousandths in integer format which prevents rounding errors. In order to update your private server data, an automatic database upgrade will be performed, see this commit.
  • Added new StructureSpawn.spawnCreep method. createCreep and canCreateCreep are now considered deprecated, but still will be available for backwards compatibility. See discussion in this pull request for details.
  • When you click “Respawn”, all structures now don’t vanish, but change their owner to SYSTEM_USERNAME, so that other players are able to withdraw resources from them.

These changes are supported in private server v2.10.0.


Have comments or feedback? You can discuss this post here.

Changelog 2017-09-19

Shards API

GCL is shared between shards and doesn’t need to be assigned to a specific shard.

Controller downgrading changes

  • attackController applies 1000 ticks of upgradeBlocked and decreases the ticksToDowngrade by 300 * <CLAIM_parts> ticks. The claimer creep will only need 1 tick to do this amount of damage. The creep will not be able to do another attack until upgradeBlocked is back to 0.
  • upgradeController restores 100 ticks of ticksToDowngrade rather then resets it immediately.
  • While the controller is downgrading, new level cannot be triggered even when the controller has enough progress (progress is not lost but accumulated).
  • Safe mode activation is not possible when the controller is downgraded for 5000 or more ticks.

These changes are supported in private server v2.9.0.


Have comments or feedback? You can discuss this post here.

New Community Manager

We have a new Community Manager whom we’d like to introduce — meet Nikolay Kharitonov:

Hello Screeps world, let me introduce myself.

My name is Nikolay, and I am a programmer.

It’s been around 20 years since I execute my first “Hello world” so I’d say I do it as long as I can remember myself.

Some players may know me as ‘o4kapuk’. I started playing Screeps in December of 2016 primarily because I wanted to improve my skills in JavaScript (I work as .NET developer last years) but I have barely noticed how I was caught by the game. Now I have a passion for the game, and I’m happy to be a part of the team. As Community Manager, I’ll work together with Dissi to provide better connectivity between development team and game community. I will be also helping with everyday support.

Feel free to ping me in Slack (@o4kapuk) if you need something.

Hope to see you in-game!
Regards,
o4kapuk


Have comments or feedback? You can discuss this post here.

World Shards Launched!

We are excited to announce we just launched the sharding system for the Screeps world! The second plane called shard1 already works with faster tick rate and waits for its first settlers! If you wanted to start playing but disliked long 5-second ticks, now is the time!

TL;DR World shards are isolated from each other and run your code separately. Your creeps can travel between them using special portals. The original world becomes shard0. Portals will be closed during 60 days grace period, but you are free to (re)spawn on either shard0 or shard1.

Read More