Navigation

    forum

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

    Topics created by MarkusF

    • StructureSpawn.createCreep creates high cpu-load
      Technical Issues and Bugs • • MarkusF

      3
      3
      Posts
      3942
      Views

      I was passing custom names to make sure, that the name generation is not responsible for the long execution time.
    • StructureLab.runReaction(...) throws exception
      Technical Issues and Bugs • • MarkusF

      2
      2
      Posts
      2998
      Views

      I can only guess, that my script accidently puts a catalyzed resource into one of the input labs. But you should change the ingredient check from, to handle this, too. if (!C.REACTIONS[lab1.mineralType][lab2.mineralType] || this.mineralType && this.mineralType != C.REACTIONS[lab1.mineralType][lab2.mineralType]) { return C.ERR_INVALID_ARGS; } to if (!C.REACTIONS[lab1.mineralType] || !C.REACTIONS[lab1.mineralType][lab2.mineralType] || this.mineralType && this.mineralType != C.REACTIONS[lab1.mineralType][lab2.mineralType]) {return C.ERR_INVALID_ARGS;}
    • Unusual high used-cpu values right at the start of the loop
      Technical Issues and Bugs • • MarkusF

      5
      5
      Posts
      5459
      Views

      GarbaceCollection makes sense. As I said, now it settled down a lot. My intuition tells me, that it's worse, the more people are online in the slack-channel. Maybe the more people are working on their scripts and regularly commit them to screeps, the harder the garbage collection hits. However, I don't have any statistics for this, just my intuition. But as long as I have an explanation for what it could have been, I'm quite fine with it.