Added an autosave feature that auto saves every minute. Made the updateHackProgress() take in the number of cycles that have passed when calculating its progress

This commit is contained in:
Daniel Xie
2016-12-02 15:57:20 -06:00
parent eb31a0bd74
commit 6d9f0669ba
3 changed files with 37 additions and 8 deletions
+2 -2
View File
@@ -9,10 +9,10 @@
function WorkerScript() {
this.name = "";
this.running = false;
this.serverHostname = null;
this.serverIp = null;
this.code = "";
this.env = new Environment();
this.timeout = null;
this.output = "";
}
//Array containing all scripts that are running across all servers, to easily run them all