Shops are not Loading

From: Stephen Squires (gicker42@hotmail.com)
Date: 01/29/02


I've gone through all the sedit posts and made the changes
suggested by them.  The shops save fine, no crashes.  However
the mud will not reboot, saying Shop error with zone X.

Here's my shop code

/*
      sprintascii(buf1, S_BITVECTOR(shop));
      sprintascii(buf2, S_NOTRADE(shop));
*/
      /*
       * Save messages'n'stuff.
       * Added some small'n'silly defaults as sanity checks.
       */
      fprintf(shop_file,
              "%s~\n%s~\n%s~\n%s~\n%s~\n%s~\n%s~\n"
              "%d\n%s\n%d\n%s\n",
              S_NOITEM1(shop) ? S_NOITEM1(shop) : "%s Ke?!",
              S_NOITEM2(shop) ? S_NOITEM2(shop) : "%s Ke?!",
              S_NOBUY(shop) ? S_NOBUY(shop) : "%s Ke?!",
              S_NOCASH1(shop) ? S_NOCASH1(shop) : "%s Ke?!",
              S_NOCASH2(shop) ? S_NOCASH2(shop) : "%s Ke?!",
              S_BUY(shop) ? S_BUY(shop) : "%s Ke?! %d?",
              S_SELL(shop) ? S_SELL(shop) : "%s Ke?! %d?",
              S_BROKE_TEMPER(shop),
              S_BITVECTOR(shop),
              mob_index[S_KEEPER(shop)].vnum,
              S_NOTRADE(shop)
              );

I'd appreciate any help on the matter,

Steve Squires


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--
   +---------------------------------------------------------------+
   | 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