Navigation

    forum

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

    naskamal

    @naskamal

    2
    Posts
    1636
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    naskamal Follow

    Posts made by naskamal

    • RE: Changelog 2017-09-28

      I would like to ask about the CPU cost of the new spawnCreep function.

      By now, I am using this code snippet from the api documentation with ("low CPU" + 0.2 CPU) cost.

      if(spawn.canCreateCreep(body, name) == OK) {
          spawn.createCreep(body, name);
      }
      

      If I replace this by

      if(spawn.spawnCreep(body, name, { dryRun: true }) == OK) {
          spawn.spawnCreep(body, name);
      }
      

      am I right the CPU-costs would be charged 2*0.2CPU, since the function spawnCreep returns OK two times?

      edit: corrected copy-paste-error

      posted in News & Announcements
      naskamal
    • Negative decay time

      Personally, I like the idea of immortal containers. One of mine had a negative decay time of -15 as seen in the screenshot (if the upload works...)

      I don't know, what happened, but it occured on shard 0 in room W35S88 at about tick 21275400. There is no replay-Link I can post, because for some reasons the replay returns "no data" for me.

      posted in Technical Issues and Bugs
      naskamal