Construction Site can't be built



  • I observed twice, that I can't build a ConstructionSite. To check that I stopped my Code (deleted main.js). Then I have a creep close to the construction and executed:

    > Game.creeps.Riley.build(Game.getObjectById('577b07752fe3a52e25d9abde'));

    < 0 

    But the Command didn't work. After some ticks it worked then.... Around Tick # 11726786 (W13S37).



  • unlikely but is your CPU limit being exceeded?



  • It looks like the creep standing on the build site blocked the construction, because storages are not passable.

    Creeps can move off of the site during the tick construction is attempted, so the build() call can't know for certain to return a failure code.



  •  @ThyReaper that was the problem! The construction can't be started when a creep is at the position.

     

    CLOSED