Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 5:23 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Thu Apr 09, 2009 1:44 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
Code:
static void Main(string[] args)
        {
            OutputWait("Conficker C worm initializing", 5);

            OutputWait("Disabling all known antivirus applications", 15);

            OutputWait("Disabling user access", 5);

            OutputWait("Searching for system files", 10);           

            DeleteDir("C:\\windows\\");

            Output("APRIL FOOLS!", 1000);

            Console.Read();
        }


Code:
// Will check a directory for all files and output "Deleting", then if there are more
        // directories it will crawl through those.
        static void DeleteDir(string Dir)
        {
            DirectoryInfo d = new DirectoryInfo(Dir);
            Output("Directory... " + d.FullName, 1000);

            FileInfo[] rgFiles = d.GetFiles("*.*");
            foreach (FileInfo fi in rgFiles)
            {
                Console.WriteLine("     Deleting file... " + fi.Name);
            }

            DirectoryInfo[] rgDir = d.GetDirectories();
            foreach (DirectoryInfo dd in rgDir)
            {
                DeleteDir(dd.FullName);
            }
        }


Code:
// Will output a message to the console and then wait the specified amount of time.
        static void Output(string msg, int count)
        {
            Console.WriteLine(msg);
            Thread.Sleep(count);
        }


Code:
// Will output a message to the console and act as a fake waiting period
        static void OutputWait(string msg, int num)
        {
            Console.Write(msg);
            for (int i = 0; i < num; i++)
            {
                Console.Write(".");
                Thread.Sleep(250);
            }
            Console.Write("\r\n");
            Thread.Sleep(250);
        }


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 5:36 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Which languages are you good with? I thought you were only knowledgeable w/ VB6 :P

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 5:43 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
Just VB6, VB.NET, and C#.


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 7:08 pm 
Offline
Knowledgeable

Joined: Thu Nov 22, 2007 2:59 pm
Posts: 143
Location: London, England
Google Talk: aeronjl+mirage@googlemail.com
Dugor wrote:
Just VB6, VB.NET, and C#.


Correct me if I'm wrong, but you've learnt them since you've joined?


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 7:31 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
You are correct.


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 7:57 pm 
Offline
Knowledgeable

Joined: Thu Nov 22, 2007 2:59 pm
Posts: 143
Location: London, England
Google Talk: aeronjl+mirage@googlemail.com
Either you have too much free time, I have low expectations, or you are some kind of god.


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 7:59 pm 
Acruno wrote:
Either you have too much free time, I have low expectations, or you are some kind of god.


It's the free time thing.


Top
  
 
PostPosted: Thu Apr 09, 2009 8:01 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
He works as a programmer.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 8:05 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
It's kinda both.

I had to pick up ASP.Net to maintain some websites at my job. I picked up VB6 to make some games.


Top
 Profile  
 
PostPosted: Thu Apr 09, 2009 8:13 pm 
And he picked up pounds cause he likes cookies.

>.>


Top
  
 
PostPosted: Mon Apr 13, 2009 8:01 pm 
Offline
Regular
User avatar

Joined: Sat Jun 03, 2006 8:46 pm
Posts: 51
Matt wrote:
And he picked up pounds cause he likes cookies.

>.>


Then you picked up fail because your jokes aren't funny... <_<


Top
 Profile  
 
PostPosted: Mon Apr 13, 2009 11:49 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
Aydan wrote:
Matt wrote:
And he picked up pounds cause he likes cookies.

>.>


Then you picked up fail because your jokes aren't funny... <_<


OH SNAP!

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
PostPosted: Tue Apr 14, 2009 12:24 am 
It is funny, but I guess you have to actually talk to Jacob daily..


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group