> When you create a new room and do not save it, and then goto that room the
> server crashes.
yeah, i found that one..it was easy to fix..and its not really a bug in
the patch since i didn't include the olc stuff in it ;)
i change
reload_room_descs(sh_int room_nr)
to
reload_room_descs(int real_zone)
and changed the top of reload_room_descs to look like this:
void reload_room_descs(int real_zone)
{
FILE *db_file;
int nr = -1, last = 0;
char line[256];
log_info("Reloading room descs for zone %d.", zone_table[real_zone].number);
sprintf(buf1, "%d.wld", zone_table[real_zone].number);
zone_table[real_zone].unloaded = FALSE;
zone_table[real_zone].age = 0;
sprintf(buf2, "%s/%s", WLD_PREFIX, buf1);
if (!(db_file = fopen(buf2, "r"))) {
then i change the call in act.informative.c to look like:
if (zone_table[world[room].zone].unloaded)
reload_room_descs(world[room].zone);
finally in redit.c change the call in redit_setup_existing to look like:
if (zone_table[OLC_ZNUM(d)].unloaded)
reload_room_descs(OLC_ZNUM(d));
and add the same call to redit_setup_new
siv
+------------------------------------------------------------+
| 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