Re: Aedit "features"...part 1

From: Del (caminturn@earthlink.net)
Date: 04/28/00


Not sure if this would cause it, being late and found it in a different
order than mine
I would probably look or send some test messages to the mud as it goes
through this
code to see how far it gets. (like send the zone_number or send the
arg's)
Hope this helps

         if (subcmd != SCMD_OASIS_AEDIT)   {
             if ((OLC_ZNUM(d) = real_zone(number)) == -1)   {
                 send_to_char("Sorry, there is no zone for that
number!\r\n", ch);
                 free(d->olc);
                 d->olc = NULL;
                 return;
             }

         /*
         * Everyone but IMPLs can only edit zones they have been
assigned.
         */
         if ((GET_LEVEL(ch) < LVL_IMPL) &&
(zone_table[OLC_ZNUM(d)].number != GET_OLC_ZONE(ch))) {
             send_to_char("You do not have permission to edit this
zone.\r\n", ch);
             free(d->olc);
             return;
           }
         }
         else if ((!(GET_LEVEL(ch) < LVL_IMPL)) &&
(!ch->player_specials->saved.olc_zone == AEDIT_PERMISSION)) {
             send_to_char("You do not have permission to edit
actions.\r\n", ch);
             free(d->olc);
             return;
         }


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT