rust-screeps-api icon indicating copy to clipboard operation
rust-screeps-api copied to clipboard

Flags are broken

Open daboross opened this issue 4 years ago • 0 comments

The game has updated the flag format, and we can't parse it anymore. Example update:

[
  "room:shard0/W41N48",
  {
    "objects": {
      "5f0236153187fd5e3dfa814a": {
        "store": {
          "energy": 79
        }
      },
      "5f025b3706ec7d5f6e3cd7a3": {
        "x": 12,
        "y": 24
      }
    },
    "flags": "|38445073-0~1~2~26~28",
    "gameTime": 38445102,
    "info": {
      "mode": "world"
    },
    "visual": ""
  }
]

daboross avatar Jul 05 '20 23:07 daboross