crash a mud

Posted by Typhon on Thu 22 Apr 2004 02:54 AM — 10 posts, 38,113 views.

USA #0
how would i go about making a command that crashes the mud. i read the gdb file and i know i can comment out code but i want to make a seperate function for it so i can test stuff.
tanks
-typ
USA #1
void do_crash( CHAR_DATA *ch, char *argument )
{
CHAR_DATA *victim = NULL;

ch_printf( ch, "CRASH ME %s!", victim->name );
}


Simple, quick, dirty, guarateed to crash every time :)
USA #2
ROFL thanks :p
#3
Plz do me a favor and tell me where to enter that
USA #4
Er? Anywhere in the code. For example, act_info.c

I really hope you don't think that is used to crash a MUD that isn't yours.
#5
Appearntly someone posted this on DBSOS gboards. I smell something fishy... >_>
Amended on Sat 14 May 2005 04:31 AM by USER007
USA #6
Lol, you mean someone actually tried to get that to crash a game by posting it to the message board? :)
Australia #7
Wonders never cease, HeH.
USA #8
That is a new low. Some people aren't very bright
#9
Lmao...

That's just so stupid....

But uh yeah, just try to read or write a null pointer and you'll crash :)

I seem to do it often :P