From ingorian@FootPrints.net Thu Apr 2 15:53:28 1998 On Fri, 6 Feb 1998, Dennis Reichel wrote: > > 1653 /* set area */ > > 1654 mob->zone = pRoomIndex->area; > > I think you have referenced an uninitialized pointer with "mob", did you > not intend to use pMob? Thank you Dennis, When I changed the line to pMob instead of mob, not only did the mud stop crashing on startup, but also my mobs started wandering home again. I hesitate to call it a bug fix for the simple reason that I am no where close to the level of coding that Ivan is. But by the simple addition of pMob->zone = pRoomIndex->area; to db.c all of my mobs that used to wander home, have started to wander home again. The lines of code referenced above were removed during the patch of OLC and mobprograms into the code. With the addition of the pMob line to db.c the mobs have started to wander home again, just like they did in the stock code. Here is the general area of the code in db.c - /* set area */ - pMob->zone = pRoomIndex->area; /* * Some more hard coding. */ if ( room_is_dark( pRoom ) ) SET_BIT(pMob->affected_by, AFF_INFRARED); /* * Pet shop mobiles get ACT_PET set. */ { The two lines marked with - were removed during the patch to OLC and mob programs. My thanks to all of you who have taken the time to answer the questions of a newbie like me. Doug