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
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 :)
Plz do me a favor and tell me where to enter that
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.
Appearntly someone posted this on DBSOS gboards. I smell something fishy... >_>
Amended on Sat 14 May 2005 04:31 AM by USER007
Lol, you mean someone actually tried to get that to crash a game by posting it to the message board? :)
Wonders never cease, HeH.
That is a new low. Some people aren't very bright
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