Updated changelog

This commit is contained in:
Daniel Xie 2017-06-11 15:39:01 -05:00
parent d48428f0e8
commit 2a5647bda8
2 changed files with 7 additions and 3 deletions

@ -580,7 +580,9 @@ CONSTANTS = {
"hack(), grow(), and weaken() commands by n. However, running a script with multiple threads has drawbacks in terms of " + "hack(), grow(), and weaken() commands by n. However, running a script with multiple threads has drawbacks in terms of " +
"RAM usage. A script's ram usage when it is 'multithreaded' is calculated as: base cost * numThreads * (1.02 ^ numThreads). " + "RAM usage. A script's ram usage when it is 'multithreaded' is calculated as: base cost * numThreads * (1.02 ^ numThreads). " +
"A script can be run multithreaded using the 'run [script] -t n' Terminal command or by passing in an argument to the " + "A script can be run multithreaded using the 'run [script] -t n' Terminal command or by passing in an argument to the " +
"run() and exec() Netscript commands. See documentation.<br><br>" + "run() and exec() Netscript commands. See documentation.<br>" +
"-RAM is slightly (~10%) more expensive (affects purchasing server and upgrading RAM on home computer)<br>" +
"-NeuroFlux Governor augmentation cost multiplier decreased<br><br>" +
"v0.20.1<br>" + "v0.20.1<br>" +
"-Fixed bug where sometimes scripts would crash without showing the error<br>" + "-Fixed bug where sometimes scripts would crash without showing the error<br>" +
"-Added Deepscan programs to Dark Web<br>" + "-Added Deepscan programs to Dark Web<br>" +
@ -705,7 +707,9 @@ CONSTANTS = {
"hack(), grow(), and weaken() commands by n. However, running a script with multiple threads has drawbacks in terms of " + "hack(), grow(), and weaken() commands by n. However, running a script with multiple threads has drawbacks in terms of " +
"RAM usage. A script's ram usage when it is 'multithreaded' is calculated as: base cost * numThreads * (1.02 ^ numThreads). " + "RAM usage. A script's ram usage when it is 'multithreaded' is calculated as: base cost * numThreads * (1.02 ^ numThreads). " +
"A script can be run multithreaded using the 'run [script] -t n' Terminal command or by passing in an argument to the " + "A script can be run multithreaded using the 'run [script] -t n' Terminal command or by passing in an argument to the " +
"run() and exec() Netscript commands. See documentation.<br><br>" + "run() and exec() Netscript commands. See documentation.<br>" +
"-RAM is slightly (~10%) more expensive (affects purchasing server and upgrading RAM on home computer)<br>" +
"-NeuroFlux Governor augmentation cost multiplier decreased<br><br>" +
"v0.20.1<br>" + "v0.20.1<br>" +
"-Fixed bug where sometimes scripts would crash without showing the error<br>" + "-Fixed bug where sometimes scripts would crash without showing the error<br>" +
"-Added Deepscan programs to Dark Web<br>" + "-Added Deepscan programs to Dark Web<br>" +

@ -31,7 +31,7 @@ function runScriptsLoop() {
if (workerScripts[i].running == false && workerScripts[i].env.stopFlag == false) { if (workerScripts[i].running == false && workerScripts[i].env.stopFlag == false) {
try { try {
var ast = Parser(Tokenizer(InputStream(workerScripts[i].code))); var ast = Parser(Tokenizer(InputStream(workerScripts[i].code)));
console.log(ast); //console.log(ast);
} catch (e) { } catch (e) {
console.log("Error parsing script: " + workerScripts[i].name); console.log("Error parsing script: " + workerScripts[i].name);
dialogBoxCreate("Syntax ERROR in " + workerScripts[i].name + ":<br>" + e); dialogBoxCreate("Syntax ERROR in " + workerScripts[i].name + ":<br>" + e);