[CODE] Fix for pl20 + Oasis-2.0.1 + DG7a

From: The Fungi (fungi@yuggoth.org)
Date: 06/17/02


On Mon, May 13, 2002 at 01:17:49PM -0700, Elvis Mohan wrote:
> I don't know if this was already addressed, but
> when I upgraded my Mud to bpl20 + oasis-2.0.1 + DG7a
> every time I attempted to do *edit save <zone#> I got
> "saving all <whatever> in zone 0".

When applying OasisOLC-2.0.1-bpl21.patch.gz to the current CVS
snapshot of Circle (2002050120) I ran into the same problem. My
solution was the following rather simple patch:

----- Begin Patch -----

diff -ru circlemud-3.0.cvs2002050120-oasis/src/oasis.c circlemud-3.0.cvs2002050120-oasis-debian/src/oasis.c
--- circlemud-3.0.cvs2002050120-oasis/src/oasis.c       Sun Jun 16 18:40:05 2002
+++ circlemud-3.0.cvs2002050120-oasis-debian/src/oasis.c        Sun Jun 16 18:45:28 2002
@@ -196,7 +196,7 @@

   if (save) {
     const char *type = NULL;
-
+    OLC_ZNUM(d) = real_zone(number);
     if (subcmd >= 0 && subcmd <= (int)(sizeof(olc_scmd_info) / sizeof(struct olc_scmd_info_t) - 1))
       type = olc_scmd_info[subcmd].text;
     else {

----- End Patch -----

Seems to be running fine for me. Anybody see something obvious this
will break?
--
{ IRL(Jeremy_Stanley); SMTP(fungi@yuggoth.org); ICQ(114362511);
WWW(http://fungi.yuggoth.org/); IRC(fungi@irc.yuggoth.org#ccl);
PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657); }

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