public static async void StartObjective() { try { await Task.Delay(5000); WinXP app = wm.InitXP(Console, "Command Prompt", null, true, true); Console.WriteLine("telnet> 104.27.135.159 Connecting..."); await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> STOP!"); await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> DON'T OPEN INTERNET EXPLORER!"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> the whole web is infected with a virus"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and if you open internet explorer, your pc will get infected!"); await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> trust me"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> now i have a lot of things to tell you, so pay attention"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> the world is in chaos, and it all started back in 1999, right when you left"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> as you know, 12padams told me to let him know when you got to 2000"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and he believed that you would get there without any problems"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> but, as you saw, you ended up travelling to 2002 instead of 2000"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> 2000 came and went, and when you never showed up"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> 12padams refused to believe that his program failed"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> and so he thought that you did make it to 2000 and i was hiding you"); // TheHiddenHacker> we called out jason for being extremely stupid, then he went ballistic, await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> and he lost complete trust in me"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> later, in march 2001, 12padams made viruses to try to infect my pc"); await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> not only because he lost trust in me, but i also had the latest version of the time distorter"); await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> thankfully, i avoided those early viruses"); await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> but then, he released something dastardly"); await Task.Delay(5000); Console.WriteLine("TheHiddenHacker> a virus that infected every single website, and people who visited infected websites got their computers infected and rendered unusable"); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> now, its 2002. every website is infected, and 12padams has disappeared..."); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> the only use for the internet now is telnet, which is how im talking to you"); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> and since the internet is destroyed, we have to fix it by going back in time"); await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> now as i said before, i have the version 0.3 of the time distorter, which 12padams gave to me in 2000."); await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> and it only allows travel to 2000 or 2001."); await Task.Delay(3000); Console.WriteLine("TheHiddenHacker> this means we have 2 choices.."); await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> 1. we go to 2001 and try to stop 12padams from releasing the virus (kinda nervous bout this)"); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> or 2. you go to 2000 and pretend everything worked fine during time travel."); await Task.Delay(4500); Console.WriteLine("TheHiddenHacker> i cant go with you to 2000 because nothing would go wrong and it wouldnt make sense for me to be there"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> okay, ill go ahead and send the time distorter your way"); await Task.Delay(3000); Console.WriteLine("telnet> Transferring \"Time Distorter 0.3.exe\" from TheHiddenHacker."); await Task.Delay(1000); WinClassicDownloader opendownload = new WinClassicDownloader(); wm.InitXP(opendownload, "Downloader", null, false, true); opendownload.appName.Text = "Downloading: Time Distorter 0.3"; opendownload.amountToDL = 38; opendownload.BackColor = Color.OldLace; await Task.Delay(5000); Console.WriteLine("telnet> Transfer complete."); await Task.Delay(4000); Console.WriteLine("TheHiddenHacker> now open up the time distorter and make a choice, ill wait"); } catch (Exception e) { return; } }
public static async void StartObjective() { await Task.Delay(6000); Win95.Win95Apps.WinClassicTerminal Console = new Win95.Win95Apps.WinClassicTerminal(true); WinXP app = wm.InitXP(Console, "Command Prompt", null, true, true); Console.WriteLine("telnet> 104.27.135.159 Connecting..."); await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'."); await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> STOP!"); await Task.Delay(3500); Console.WriteLine("TheHiddenHacker> DON'T OPEN INTERNET EXPLORER!"); }
public WinXP InitXP(UserControl content, string title, Image icon, bool MaxButton, bool MinButton, bool ShowApplicationAsDialog = false, bool resize = true) { WinXP app = new WinXP(); app.Text = title; app.programname.Text = title; app.Width = content.Width + 8; app.Height = content.Height + 26; // Initialize Font pfc.AddFontFile(SaveSystem.GameDirectory + "\\Data\\LeviWindows.ttf"); Font fnt = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((0))); app.fnt = fnt; // Setup UC content.Parent = app.flowLayoutPanel1; content.BringToFront(); content.Dock = DockStyle.Fill; app.progContent = content; // Check if icon is null if (icon == null) { app.programIcon.Hide(); app.programIcon.Image = Properties.Resources.nullIcon; app.programname.Location = new Point(3, 6); } else { app.programIcon.Image = icon; } // Check if Max button is enabled and set proper X for Min button if (!MaxButton) { app.maximizebutton.Visible = false; app.minimizebutton.Location = new Point(app.closebutton.Location.X - 14, app.minimizebutton.Location.Y); } // Check if Min button is enabled if (!MinButton) { app.minimizebutton.Visible = false; app.minimizebutton.Location = new Point(app.minimizebutton.Location.X, app.minimizebutton.Location.Y); } //Resize app.resizable = resize; // Convert an image to an icon (for the taskbar) if (icon != null) { Bitmap theBitmap = new Bitmap(icon, new Size(icon.Width, icon.Height)); IntPtr Hicon = theBitmap.GetHicon(); // Get an Hicon for myBitmap. Icon newIcon = Icon.FromHandle(Hicon); // Create a new icon from the handle. app.Icon = newIcon; } // Set some values (for the taskbar) app.Tag = TaskBarController.AvalibleApplicationID; app.Text = title; // Show the app app.TopMost = true; if (!ShowApplicationAsDialog) { app.Show(); } else { app.ShowDialog(); } return(app); }