Re: Use Less RAM!

From: Michael J. Fara (mulder@CLOUD9.NET)
Date: 02/20/98


OK on my version of Oasis it does not look like that and i tried applying
what you gave me it doesn't work. Here is what it looks like in my version:

  *room = world[real_num];
  /*
   * Allocate space for all strings.
   */
  room->name = str_dup(world[real_num].name ? world[real_num].name :
"undefined");
  room->description = str_dup(world[real_num].description ?
                        world[real_num].description : "undefined\r\n");

At 03:28 PM 2/20/98 -0500, ;P wrote:
>
>for oasis..i have a two line check in redit_setup_existing..
>
>  *room = world[real_num];
>  /* allocate space for all strings  */
>  if (world[real_num].name)
>    room->name = str_dup(world[real_num].name);
>+  if (zone_table[world[real_num].zone].unloaded)
>+    reload_room_descs(real_num);
>  if (world[real_num].description)
>    room->description = str_dup(world[real_num].description);
>
>
>siv
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>     +------------------------------------------------------------+
>


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