Tutorial

by Unknown

Back to Mechanic's Corner.

Unknown2005-02-22 08:40:57
Enter this into your command line in zMUD:

CODE
#LOOP 1000000 {#LAUNCH "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE"}

This may not work on all systems. Just specify the directory to any program, really. wink.gif

If you want a quick reference for it anything, enter this:

CODE
#ALIAS {crash} {#LOOP 1000000 {#LAUNCH "C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE"}}


The save your settings. Anytime you feel like crashing your PC, just type "crash". Simple! wink.gif

Please reply to this thread for any bugs/ideas/suggestions etc.

Disclaimer: The author is not responsible in any way for any harm or damage which may be caused to the user's computer. They must use this at their own risk.

Good luck!
Drago2005-02-22 08:52:41
Phht, that doesn't crash the pc, it just lags it.. for a long time.

Try this: FLICK POWERSWITCH
Unknown2005-02-22 08:55:05
Well, a million IEs open would lag it a little...
Drago2005-02-22 08:58:29
Yeah, but it wouldn't crash unless its some piddly P3.
Unknown2005-02-22 09:02:17
How do you find out what P you have?
Drago2005-02-22 09:09:45
Look at your processor.. If you bought a new computer any time in the past.. 2 years? It wont be a P3, it'll be better.

Doesn't zmud have some sort of "Hmm, I shouldn't do that" for big loops?
Annelia2005-02-22 09:31:46
Go to run (Windows+R), put in dxdiag. Lots of information about your computer.
If that doesn't work. Control panel then to system.

Anything other than windows i dunno
celahir2005-02-22 13:04:11
Heres a much better way to crash your computer, but with C++.

Type make this program and run it to mess your RAM.

CODE

#include

void madfunction(void)
{
int * wildpointer;
wildpointer=rand(100);
$wildpointer=0;
}

int main ()
{
 cout << "Goodbye RAM";
 for (;; )
{
   madfunction();
}
}


could be slightly wrong but Enjoy tongue.gif
Any dont forget use responsibly.


Edit : Changed the code to prevent a compile error.
celahir2005-02-22 13:07:48
Just so you guys know i condone all actions of using this program but its so simple any C++ programmer knows this so theres no point hiding it. Seriously though it could destroy your computer.
Unknown2005-02-22 13:45:21
Even on my dual P4 3.2GHz with 2GB RAM, I wouldn't want 1,000,000 copies of IE running. Besides, I use Firefox now. tongue.gif
Buho2005-02-22 14:22:07
QUOTE(celahir @ Feb 22 2005, 10:07 PM)
Just so you guys know i condone all actions of using this program but its so simple any C++ programmer knows this so theres no point hiding it. Seriously though it could destroy your computer.
57115



Thats just wrong....for more fun one should make 2 random pointers, and copy the data it points to to the other. Ofcourse you'll probably never get the computer to function correctly again...but hey. ninja.gif
Unknown2005-02-22 14:23:41
I blew up my amber screen monitor years ago by poking random values into video memory. laugh.gif
Alger2005-02-23 02:26:53
Spooner-A!
Morik2005-02-23 02:43:47
QUOTE(Buho @ Feb 22 2005, 10:22 PM)
Thats just wrong....for more fun one should make 2 random pointers, and copy the data it points to to the other.  Ofcourse you'll probably never get the computer to function correctly again...but hey. ninja.gif
57142



*laugh*

morik@mierda:~$ ./crash
Segmentation fault
morik@mierda:~$

.. or something like that. Yay.

But, if you replaced that with:

main()
{
int fd;
char buf;

fd = open("/dev/hda", "w+");
buf = '\\0';
while (1) { buf = random(); lseek(fd, some random, SEEK_SET); write(fd, buf, 1); }
}

.. which isn't complete, obviously, but I don't want people to try it on their *nix machines. *Swoon*, I remember typing in something like this when I was but a naive linux user..
celahir2005-02-23 09:51:43
Heh Imagine sending one of these to random people man, the havoc..

How does one make a program start its self when the computer is turned on?

It would be very handy for me to know evil.gif
Unknown2005-02-23 11:03:39
depends on the operating system.
celahir2005-02-24 13:13:43
windows xp since thats the most modern
Unknown2005-02-26 23:54:46
Whoever said opening 100,000 explorers wouldn't crash your PC is a bit wrong. It shouldn't, in theory, but if a program gets confused, as often happens, an explorerwill lock up, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one, and the next one until your PC just fries. This is a PC, *cracks egg, but egg in frying pan*, this is your PC on crac... I mean opening 100,000 programs at once. This is like when somebody said a busy desktop won't slow your computer down, it can slow down time from minimizing things, it happened to me earlier today. A sibling made a very vibrant, day-glow MS Paint background with thousands of colors, made for a very long minimizing process.
And yes to my knowledge Zugg did put in something to catch loops that go over a certain period of time. I've managed to hit a lag pocket and do it off just holding return. Generally a window pops up with some message about how he can't do it. Or wont.
Acrune2005-03-10 23:21:44
Ah, the joys of programming. Once I was programming in C++, ran it, computer crashed, and the program managed to delete itself (the compiler saves before running, but nothing was there any more) Oops. doh.gif

What was also fun was setting a gmud reflex to look for "*********" to signify getting out of the arena, forgetting that * is a wildcard. So as soon as something happened, I got oodles of "You have no ------- in your inventory" for every herb, which in turn set off the trigger more. jawdrop.gif Ate up most of the RAM in my already pretty lame computer, hehehehe