Re: [Circle] NEWBIE NEEDS HELP (BAD!)

From: Professor Hoopster (hoopy@notfoo.res.cmu.edu)
Date: 07/31/96


On Tue, 30 Jul 1996, Cyber Reaper wrote:
>      if (GET_POS(d->character) == 7)
>          sprintf(prompt, "%s%n ", prompt, GET_NAME(FIGHTING(d->character)));

You most probably DON'T want to have %n in your format string...try 
another %s. In fact, having a %n there will probably corrupt the name of 
the being that ch is fightin.
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST