Navigation

    forum

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    1. Home
    2. sivashev
    3. Posts
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Groups
    • Blog

    Posts made by sivashev

    • Got creep.moveTo() -> -11 ERR_TIRED after changing the room

      Hello.

      I have a problem with returning creep into base room. Look at follow code:

      if(creep.room.name != home) {
      creep.moveTo(creep.pos.findClosestByPath(creep.room.findExitTo(home)));
      } else {
      creep.moveTo(Game.spawns.Spawn1);
      }

      When creep return in home room it can move, got creep.moveTo() -> -11 ERR_TIRED

      And creep returns to previous room.

      posted in Technical Issues and Bugs
      sivashev