more hack4 stuff

This commit is contained in:
lempamo 2017-10-26 00:03:57 -04:00
parent 3f1435fb70
commit e99433e193
6 changed files with 27 additions and 4 deletions

View file

@ -20,7 +20,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>

View file

@ -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); e.Graphics.DrawLine(new Pen(foreColor), 4, height / 2, width - 4, height / 2);
} }
/// <summary>
/// Get a color lighter than the input color.
/// </summary>
/// <param name="basecolor">The color to lighten.</param>
/// <returns></returns>
public static Color GetLightFromColor(Color basecolor) public static Color GetLightFromColor(Color basecolor)
{ {
if (basecolor == Color.Silver) return Color.White; if (basecolor == Color.Silver) return Color.White;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -94,7 +94,7 @@ public void NotifyDefault(bool value)
public void PerformClick() public void PerformClick()
{ {
this.OnClick(new EventArgs()); OnClick(EventArgs.Empty);
} }
} }
} }

View file

@ -112,7 +112,7 @@ public WinXP InitXP(UserControl content, string title, Image icon, bool MaxButto
{ {
app.programIcon.Hide(); app.programIcon.Hide();
app.programIcon.Image = Properties.Resources.nullIcon; app.programIcon.Image = Properties.Resources.nullIcon;
app.programname.Location = new Point(6, 6); app.programname.Location = new Point(3, 6);
} }
else app.programIcon.Image = icon; else app.programIcon.Image = icon;

View file

@ -22,7 +22,25 @@ public static async void StartObjective()
await Task.Delay(2500); Console.WriteLine("telnet> 104.27.135.159 Connected."); 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("telnet> 104.27.135.159 set hostname to 'TheHiddenHacker'.");
await Task.Delay(2500); Console.WriteLine("TheHiddenHacker> STOP!"); 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...");
} }
} }
} }