Finished implementing Netscript. Not completely tested yet. Find out how to make it multithreaded (Web Workers is the best way according to internet

This commit is contained in:
Daniel Xie
2016-11-17 16:25:40 -06:00
parent a4f92f7520
commit 8d87b74eaf
10 changed files with 544 additions and 109 deletions
+1
View File
@@ -19,6 +19,7 @@ function Server() {
this.scripts = [];
this.runningScripts = []; //Scripts currently being run
this.scriptEnvs = []; //The environment for all of the running scripts. Matched by index number
this.programs = [];
/* Hacking information (only valid for "foreign" aka non-purchased servers) */