Re: {code} Zedit problems

From: Carlton Colter (carlton@COLTER.COM)
Date: 10/06/02


What is the message you get back when it doesn't work?

In your do_oasis in oasis.c what does it look like??
You know under
  /*
   * Steal player's descriptor and start up subcommands.
   */
  switch (subcmd) {

mine looks like this:

  case SCMD_OASIS_ZEDIT:
    if ((real_num = real_room(number)) != NOWHERE) {
      zedit_setup(d, real_num);
      STATE(d) = CON_ZEDIT;
    } else {
      send_to_char(ch, "That room(vnum: %d - rnum: %d) does not exist.\r\n"
                       "Use ZEDIT NEW to create a new zone.\r\n", number,
                       real_room(number));
      free(d->olc);
      d->olc = NULL;
      return;
    }
    break;

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT