Hi All,
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".
I toiled and toiled and came up with this fix so
that it works (if anyone is interested):
[oasis.c] - around line 193 or so
/*
* Find the zone.
*/
if (subcmd != SCMD_OASIS_AEDIT) {
- OLC_ZNUM(d) = real_zone_by_thing(number);
+ if (save)
+ OLC_ZNUM(d) = real_zone(number);
+ else
+ OLC_ZNUM(d) = real_zone_by_thing(number);
+
if (OLC_ZNUM(d) == -1) {
When editing the mob/obj/whatever real_zone_by_thing
uses the number of whatever you wanted to edit (*edit
XXXX) to find the zone#. When attempting to save, you
input the zone# (*edit save zone#). real_zone_by_thing
does not handle this well. Now OLC_ZNUM can be set to
"number" for this to work as well, but to account for
none-the-wiser Builders I decided to let real_zone
determine what zone we want to save.
Hope this helps someone.
Regards,
Elvis Mohan
Systems Administrator
RBTT Bank Ltd.
http://www.rbtt.com/
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.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