diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-01 22:17:57 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-01 22:17:57 +0100 |
| commit | da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b (patch) | |
| tree | c980ac4786a2528a9d98290f099c8a388dbfad9a /TimeHACK.Main/OS/Win95/Win95Apps | |
| parent | 971683c5f7116d754d209a9debac8e0a214889dc (diff) | |
| download | histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.gz histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.tar.bz2 histacom2-da6e7a7e8b3d8944d9139d4e2bb3ecfa2122840b.zip | |
Moar stuff
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs index 38962fe..4c76a77 100644 --- a/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs +++ b/TimeHACK.Main/OS/Win95/Win95Apps/Story/Hack1.cs @@ -9,12 +9,12 @@ using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using TimeHACK.Engine; +using TimeHACK.Engine.Template; namespace TimeHACK.OS.Win95.Win95Apps.Story { static class Hack1 : Object { - static WinClassicTerminal Console = new WinClassicTerminal(); static WindowManager wm = new WindowManager(); static Boolean ended = false; static Thread soundThread = new Thread(dialup_sound_play); @@ -25,7 +25,9 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story { System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer(); - wm.startWin95(Console, "MS-DOS Prompt", null, true, true); + WinClassicTerminal Console = new WinClassicTerminal(); + WinClassic app = wm.startWin95(Console, "MS-DOS Prompt", null, true, true); + Console.WriteLine("telnet> 104.27.135.159 Connecting..."); tmr.Interval = 1; @@ -33,7 +35,11 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story if (devMode == true) { - continueObjective(); + Thread contObjective = new Thread(continueObjective); + + app.Close(); + + contObjective.Start(); } else { @@ -44,6 +50,11 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story public static void continueObjective() { + WinClassicTerminal Console = new WinClassicTerminal(); + wm.startWin95(Console, "MS-DOS Prompt", null, true, true); + + Application.DoEvents(); + Console.WriteLine("\ntelnet> 104.27.135.159 Connected."); Thread.Sleep(2500); Console.WriteLine("\ntelnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); @@ -65,6 +76,12 @@ namespace TimeHACK.OS.Win95.Win95Apps.Story Console.WriteLine("\nTheHiddenHacker> The hostname is 172.68.119.42, and the username is most likely 12padams. I'm not too sure what the password is, however."); Thread.Sleep(3500); Console.WriteLine("\nTheHiddenHacker> You'll need to figure out where you can get the password. Try looking for any odd text on the website."); + Thread.Sleep(1000); + Console.WriteLine("\nTheHiddenHacker> I don't have much time to talk - I'd quickly copy down those details into Notepad before this Terminal gets closed."); + + Application.DoEvents(); + + Thread.Sleep(36000); } public static void CheckIfSoundFinished(Object sender, EventArgs e) |
