After hunting around and testing various things I've determined that after a character goes link dead and their descriptor gets set to NULL, for some reason the ch->in_room for the char gets NULL'd out as well. I've tried some stuff and I've got it to the point that their pfile isn't getting wiped anymore, but the mud is still crashing. In this case in extract_char, because ch->in_room is NULL.
So, can anyone figure out why ch->in_room is getting NULL'd out? The "physical" character still exists in the game so why would it not be showing up as in a room? The last time I tested this, about 2 minutes ago, the test char was sitting in room vnum 100.
Thanks.
So, can anyone figure out why ch->in_room is getting NULL'd out? The "physical" character still exists in the game so why would it not be showing up as in a room? The last time I tested this, about 2 minutes ago, the test char was sitting in room vnum 100.
Thanks.