On Thu, 7 May 1998, Mark Gerritsen wrote:
> Hello,
>
> I noticed a weird little thing about OasisOLC...
> When making new rooms, they don't always seem to end up in the right zone.
> Either they show as being in zone 0, or they are "shifted down" one zone
> (like room 3000 will be in zone 20) The rooms -do- go to the right files,
> though, and after a reboot they -are- in the right zones (of course)
> Anyone have any idea what's going on here?
When the room is created it's "left" in zone 0.
In redit_save_internally, you'll probably find this:
new_world[i] = *(OLC_ROOM(d));
new_world[i].number = OLC_NUM(d);
new_world[i].func = NULL;
Change it to:
new_world[i] = *(OLC_ROOM(d));
new_world[i].number = OLC_NUM(d);
new_world[i].zone = OLC_ZNUM(d);
new_world[i].func = NULL;
There will be _two_ occurances of this in redit_save_internally. You'll
need to change both. That is what I did, and it worked just fine. :)
My Oasis is based off of 1.3, so I don't know if this is a problem with
1.6a (the latest?) or not.
John Evans <evansj@hi-line.net> -- http://www.hi-line.net/~evansj/
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST