Navigation

    forum

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

    Topics created by dhairya

    • Solved How to get ghodium?
      Help • • dhairya

      8
      8
      Posts
      7916
      Views

      OK guys thanks for everyones help I figured out that I have to use Game.market.deal to be able to sell pixels without a starting fund
    • Unsolved How to withdraw energy from spawn and take it to the room controller
      Help • • dhairya

      2
      2
      Posts
      3003
      Views

      I don't suggest you transfer energy from spawn to controller, because your spawn maybe has not enough energy to respawn died creeps. For beginners , The tutorial role.upgrader code is the best code to upgrade controller, if it doesn't meet your needs, it's time to rebuild your code .
    • Unsolved Can't fill all of my extensions
      Help • • dhairya

      2
      2
      Posts
      3401
      Views

      let me make sure. Is your problem that you want to fill extension first ? If yes, i suggest your change your find targets code, a simple change is const target = targets[targets.length - 1]; // take the last target, it must not be spawn and then if (creep.transfer(target, RESOURCE_ENERGY) === ERR_NOT_IN_RANGE) { creep.moveTo(target); }