Navigation

    forum

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

    Belfigor

    @Belfigor

    6
    Posts
    1002
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Belfigor Follow

    Posts made by Belfigor

    • RE: Why game stop executing first part of my script?

      fixed. just added call of getData function inside main loop 🙂

      posted in Help
      Belfigor
    • Why game stop executing first part of my script?

       

       

       

       

      I have a script, where in the begining, i use "require" to execute script, where i am collecting data about room and storeing it into memory, and after that, i am reading data from memory, and sending commands to my creeps.

      Every time, after data collected, i print it in Console, like:

      [10:27:32 AM]############# E33S48 ##############
      [10:27:32 AM]#Sorces|----|----|----|----
      [10:27:32 AM]# 2
      [10:27:32 AM]#Harvesters|Haulers|Builders|Upgraders|
      [10:27:32 AM]# 1 of 1 |2 of 2 | 0 of 0 | 6 of 6 |
      [10:27:32 AM]#Need to summon: none|
      [10:27:32 AM]#Summoning: none
      [10:27:32 AM]============>END of getData: 1.21435 CPU Used

      But, after 5-6 iteractions, data in console print stop refreshing => game stop collecting data and storing it in to memory => So when game sending commands to creeps, it use not actual data in memory 😞

      how to fix it?

       

       

       

       

       

       

       

       

      posted in Help
      Belfigor
    • RE: Zabbix + Screeps

      Thank you!

      posted in Help
      Belfigor
    • Zabbix + Screeps

      Is there any way to export some data, even text log of console from game into for example local disk? Wanna transfer them to zabbix, to collect statistics for graphs

      posted in Help
      Belfigor
    • RE: How to upgrade room controller to level 2?

      Thank you everyone 🙂

      posted in Help
      Belfigor
    • How to upgrade room controller to level 2?

      I am very new to JS. Give please a code, that i can use to upgrade controller. This code from docs does not work 😞

      if(creep.room.controller) {
      creep.moveTo(creep.room.controller);
      creep.upgradeController(creep.room.controller);
      }

      posted in Help
      Belfigor