diff --git a/src/HelpText.js b/src/HelpText.js
index 1b0ad7e4c..2f23c7142 100644
--- a/src/HelpText.js
+++ b/src/HelpText.js
@@ -16,7 +16,7 @@ TerminalHelpText =
"ifconfig Displays the IP address of the machine
" +
"kill [script] [args...] Stops the specified script on the current server
" +
"killall Stops all running scripts on the current machine
" +
- "ls Displays all programs and scripts on the machine
" +
+ "ls [| grep pattern] Displays all files on the machine
" +
"mem [script] [-t] [n] Displays the amount of RAM required to run the script
" +
"nano [script] Script editor - Open up and edit a script
" +
"ps Display all scripts that are currently running
" +
diff --git a/src/InteractiveTutorial.js b/src/InteractiveTutorial.js
index b33563ea6..20348e394 100644
--- a/src/InteractiveTutorial.js
+++ b/src/InteractiveTutorial.js
@@ -257,7 +257,7 @@ function iTutorialEvaluateStep() {
//next step triggered by terminal commmand
break;
case iTutorialSteps.TerminalRunScript:
- iTutorialSetText("We have 4GB of free RAM on this machine, which is enough to run our " +
+ iTutorialSetText("We have 8GB of free RAM on this machine, which is enough to run our " +
"script. Let's run our script using 'run foodnstuff.script'.");
//next step triggered by terminal commmand
break;
@@ -641,6 +641,9 @@ function iTutorialEnd() {
currITutorialStep = iTutorialSteps.End;
iTutorialIsRunning = false;
document.getElementById("interactive-tutorial-container").style.display = "none";
+ dialogBoxCreate("If you are new to the game, the following links may be useful for you!
" +
+ "Getting Started Guide" +
+ "Wiki");
}
function iTutorialSetText(txt) {
diff --git a/src/NetscriptEvaluator.js b/src/NetscriptEvaluator.js
index fd7f17116..c125b4d59 100644
--- a/src/NetscriptEvaluator.js
+++ b/src/NetscriptEvaluator.js
@@ -270,7 +270,11 @@ function evalBinary(exp, workerScript){
resolve(expLeft*expRight);
break;
case "/":
- resolve(expLeft/expRight);
+ if (expRight === 0) {
+ reject(makeRuntimeRejectMsg(workerScript, "ERROR: Divide by zero"));
+ } else {
+ resolve(expLeft/expRight);
+ }
break;
case "%":
resolve(expLeft%expRight);
diff --git a/src/engine.js b/src/engine.js
index 601aad341..4da1fe75d 100644
--- a/src/engine.js
+++ b/src/engine.js
@@ -679,6 +679,7 @@ var Engine = {
//Displays the text when a section of the Tutorial is opened
displayTutorialPage: function(text) {
+ document.getElementById("tutorial-getting-started-link").style.display = "none";
Engine.Clickables.tutorialNetworkingButton.style.display = "none";
Engine.Clickables.tutorialHackingButton.style.display = "none";
Engine.Clickables.tutorialScriptsButton.style.display = "none";