API Calls for number of shards and world sizes
-
The ability to get a list of shards and their respective sizes would make it far easier for projects such as the League of Automated Nations to keep in sync with the game world.
-
Do you mean web endpoint or game API? Endpoints already exist here:
https://screeps.com/ptr/api/game/shards/info
https://screeps.com/ptr/api/game/world-size?shard=shard0
Regarding game API, we'd like to minimize spreading knowledge about different shards and isolate things as much as possible.
-
I meant the web endpoint, and those were *exactly* what I was looking for. Thanks!
-
What does the "tick" value in the shard info represent?
-
FIgured it out, tickrate but in milliseconds instead of seconds.
-
Is there an endpoint that would let a player know what shards they are on? This could be useful for the stats programs (otherwise they'll just ping all shards to look for data).
-