Beispiel #1
0
void 
do_delta(dbref player)
{
    if (Mage(player)) {
	anotify_nolisten2(player, CINFO "Dumping deltas...");
	delta_dump_now();
	anotify_nolisten2(player, CINFO "Done.");
    } else
	anotify_fmt(player, CFAIL "%s", tp_noperm_mesg);
}
Beispiel #2
0
void
prim_delta(PRIM_PROTOTYPE)
{
    /* ( -- ) */
    if (mlev < LARCH)
        abort_interp("Archwizard primitive.");
#ifdef DELTADUMPS
    delta_dump_now();
#else
    abort_interp("Support for Delta dumps is not compiled.");
#endif
}
Beispiel #3
0
void
do_delta(dbref player)
{
	if (Wizard(player)) {
#ifdef DELTADUMPS
		notify(player, "Dumping deltas...");
		delta_dump_now();
#else
		notify(player, "Sorry, this server was compiled without DELTADUMPS.");
#endif
	} else {
		notify(player, "Sorry, you are in a no dumping zone.");
	}
}