[CODE] ^M's in player desc

From: ironfist (ironfist@texas.net)
Date: 12/04/01


I have a problem with a bpl11 mud that inserts ^M^M^M^M^M^M^ into the
player
description every so often.  The characters then crash the mud when they
enter the game
or if someone uses the last command. (There seems to be a corrupt
character a couple
times a week).

(the mud uses ascii pfiles)

from db.c ---->
if(ch->player.description)
      fprintf(outfile, "Desc:\n%s~\n", ch->player.description);

......

case 'D':
   TAG("Desc") {
      dest_char->player.description = fread_string(fl, "FAULT loading
description");

Does anyone have any advice on this?
(I even tried the prune_ctrlf function when writing to the file but that
didnt seem to work).

Thanks,

R.M.
ironfist@texas.net

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/24/03 PDT