fixed. just added call of getData function inside main loop
Belfigor
@Belfigor
Posts made by Belfigor
-
RE: Why game stop executing first part of my script?
-
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:
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?
Â
Â
Â
Â
Â
Â
Â
Â
-
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
-
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);
}