From e99433e1932c780c6b369ed656c26a11da41fe73 Mon Sep 17 00:00:00 2001 From: lempamo Date: Thu, 26 Oct 2017 00:03:57 -0400 Subject: [PATCH] more hack4 stuff --- Histacom2.Engine/Histacom2.Engine.csproj | 2 +- Histacom2.Engine/Paintbrush.cs | 5 +++++ .../Resources/WinXP/Window/WinXP_TopBar.png | Bin 241 -> 1452 bytes Histacom2.Engine/UI/ClassicButton.cs | 2 +- Histacom2.Engine/WindowManager.cs | 2 +- Histacom2/OS/WinXPBad/Story/Hack4.cs | 20 +++++++++++++++++- 6 files changed, 27 insertions(+), 4 deletions(-) diff --git a/Histacom2.Engine/Histacom2.Engine.csproj b/Histacom2.Engine/Histacom2.Engine.csproj index 6abc85d..6f852ed 100644 --- a/Histacom2.Engine/Histacom2.Engine.csproj +++ b/Histacom2.Engine/Histacom2.Engine.csproj @@ -20,7 +20,7 @@ DEBUG;TRACE prompt 4 - x86 + AnyCPU pdbonly diff --git a/Histacom2.Engine/Paintbrush.cs b/Histacom2.Engine/Paintbrush.cs index cab493a..923d836 100644 --- a/Histacom2.Engine/Paintbrush.cs +++ b/Histacom2.Engine/Paintbrush.cs @@ -46,6 +46,11 @@ public static void ExtendedToolStripSeparator_Paint(object sender, PaintEventArg e.Graphics.DrawLine(new Pen(foreColor), 4, height / 2, width - 4, height / 2); } + /// + /// Get a color lighter than the input color. + /// + /// The color to lighten. + /// public static Color GetLightFromColor(Color basecolor) { if (basecolor == Color.Silver) return Color.White; diff --git a/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png b/Histacom2.Engine/Resources/WinXP/Window/WinXP_TopBar.png index b2516732ccb6d99d333d2294a971c41cd83a9fcf..4ed8242127ff4127a946bf9e308dc1436c5cbbe1 100644 GIT binary patch delta 1418 zcmV;51$FxI0jvuliBL{Q4GJ0x0000DNk~Le0000s0000T2nGNE0O2m5D3KvGe;IT| zSaefwW^{L9a%BK;VQFr3E^cLXAT%y8E-^MlX|MGF00kULL_t(oN4=QKYh6_oht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zWW3&m_p~e8yWKsiT6;iAS+tvPphX@Irsd z29B16AqrglIzPBt5=1UUDI|6LJ0kFLW~1UOZ4N_~KP-yJL=?WZH)_6?cYYNwz?!r$ xNP$y 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!"); + 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"); + 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..."); } } }