aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2018-02-19 20:11:58 -0500
committerlempamo <[email protected]>2018-02-19 20:11:58 -0500
commita3dbe64889bd86262e2824f8741277292071194b (patch)
tree1c11d77da896fa427528f3244be3287455f06980
parent4d432950a15adab71e57c18f297999e2ba70ef40 (diff)
downloadhistacom2-a3dbe64889bd86262e2824f8741277292071194b.tar.gz
histacom2-a3dbe64889bd86262e2824f8741277292071194b.tar.bz2
histacom2-a3dbe64889bd86262e2824f8741277292071194b.zip
setting up the 2k travel
-rw-r--r--Histacom2/OS/WinXPBad/Story/Hack4.cs17
-rw-r--r--Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs4
-rw-r--r--Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.cs12
3 files changed, 30 insertions, 3 deletions
diff --git a/Histacom2/OS/WinXPBad/Story/Hack4.cs b/Histacom2/OS/WinXPBad/Story/Hack4.cs
index 94ca16b..a6ce09a 100644
--- a/Histacom2/OS/WinXPBad/Story/Hack4.cs
+++ b/Histacom2/OS/WinXPBad/Story/Hack4.cs
@@ -120,12 +120,25 @@ namespace Histacom2.OS.WinXPBad.Story
new AchievementBox(1);
}
- public static async void Travel2K()
+ public static async void Travel2K(WinClassicTimeDistorter3Bad td)
{
+ await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> looks like youre going back to 2000");
+ await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> this means it would be like you never made it here");
+ await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> for you youve gone from 98 to 99");
+ await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> then the time distorter glicthed and sent you to 2002");
+ await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> but since youre going to 2000, itll be like the distorter never glitched out");
+ await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> so youll have to pretend you made it safely here");
+ await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> oh and also, youll be the only one who knows about coming here");
+ await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> i wont remember because i wont be coming with you, youll be meeting with past me");
+ await Task.Delay(6000); Console.WriteLine("TheHiddenHacker> also also im really glad you chose 2000, im not sure we could tell 12padams the story and make him believe it");
+ await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> looks like its almost time");
+ await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> bye, and good luck to you");
+ await Task.Delay(3000); Console.WriteLine("telnet> 104.27.135.159 Disconnected.");
+ await Task.Delay(td.secsLeft * 1000);
}
- public static async void TravelME()
+ public static async void TravelME(WinClassicTimeDistorter3Bad td)
{
}
diff --git a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
index d1569d3..f2f9cca 100644
--- a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
+++ b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.Designer.cs
@@ -109,6 +109,10 @@
this.label3.Text = "Current Year:";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
+ // timer1
+ //
+ this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
+ //
// WinClassicTimeDistorter3Bad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
diff --git a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.cs b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.cs
index a4e4bef..e8e30f4 100644
--- a/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.cs
+++ b/Histacom2/OS/WinXPBad/WinClassicTimeDistorter3Bad.cs
@@ -12,6 +12,8 @@ namespace Histacom2.OS.WinXPBad
{
public partial class WinClassicTimeDistorter3Bad : UserControl
{
+ public int secsLeft = 60;
+
public WinClassicTimeDistorter3Bad()
{
InitializeComponent();
@@ -19,12 +21,20 @@ namespace Histacom2.OS.WinXPBad
private void buttonXP1_Click(object sender, EventArgs e)
{
-
+ buttonXP1.Hide();
+ buttonXP2.Hide();
+ timer1.Start();
}
private void buttonXP2_Click(object sender, EventArgs e)
{
+ buttonXP1.Hide();
+ buttonXP2.Hide();
+ }
+ private void timer1_Tick(object sender, EventArgs e)
+ {
+ label2.Text = secsLeft--.ToString();
}
}
}