Re: how do i make level restricted rooms. (+Stock Bug?)

From: Raf (picard@INDIGO.IE)
Date: 04/29/98


> On Wed, 29 Apr 1998, Ryan Stucl wrote:
>
> >how do i make a room so only lvl 110 (IMPL) on my mud can get in>??
>
> help wizlock

Erm, I think he was referring to a particular room in the mud...
The solution to this is almost as easy as typing 'help wizlock' however :)
Take a look at the ROOM_GODROOM flag, and change the level it applies to.


Also, I believe I have found what I consider to be a stock bug.
The force command will not allow you to force mobiles above
your level. Maybe some people prefer this, but to me it's just a nuisance.
The fix is quite simple:

[ACMD(do_force), act.wizard.c, line 1517]

    if (!(vict = get_char_vis(ch, arg)))
      send_to_char(NOPERSON, ch);
-   else if (GET_LEVEL(ch) <= GET_LEVEL(vict))
+   else if (GET_LEVEL(ch) <= GET_LEVEL(vict) && !IS_NPC(vict))
      send_to_char("No, no, no!\r\n", ch);
    else {


Raf


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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