Re: CODE FAQ: CHANGING IMPS AFTER ADDING LEVELS (was Re: Directions for Adding Levels - Big Spam!)

From: ShadowLord (dkoepke@california.com)
Date: 07/07/96


On Sat, 6 Jul 1996, Eric Soderquist wrote:

> >Q: I just added 20000 levels to my mud (from the stock 36).  How do I set up
> >   my imps back to lv 20000 without a pfile wipe?
> >
> >A: You write a quick and nasty function like:
> >   ACMD(do_upme) {
> >        GET_LEVEL(ch) = LVL_IMPL;
> >        send_to_char("You got it, Boss!", ch);
> >  }
> >  (assumption is you're smart enough to know when to enable it and
> >   disable it and how to add it as a command)
> 
> If you need to have this 'upme' command available while testing levels, etc
> (while you have morts on) and don't want to have to worry about one of them
> claiming an IMP position, just add a quick IDNUM check to the function,
> like this:

But you don't need it when you're testing levels, you just need to start
up the MUD, up yourself to implementor, shutdown the MUD, remove the upme
command, compile, restart the MUD.  Takes about a minute to do.  Having it
around afterwords is *worthless* and just asking for trouble.

	-dak



This archive was generated by hypermail 2b30 : 12/07/00 PST