Re: [CODE] [LONG] [NEW SCORE] [PROBLEM?]

From: Daniel Koepke (dkoepke@california.com)
Date: 02/18/97


On Tue, 18 Feb 1997, Ray Campbell wrote:

>   sprintf(buf,
> "%s-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r\n",buf);
>   sprintf(buf, "                         Your attributes:\r\n");

You're not sending out the previous buffer, and the "You attributes:" one
is overrighting everything. I suggest adding a:

  send_to_char(buf, ch);

Just before the "Your attributes" sprintf line (or you could change the
sprintf() itself to add on to the end of the buf).

>   sprintf(buf,
> "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\r\n");
> };

This one overrights everything before, that, too. And what's with the
semi-colon after the brace?


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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