API Request - Battle and Nuke endpoints



  • Impressive, most impressive. Thank you Tedivm and ScreepsGameMasters. 🙂


  • Culture

    Oh this is absolutely fantastic! When I made the feature request i wasn't expecting to wake up with it implemented- I'm looking forward to making a few bots this weekend 😄



  • Great work @Artem!


  • Dev Team

    Since ticks are recorded, I believe you may come up with the same idea of a replay news feed, so that one can watch the battle even it's been a day or two ago. 


  • Culture

    There is now a bot that lives in #thewarpath which alerts on battles and nukes.


  • Culture

    Minor bug with the APIs- right now when a player dismantles neutral structures in their rooms (ie, Zergling dismantling his walls in W13S28) it results in a PVP notification.


  • Dev Team

    Minor bug with the APIs- right now when a player dismantles neutral structures in their rooms (ie, Zergling dismantling his walls in W13S28) it results in a PVP notification.

    Fixed.



  • I know this is experimental but I just observed the following - a couple of rooms showed as objects instead of a room name.

    {"ok":1,"nukes":{"shard0":[],"shard1":[{"_id":"5b896eee17e5a8214d76ed8b","type":"nuke","room":"[object Object]","x":25,"y":25,"landTime":11360037,"launchRoomName":"W21N18"},{"_id":"5b8971ef76ab81419cd80bc2","type":"nuke","room":"[object Object]","x":25,"y":25,"landTime":11360242,"launchRoomName":"W21N11"},{"_id":"5b897a8d029da7212ee6008b","type":"nuke","room":"[object Object]","x":25,"y":25,"landTime":11360874,"launchRoomName":"W22N12"},{"_id":"5c4d0b23b9b908332ce6a3fe","type":"nuke","room":"W12S28","x":18,"y":10,"landTime":15021486,"launchRoomName":"W19S32"},{"_id":"5c4d0de005e5f30d8bd4a862","type":"nuke","room":"W12S28","x":18,"y":10,"landTime":15021685,"launchRoomName":"W17S34"},{"_id":"5c4e876cbe6eb97f6d800738","type":"nuke","room":"W53N43","x":34,"y":10,"landTime":15049514,"launchRoomName":"W43N46"},{"_id":"5c4e8846b22bb87a1b08f3e2","type":"nuke","room":"W51N51","x":42,"y":10,"landTime":15049537,"launchRoomName":"W41N51"},{"_id":"5c4ede848f9bdb12957d021c","type":"nuke","room":"W52N49","x":38,"y":9,"landTime":15056023,"launchRoomName":"W42N44"}],"shard2":[],"shard3":[]}}



  • I think that was me. When I was exploring the ability to nuke arbitrarily far away I launched a few nukes against Objects before I got the hack correct.

    I was also on the MMO server when I thought I was on PTR. I asked o4kapuk to clean up the errant nuke on MMO, but these might have been missed since they're through a different API.


  • Dev Team

    Ah now I can find em! Thanks for the ids, now they gone.