aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/WindowsFormsApplication1/Apps/Terminal.Designer.cs1
-rw-r--r--source/WindowsFormsApplication1/Apps/Terminal.cs43
-rw-r--r--source/WindowsFormsApplication1/Hacking/HijackScreen.cs2
3 files changed, 26 insertions, 20 deletions
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs b/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs
index 5f7ba27..8ac3ab3 100644
--- a/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs
+++ b/source/WindowsFormsApplication1/Apps/Terminal.Designer.cs
@@ -56,6 +56,7 @@ namespace ShiftOS
this.txtterm.Name = "txtterm";
this.txtterm.Size = new System.Drawing.Size(650, 396);
this.txtterm.TabIndex = 0;
+ this.txtterm.TextChanged += new System.EventHandler(this.txtterm_TextChanged);
this.txtterm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ScrollDeactivate);
this.txtterm.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ScrollTerm);
//
diff --git a/source/WindowsFormsApplication1/Apps/Terminal.cs b/source/WindowsFormsApplication1/Apps/Terminal.cs
index 6d4880c..dab400d 100644
--- a/source/WindowsFormsApplication1/Apps/Terminal.cs
+++ b/source/WindowsFormsApplication1/Apps/Terminal.cs
@@ -151,13 +151,13 @@ namespace ShiftOS
WriteLine("User <65.48.121.24> connecting as 'Dana'");
API.PlaySound(Properties.Resources.dial_up_modem_02);
WriteLine("Dana: Hey! That was quite the battle, huh?");
- BeepSleep(1000);
+ //BeepSleep(1000);
WriteLine("Dana: Well - since you beat me, let me let you in on a little secret.");
- BeepSleep(3000);
+ //BeepSleep(3000);
WriteLine("Dana: ShiftOS's desktop may seem pretty complicated and customizable for you right now, but trust me. It gets better.");
- BeepSleep(2500);
+ //BeepSleep(2500);
WriteLine("Dana: I'm gonna patch your Shiftorium so you can get some neat upgrades!");
- BeepSleep(3000);
+ //BeepSleep(3000);
WriteLine("Dana: Also, if you feel like doing more hacker battles, why not check out Tier 2 in the Network Browser?");
BeepSleep(2750);
WriteLine("Dana: I've also added my network modules to your network - you'll just have to wait for them to regenerate.");
@@ -512,7 +512,7 @@ namespace ShiftOS
/// <param name="time">Time to sleep.</param>
private void BeepSleep(int time)
{
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
Thread.Sleep(time);
}
@@ -2009,58 +2009,58 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o
break;
case 2:
txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connecting..." + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> ";
- API.PlaySound(Properties.Resources.dial_up_modem_02);
+ //API.PlaySound(Properties.Resources.dial_up_modem_02);
break;
case 12:
txtterm.Text = txtterm.Text + "IP 199.108.232.1 Connected!" + Environment.NewLine + "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 15:
txtterm.Text = txtterm.Text + "DevX: Hi, my name is DevX and you are now using an early version of my operating system \"ShiftOS\"." + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 22:
txtterm.Text = txtterm.Text + "DevX: Currently the terminal is open and I am using it to communicate with you remotely." + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 28:
txtterm.Text = txtterm.Text + "DevX: ShiftOS is going to be the most revolutionary operating system in the world that will run on every electronic device you can think of." + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 36:
txtterm.Text = txtterm.Text + "DevX: I can't tell you much about my future plans right now but if you can help me then I may tell you more in future" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 44:
txtterm.Text = txtterm.Text + "DevX: ShiftOS is barely usable in it's current state so I need you to help me evolve it using codepoints" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 50:
txtterm.Text = txtterm.Text + "DevX: Once you acquire codepoints you can use them to upgrade certain components of ShiftOS or add new software" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 59:
txtterm.Text = txtterm.Text + "DevX: I'll close the terminal now and send you to the blank ShiftOS desktop" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ ///API.PlaySound(Properties.Resources.writesound);
break;
case 65:
txtterm.Text = txtterm.Text + "DevX: You can open and close the terminal at any time by pressing CTRL + T" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 70:
txtterm.Text = txtterm.Text + "DevX: Once you are on the desktop open the terminal, type \"help\" and then press enter for a guide on using ShiftOS" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 80:
txtterm.Text = txtterm.Text + "DevX: Gotta run now but I'll contact you soon to see how you are going with evolving ShiftOS for me while I... Work on something else" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 89:
txtterm.Text = txtterm.Text + "DevX: Remember to always click the black desktop first and then press press CTRL + T to open the terminal otherwise the terminal won't open!" + Environment.NewLine + "User@ShiftOS $> ";
- API.PlaySound(Properties.Resources.writesound);
+ //API.PlaySound(Properties.Resources.writesound);
break;
case 94:
- API.PlaySound(Properties.Resources.typesound);
+ //API.PlaySound(Properties.Resources.typesound);
txtterm.Text = "User@" + SaveSystem.Utilities.LoadedSave.osname + " $> ";
tmrfirstrun.Stop();
this.Close();
@@ -2949,5 +2949,10 @@ Password: z7fjsd3");
};
t.Start();
}
+
+ private void txtterm_TextChanged(object sender, EventArgs e)
+ {
+
+ }
}
}
diff --git a/source/WindowsFormsApplication1/Hacking/HijackScreen.cs b/source/WindowsFormsApplication1/Hacking/HijackScreen.cs
index e234514..02462ad 100644
--- a/source/WindowsFormsApplication1/Hacking/HijackScreen.cs
+++ b/source/WindowsFormsApplication1/Hacking/HijackScreen.cs
@@ -89,7 +89,7 @@ namespace ShiftOS
rtext = rtext + gtexttotype.Substring(currentletter, 1);
currentletter = currentletter + 1;
textgeninput.Text = rtext;
- API.PlaySound(Properties.Resources.typesound);
+ //API.PlaySound(Properties.Resources.typesound);
}
break;
}